{ "name": "@dsh-external/dsh-model-router", "version": "0.2.2", "description": "Thin routing policy for DeepSeek Harness: keyword routing, allowlisted model switching, and isolated image generation. / DeepSeek Harness 薄路由策略:关键词路由、白名单模型切换和隔离生图。", "keywords": [ "dsh", "dsh-plugin", "model-router", "llm-gateway", "deepseek-harness" ], "repository": { "type": "git", "url": "git+https://github.com/superboy911/dsh-model-router.git" }, "bugs": { "url": "https://github.com/superboy911/dsh-model-router/issues" }, "homepage": "https://github.com/superboy911/dsh-model-router#readme", "author": "wenshan", "type": "module", "packageManager": "pnpm@11.21.0", "engines": { "node": "^22.19.0 || >=24.0.0" }, "main": "lib/index.js", "types": "lib/types/index.d.ts", "exports": { ".": { "types": "./lib/types/index.d.ts", "default": "./lib/index.js" }, "./client": { "types": "./lib/types/client/index.d.ts", "default": "./lib/client.js" }, "./cordis.patch.yml": "./cordis.patch.yml", "./package.json": "./package.json" }, "files": [ "lib", "src", "examples", "docs", "cordis.patch.yml", "README.md", "README.zh.md", "CHANGELOG.md", "CHANGELOG.zh.md", "CONTRIBUTING.md", "CONTRIBUTING.zh.md", "SECURITY.md", "SECURITY.zh.md", "CODE_OF_CONDUCT.md", "ROADMAP.md", "LICENSE.zh-CN.md", "LICENSE" ], "scripts": { "build": "tsc -p tsconfig.json && tsc -p tsconfig.client.json && node scripts/build-client.mjs", "test": "vitest run tests", "check:secrets": "node scripts/check-secrets.mjs", "accept:models": "node scripts/accept-model-routing.mjs", "prepack": "npm run build", "pack:dry": "npm pack --dry-run", "prebuild": "node scripts/clean.mjs" }, "dsh": { "bundle": { "patch": "./cordis.patch.yml" }, "client": { "inject": [ "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-connection", "@deepseek-ai/dsh-api-remotes", "@deepseek-ai/dsh-client-ui-tool", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-locale" ], "platform": "web" } }, "dependencies": { "schemastery": "^3.18.0" }, "peerDependencies": { "@deepseek-ai/cordis": "^4.0.1", "@deepseek-ai/dsh-agent": "0.1.0-rc.6", "@deepseek-ai/dsh-client-locale": "0.1.0-rc.6", "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.6", "@deepseek-ai/dsh-credentials": "0.1.0-rc.6", "@deepseek-ai/dsh-host-webserver": "0.1.0-rc.6", "@deepseek-ai/dsh-llm": "0.1.0-rc.6", "@deepseek-ai/dsh-session": "0.1.0-rc.6", "@deepseek-ai/dsh-settings": "0.1.0-rc.6", "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6", "@deepseek-ai/dsh-tools": "0.1.0-rc.6", "react": "^18.2.0", "@deepseek-ai/dsh-client-connection": "0.1.0-rc.6", "@deepseek-ai/dsh-api-remotes": "0.1.0-rc.6", "@deepseek-ai/dsh-host-apiproxy": "0.1.0-rc.6" }, "peerDependenciesMeta": { "@deepseek-ai/dsh-host-webserver": { "optional": true } }, "devDependencies": { "@deepseek-ai/cordis": "4.0.1", "@deepseek-ai/dsh-agent": "0.1.0-rc.6", "@deepseek-ai/dsh-client-locale": "0.1.0-rc.6", "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-primitives": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.6", "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.6", "@deepseek-ai/dsh-credentials": "0.1.0-rc.6", "@deepseek-ai/dsh-host-webserver": "0.1.0-rc.6", "@deepseek-ai/dsh-llm": "0.1.0-rc.6", "@deepseek-ai/dsh-session": "0.1.0-rc.6", "@deepseek-ai/dsh-settings": "0.1.0-rc.6", "@deepseek-ai/dsh-system-prompt": "0.1.0-rc.6", "@deepseek-ai/dsh-tools": "0.1.0-rc.6", "@types/node": "^22.20.0", "@types/react": "~18.3.1", "@types/react-dom": "~18.3.0", "react": "^18.2.0", "react-dom": "^18.2.0", "typescript": "^6.0.3", "vitest": "^4.1.8", "@deepseek-ai/dsh-client-connection": "0.1.0-rc.6", "@deepseek-ai/dsh-api-remotes": "0.1.0-rc.6", "@deepseek-ai/dsh-host-apiproxy": "0.1.0-rc.6" }, "license": "MIT" }