200-version bump from 2026.325.0 → 2026.525.0 (matches host).
**Why now**: host is already on 2026.525.0; staying on 325 was unnecessary
technical debt. Production logs showed real bugs ("missing, expired,
or unknown invocation scope") that newer SDK versions are known to
have fixed.
**Compatibility**:
- TS build clean with zero changes to worker.ts or legal-api.ts.
- apiVersion: 1 still the schema (no v2 yet).
- Plugin activated successfully — 8 tools + 3 jobs + 1 webhook + 2 event
subs all registered, worker reports "Legal AI plugin ready".
**Manifest gaps fixed**: added 3 capabilities that the worker actually
uses (one of them was the root cause of repeated host-side errors):
* `agents.invoke` — required by `ctx.agents.invoke()` calls (CEO wakeup
from event handlers + comment routing). Previously the plugin was
invoking agents without the declared capability, raising
"missing scope" errors on every issue.created event.
* `issue.comments.read` — required by `ctx.issues.listComments()`
calls in the comment routing path.
* `issue.interactions.create` — forward-looking capability for the
AskUserQuestion-like flows the SDK exposes via `createInteraction`.
**Backup**: full 5-layer snapshot at /tmp/plugin-legal-ai-backup-*.tar.gz
+ tag `pre-sdk-upgrade-2026-05-26` (pushed). Rollback: `git reset --hard
pre-sdk-upgrade-2026-05-26 && npm ci && npm run build && reinstall`.
Closes TaskMaster #26.
254 lines
7.9 KiB
JSON
254 lines
7.9 KiB
JSON
{
|
|
"name": "@marcusgroup/plugin-legal-ai",
|
|
"version": "0.1.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "@marcusgroup/plugin-legal-ai",
|
|
"version": "0.1.0",
|
|
"dependencies": {
|
|
"@paperclipai/plugin-sdk": "^2026.525.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.11",
|
|
"@types/node": "^25.5.0",
|
|
"typescript": "^6.0.2"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/biome": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/biome/-/biome-2.4.11.tgz",
|
|
"integrity": "sha512-nWxHX8tf3Opb/qRgZpBbsTOqOodkbrkJ7S+JxJAruxOReaDPPmPuLBAGQ8vigyUgo0QBB+oQltNEAvalLcjggA==",
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"bin": {
|
|
"biome": "bin/biome"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
},
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/biome"
|
|
},
|
|
"optionalDependencies": {
|
|
"@biomejs/cli-darwin-arm64": "2.4.11",
|
|
"@biomejs/cli-darwin-x64": "2.4.11",
|
|
"@biomejs/cli-linux-arm64": "2.4.11",
|
|
"@biomejs/cli-linux-arm64-musl": "2.4.11",
|
|
"@biomejs/cli-linux-x64": "2.4.11",
|
|
"@biomejs/cli-linux-x64-musl": "2.4.11",
|
|
"@biomejs/cli-win32-arm64": "2.4.11",
|
|
"@biomejs/cli-win32-x64": "2.4.11"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-darwin-arm64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-arm64/-/cli-darwin-arm64-2.4.11.tgz",
|
|
"integrity": "sha512-wOt+ed+L2dgZanWyL6i29qlXMc088N11optzpo10peayObBaAshbTcxKUchzEMp9QSY8rh5h6VfAFE3WTS1rqg==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-darwin-x64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-darwin-x64/-/cli-darwin-x64-2.4.11.tgz",
|
|
"integrity": "sha512-gZ6zR8XmZlExfi/Pz/PffmdpWOQ8Qhy7oBztgkR8/ylSRyLwfRPSadmiVCV8WQ8PoJ2MWUy2fgID9zmtgUUJmw==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-linux-arm64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64/-/cli-linux-arm64-2.4.11.tgz",
|
|
"integrity": "sha512-avdJaEElXrKceK0va9FkJ4P5ci3N01TGkc6ni3P8l3BElqbOz42Wg2IyX3gbh0ZLEd4HVKEIrmuVu/AMuSeFFA==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-linux-arm64-musl": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-arm64-musl/-/cli-linux-arm64-musl-2.4.11.tgz",
|
|
"integrity": "sha512-+Sbo1OAmlegtdwqFE8iOxFIWLh1B3OEgsuZfBpyyN/kWuqZ8dx9ZEes6zVnDMo+zRHF2wLynRVhoQmV7ohxl2Q==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-linux-x64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64/-/cli-linux-x64-2.4.11.tgz",
|
|
"integrity": "sha512-TagWV0iomp5LnEnxWFg4nQO+e52Fow349vaX0Q/PIcX6Zhk4GGBgp3qqZ8PVkpC+cuehRctMf3+6+FgQ8jCEFQ==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-linux-x64-musl": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-linux-x64-musl/-/cli-linux-x64-musl-2.4.11.tgz",
|
|
"integrity": "sha512-bexd2IklK7ZgPhrz6jXzpIL6dEAH9MlJU1xGTrypx+FICxrXUp4CqtwfiuoDKse+UlgAlWtzML3jrMqeEAHEhA==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-win32-arm64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-arm64/-/cli-win32-arm64-2.4.11.tgz",
|
|
"integrity": "sha512-RJhaTnY8byzxDt4bDVb7AFPHkPcjOPK3xBip4ZRTrN3TEfyhjLRm3r3mqknqydgVTB74XG8l4jMLwEACEeihVg==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"win32"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@biomejs/cli-win32-x64": {
|
|
"version": "2.4.11",
|
|
"resolved": "https://registry.npmjs.org/@biomejs/cli-win32-x64/-/cli-win32-x64-2.4.11.tgz",
|
|
"integrity": "sha512-A8D3JM/00C2KQgUV3oj8Ba15EHEYwebAGCy5Sf9GAjr5Y3+kJIYOiESoqRDeuRZueuMdCsbLZIUqmPhpYXJE9A==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"dev": true,
|
|
"license": "MIT OR Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"win32"
|
|
],
|
|
"engines": {
|
|
"node": ">=14.21.3"
|
|
}
|
|
},
|
|
"node_modules/@paperclipai/plugin-sdk": {
|
|
"version": "2026.525.0",
|
|
"resolved": "https://registry.npmjs.org/@paperclipai/plugin-sdk/-/plugin-sdk-2026.525.0.tgz",
|
|
"integrity": "sha512-7ivXbFSwH7cS+/2WNbPwQve5vVtLnqgxX5lmqTKn+i3fOY03d5KHaYF2bbI5zeTkAAwwEJ0Nz3rfBWNPguRRUw==",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"@paperclipai/shared": "2026.525.0",
|
|
"zod": "^3.24.2"
|
|
},
|
|
"bin": {
|
|
"paperclip-plugin-dev-server": "dist/dev-cli.js"
|
|
},
|
|
"peerDependencies": {
|
|
"react": ">=18"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"react": {
|
|
"optional": true
|
|
}
|
|
}
|
|
},
|
|
"node_modules/@paperclipai/shared": {
|
|
"version": "2026.525.0",
|
|
"resolved": "https://registry.npmjs.org/@paperclipai/shared/-/shared-2026.525.0.tgz",
|
|
"integrity": "sha512-fbVrEx96oxkxXbRBFDLAgW5Z0lRC7Ii+BeCNhKqKRCg9m2IwtP97CGoOeAROdRrvRpP8Neb3vgaaDbDjXT74lQ==",
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"zod": "^3.24.2"
|
|
}
|
|
},
|
|
"node_modules/@types/node": {
|
|
"version": "25.5.0",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.5.0.tgz",
|
|
"integrity": "sha512-jp2P3tQMSxWugkCUKLRPVUpGaL5MVFwF8RDuSRztfwgN1wmqJeMSbKlnEtQqU8UrhTmzEmZdu2I6v2dpp7XIxw==",
|
|
"dev": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"undici-types": "~7.18.0"
|
|
}
|
|
},
|
|
"node_modules/typescript": {
|
|
"version": "6.0.2",
|
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.2.tgz",
|
|
"integrity": "sha512-bGdAIrZ0wiGDo5l8c++HWtbaNCWTS4UTv7RaTH/ThVIgjkveJt83m74bBHMJkuCbslY8ixgLBVZJIOiQlQTjfQ==",
|
|
"dev": true,
|
|
"license": "Apache-2.0",
|
|
"bin": {
|
|
"tsc": "bin/tsc",
|
|
"tsserver": "bin/tsserver"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.17"
|
|
}
|
|
},
|
|
"node_modules/undici-types": {
|
|
"version": "7.18.2",
|
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.18.2.tgz",
|
|
"integrity": "sha512-AsuCzffGHJybSaRrmr5eHr81mwJU3kjw6M+uprWvCXiNeN9SOGwQ3Jn8jb8m3Z6izVgknn1R0FTCEAP2QrLY/w==",
|
|
"dev": true,
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/zod": {
|
|
"version": "3.25.76",
|
|
"resolved": "https://registry.npmjs.org/zod/-/zod-3.25.76.tgz",
|
|
"integrity": "sha512-gzUt/qt81nXsFGKIFcC3YnfEAx5NkunCfnDlvuBSSFS02bcXu4Lmea0AFIUwbLWxWPx3d9p8S5QoaujKcNQxcQ==",
|
|
"license": "MIT",
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/colinhacks"
|
|
}
|
|
}
|
|
}
|
|
}
|