mirror of
https://github.com/KeygraphHQ/shannon.git
synced 2026-02-12 09:12:50 +00:00
* feat: upgrade claude-agent-sdk to 0.2.38 and adapt to new SDK types - Bump @anthropic-ai/claude-agent-sdk from 0.1.x to 0.2.38 (both root and mcp-server) - Bump zod from 3.x to 4.x (SDK peer dependency) - Add allowDangerouslySkipPermissions to query options (required for bypassPermissions) - Suppress new SDK message types (tool_progress, tool_use_summary, auth_status) - Use structured error field on assistant messages instead of text-sniffing - Add stop_reason to result message handling for diagnostics - Add SDKAssistantMessageError type matching SDK's string literal union * chore: remove CLAUDE_CODE_MAX_OUTPUT_TOKENS from all config and docs
369 lines
12 KiB
JSON
369 lines
12 KiB
JSON
{
|
|
"name": "@shannon/mcp-server",
|
|
"version": "1.0.0",
|
|
"lockfileVersion": 3,
|
|
"requires": true,
|
|
"packages": {
|
|
"": {
|
|
"name": "@shannon/mcp-server",
|
|
"version": "1.0.0",
|
|
"dependencies": {
|
|
"@anthropic-ai/claude-agent-sdk": "^0.2.38",
|
|
"zod": "^4.3.6"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.3",
|
|
"typescript": "^5.9.3"
|
|
}
|
|
},
|
|
"node_modules/@anthropic-ai/claude-agent-sdk": {
|
|
"version": "0.2.38",
|
|
"resolved": "https://registry.npmjs.org/@anthropic-ai/claude-agent-sdk/-/claude-agent-sdk-0.2.38.tgz",
|
|
"integrity": "sha512-U1vpf3rlSkw1qUlzC6CBibBA30ouQnla9JnuqYFLQ2zBb1U2NUCXIElrnV7RwWrI5e9ZKCHgR+1uaCwROONo7w==",
|
|
"license": "SEE LICENSE IN README.md",
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-darwin-arm64": "^0.33.5",
|
|
"@img/sharp-darwin-x64": "^0.33.5",
|
|
"@img/sharp-linux-arm": "^0.33.5",
|
|
"@img/sharp-linux-arm64": "^0.33.5",
|
|
"@img/sharp-linux-x64": "^0.33.5",
|
|
"@img/sharp-linuxmusl-arm64": "^0.33.5",
|
|
"@img/sharp-linuxmusl-x64": "^0.33.5",
|
|
"@img/sharp-win32-x64": "^0.33.5"
|
|
},
|
|
"peerDependencies": {
|
|
"zod": "^4.0.0"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-darwin-arm64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-arm64/-/sharp-darwin-arm64-0.33.5.tgz",
|
|
"integrity": "sha512-UT4p+iz/2H4twwAoLCqfA9UH5pI6DggwKEGuaPy7nCVQ8ZsiY5PIcrRvD1DzuY3qYL07NtIQcWnBSY/heikIFQ==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-darwin-arm64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-darwin-x64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-darwin-x64/-/sharp-darwin-x64-0.33.5.tgz",
|
|
"integrity": "sha512-fyHac4jIc1ANYGRDxtiqelIbdWkIuQaI84Mv45KvGRRxSAa7o7d1ZKAOBaYbnepLC1WqxfpimdeWfvqqSGwR2Q==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-darwin-x64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-darwin-arm64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-arm64/-/sharp-libvips-darwin-arm64-1.0.4.tgz",
|
|
"integrity": "sha512-XblONe153h0O2zuFfTAbQYAX2JhYmDHeWikp1LM9Hul9gVPjFY427k6dFEcOL72O01QxQsWi761svJ/ev9xEDg==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-darwin-x64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-darwin-x64/-/sharp-libvips-darwin-x64-1.0.4.tgz",
|
|
"integrity": "sha512-xnGR8YuZYfJGmWPvmlunFaWJsb9T/AO2ykoP3Fz/0X5XV2aoYBPkX6xqCQvUTKKiLddarLaxpzNe+b1hjeWHAQ==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"darwin"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-linux-arm": {
|
|
"version": "1.0.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm/-/sharp-libvips-linux-arm-1.0.5.tgz",
|
|
"integrity": "sha512-gvcC4ACAOPRNATg/ov8/MnbxFDJqf/pDePbBnuBDcjsI8PssmjoKMAz4LtLaVi+OnSb5FK/yIOamqDwGmXW32g==",
|
|
"cpu": [
|
|
"arm"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-linux-arm64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-arm64/-/sharp-libvips-linux-arm64-1.0.4.tgz",
|
|
"integrity": "sha512-9B+taZ8DlyyqzZQnoeIvDVR/2F4EbMepXMc/NdVbkzsJbzkUjhXv/70GQJ7tdLA4YJgNP25zukcxpX2/SueNrA==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-linux-x64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linux-x64/-/sharp-libvips-linux-x64-1.0.4.tgz",
|
|
"integrity": "sha512-MmWmQ3iPFZr0Iev+BAgVMb3ZyC4KeFc3jFxnNbEPas60e1cIfevbtuyf9nDGIzOaW9PdnDciJm+wFFaTlj5xYw==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-linuxmusl-arm64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-arm64/-/sharp-libvips-linuxmusl-arm64-1.0.4.tgz",
|
|
"integrity": "sha512-9Ti+BbTYDcsbp4wfYib8Ctm1ilkugkA/uscUn6UXK1ldpC1JjiXbLfFZtRlBhjPZ5o1NCLiDbg8fhUPKStHoTA==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-libvips-linuxmusl-x64": {
|
|
"version": "1.0.4",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-libvips-linuxmusl-x64/-/sharp-libvips-linuxmusl-x64-1.0.4.tgz",
|
|
"integrity": "sha512-viYN1KX9m+/hGkJtvYYp+CCLgnJXwiQB39damAO7WMdKWlIhmYTfHjwSbQeUK/20vY154mwezd9HflVFM1wVSw==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-linux-arm": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm/-/sharp-linux-arm-0.33.5.tgz",
|
|
"integrity": "sha512-JTS1eldqZbJxjvKaAkxhZmBqPRGmxgu+qFKSInv8moZ2AmT5Yib3EQ1c6gp493HvrvV8QgdOXdyaIBrhvFhBMQ==",
|
|
"cpu": [
|
|
"arm"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-linux-arm": "1.0.5"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-linux-arm64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-linux-arm64/-/sharp-linux-arm64-0.33.5.tgz",
|
|
"integrity": "sha512-JMVv+AMRyGOHtO1RFBiJy/MBsgz0x4AWrT6QoEVVTyh1E39TrCUpTRI7mx9VksGX4awWASxqCYLCV4wBZHAYxA==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-linux-arm64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-linux-x64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-linux-x64/-/sharp-linux-x64-0.33.5.tgz",
|
|
"integrity": "sha512-opC+Ok5pRNAzuvq1AG0ar+1owsu842/Ab+4qvU879ippJBHvyY5n2mxF1izXqkPYlGuP/M556uh53jRLJmzTWA==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-linux-x64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-linuxmusl-arm64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-arm64/-/sharp-linuxmusl-arm64-0.33.5.tgz",
|
|
"integrity": "sha512-XrHMZwGQGvJg2V/oRSUfSAfjfPxO+4DkiRh6p2AFjLQztWUuY/o8Mq0eMQVIY7HJ1CDQUJlxGGZRw1a5bqmd1g==",
|
|
"cpu": [
|
|
"arm64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-linuxmusl-arm64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-linuxmusl-x64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-linuxmusl-x64/-/sharp-linuxmusl-x64-0.33.5.tgz",
|
|
"integrity": "sha512-WT+d/cgqKkkKySYmqoZ8y3pxx7lx9vVejxW/W4DOFMYVSkErR+w7mf2u8m/y4+xHe7yY9DAXQMWQhpnMuFfScw==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "Apache-2.0",
|
|
"optional": true,
|
|
"os": [
|
|
"linux"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
},
|
|
"optionalDependencies": {
|
|
"@img/sharp-libvips-linuxmusl-x64": "1.0.4"
|
|
}
|
|
},
|
|
"node_modules/@img/sharp-win32-x64": {
|
|
"version": "0.33.5",
|
|
"resolved": "https://registry.npmjs.org/@img/sharp-win32-x64/-/sharp-win32-x64-0.33.5.tgz",
|
|
"integrity": "sha512-MpY/o8/8kj+EcnxwvrP4aTJSWw/aZ7JIGR4aBeZkZw5B7/Jn+tY9/VNwtcoGmdT7GfggGIU4kygOMSbYnOrAbg==",
|
|
"cpu": [
|
|
"x64"
|
|
],
|
|
"license": "Apache-2.0 AND LGPL-3.0-or-later",
|
|
"optional": true,
|
|
"os": [
|
|
"win32"
|
|
],
|
|
"engines": {
|
|
"node": "^18.17.0 || ^20.3.0 || >=21.0.0"
|
|
},
|
|
"funding": {
|
|
"url": "https://opencollective.com/libvips"
|
|
}
|
|
},
|
|
"node_modules/@types/node": {
|
|
"version": "25.0.3",
|
|
"resolved": "https://registry.npmjs.org/@types/node/-/node-25.0.3.tgz",
|
|
"integrity": "sha512-W609buLVRVmeW693xKfzHeIV6nJGGz98uCPfeXI1ELMLXVeKYZ9m15fAMSaUPBHYLGFsVRcMmSCksQOrZV9BYA==",
|
|
"dev": true,
|
|
"license": "MIT",
|
|
"dependencies": {
|
|
"undici-types": "~7.16.0"
|
|
}
|
|
},
|
|
"node_modules/typescript": {
|
|
"version": "5.9.3",
|
|
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz",
|
|
"integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==",
|
|
"dev": true,
|
|
"license": "Apache-2.0",
|
|
"bin": {
|
|
"tsc": "bin/tsc",
|
|
"tsserver": "bin/tsserver"
|
|
},
|
|
"engines": {
|
|
"node": ">=14.17"
|
|
}
|
|
},
|
|
"node_modules/undici-types": {
|
|
"version": "7.16.0",
|
|
"resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz",
|
|
"integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==",
|
|
"dev": true,
|
|
"license": "MIT"
|
|
},
|
|
"node_modules/zod": {
|
|
"version": "4.3.6",
|
|
"resolved": "https://registry.npmjs.org/zod/-/zod-4.3.6.tgz",
|
|
"integrity": "sha512-rftlrkhHZOcjDwkGlnUtZZkvaPHCsDATp4pGpuOOMDaTdDDXF91wuVDJoWoPsKX/3YPQ5fHuF3STjcYyKr+Qhg==",
|
|
"license": "MIT",
|
|
"peer": true,
|
|
"funding": {
|
|
"url": "https://github.com/sponsors/colinhacks"
|
|
}
|
|
}
|
|
}
|
|
}
|