{
  "name": "@openclaw/diffs",
  "version": "2026.5.28",
  "description": "OpenClaw read-only diff viewer plugin and file renderer for agents.",
  "repository": {
    "type": "git",
    "url": "https://github.com/openclaw/openclaw"
  },
  "type": "module",
  "dependencies": {
    "@pierre/diffs": "1.2.3",
    "@pierre/theme": "1.0.3",
    "@shikijs/langs": "4.1.0",
    "playwright-core": "1.60.0",
    "typebox": "1.1.38",
    "zod": "4.4.3"
  },
  "devDependencies": {
    "@openclaw/plugin-sdk": "workspace:*"
  },
  "openclaw": {
    "extensions": [
      "./index.ts"
    ],
    "install": {
      "npmSpec": "@openclaw/diffs",
      "localPath": "extensions/diffs",
      "defaultChoice": "npm",
      "minHostVersion": ">=2026.4.30"
    },
    "compat": {
      "pluginApi": ">=2026.5.28"
    },
    "assetScripts": {
      "build": "node ../../scripts/build-diffs-viewer-runtime.mjs curated"
    },
    "build": {
      "openclawVersion": "2026.5.28",
      "staticAssets": [
        {
          "source": "./assets/viewer-runtime.js",
          "output": "assets/viewer-runtime.js"
        }
      ]
    },
    "release": {
      "publishToClawHub": true,
      "publishToNpm": true
    },
    "runtimeExtensions": [
      "./dist/index.js"
    ]
  },
  "files": [
    "dist/**",
    "openclaw.plugin.json",
    "npm-shrinkwrap.json",
    "README.md",
    "skills/**"
  ],
  "peerDependencies": {
    "openclaw": ">=2026.5.28"
  },
  "peerDependenciesMeta": {
    "openclaw": {
      "optional": true
    }
  }
}
