qwen-code/integrations/external-context/package.json
jinye 1d1bc49473
fix(external-context): harden MCP dependencies (#8206)
* fix(external-context): harden MCP dependencies

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>

* fix(external-context): drop no-op MCP override, raise SDK floors (#8206)

Remove the `@modelcontextprotocol/sdk@^1.30.0` -> `@hono/node-server`
override: resolution with and without it is byte-identical because the
SDK's own `^1.19.9 || ^2.0.5` range already selects 2.0.12, and
mobile-mcp's exact SDK pin (not this entry) keeps its nested Hono 1.

Raise the `@modelcontextprotocol/sdk` floor to `^1.30.0` on the packages
that actually instantiate the Hono-backed transport (cli, core,
sdk-typescript, vscode-ide-companion) so the hardened constraint lives in
the manifests where the code runs, matching the PR's stated intent.

---------

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
2026-08-01 01:04:16 +00:00

34 lines
916 B
JSON

{
"name": "@qwen-code/external-context",
"version": "0.20.1",
"private": true,
"description": "Provider-bound external context search for Qwen Code",
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"clean": "node -e \"const fs=require('node:fs'); fs.rmSync('dist',{recursive:true,force:true}); fs.rmSync('tsconfig.tsbuildinfo',{force:true})\"",
"build": "npm run clean && tsc --build",
"test": "vitest run --config vitest.config.ts",
"test:ci": "vitest run --config vitest.config.ts",
"typecheck": "tsc --noEmit",
"lint": "eslint src"
},
"files": [
"dist",
"examples",
"qwen-extension.json",
"README.md"
],
"dependencies": {
"@modelcontextprotocol/sdk": "^1.30.0",
"undici": "^7.28.0",
"zod": "^3.25.0"
},
"devDependencies": {
"@types/node": "^22.0.0",
"typescript": "^5.4.5",
"vitest": "^3.2.4"
}
}