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.
26 lines
608 B
JSON
26 lines
608 B
JSON
{
|
|
"name": "@marcusgroup/plugin-legal-ai",
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"main": "dist/worker.js",
|
|
"paperclipPlugin": {
|
|
"manifest": "dist/manifest.js"
|
|
},
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"dev": "paperclip-plugin-dev-server",
|
|
"format": "biome format --write src/",
|
|
"format:check": "biome format src/",
|
|
"biome": "biome check src/",
|
|
"biome:fix": "biome check --write src/"
|
|
},
|
|
"dependencies": {
|
|
"@paperclipai/plugin-sdk": "^2026.525.0"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "2.4.11",
|
|
"@types/node": "^25.5.0",
|
|
"typescript": "^6.0.2"
|
|
}
|
|
}
|