{ "name": "dsh-llm-governor", "version": "0.1.0", "description": "Multi-model governance, routing, fallback, quota, and usage for DeepSeek Harness", "keywords": [ "deepseek", "deepseek-harness", "dsh", "dsh-plugin", "llm-routing", "governance" ], "license": "MIT", "type": "module", "private": true, "main": "dist/plugin/mod.js", "exports": { ".": { "types": "./dist/plugin/mod.d.ts", "default": "./dist/plugin/mod.js" }, "./service": { "types": "./dist/plugin/service.d.ts", "default": "./dist/plugin/service.js" }, "./ui": { "types": "./dist/ui/index.d.ts", "default": "./dist/ui/index.js" }, "./typert": { "types": "./dist/plugin/typert-host.d.ts", "default": "./dist/plugin/typert-host.js" }, "./remote": { "types": "./dist/plugin/typert-remote-client.d.ts", "default": "./dist/plugin/typert-remote-client.js" }, "./client": { "types": "./dist/client/index.d.ts", "default": "./dist/client.js" }, "./cordis.patch.yml": "./cordis.patch.yml", "./package.json": "./package.json" }, "dsh": { "client": { "inject": [ "@deepseek-ai/dsh-api-remotes", "@deepseek-ai/dsh-client-runtime", "@deepseek-ai/dsh-client-ui-conversation", "@deepseek-ai/dsh-client-ui-model-selection", "@deepseek-ai/dsh-client-ui-settings", "@deepseek-ai/dsh-client-ui-trajectory" ], "external": [ "@deepseek-ai/cordis", "@deepseek-ai/dsh-client-runtime/client", "react" ], "platform": "web" }, "bundle": { "patch": "./cordis.patch.yml" } }, "files": [ "dist", "src", "test", "cordis.patch.yml", "tsconfig.json", "vitest.config.ts" ], "engines": { "node": "^22.19.0 || >=24.0.0" }, "packageManager": "pnpm@11.9.0", "scripts": { "build": "tsc -p tsconfig.json && node scripts/build-client.mjs && node scripts/copy-ui-pages.mjs", "build:client": "node scripts/build-client.mjs", "prepack": "pnpm run build", "typecheck": "tsc --noEmit", "test": "vitest run", "test:contracts": "vitest run --project contracts", "test:unit": "vitest run --project unit", "test:integration": "vitest run --project integration", "test:ui": "vitest run --project ui", "test:eval": "vitest run --project eval", "test:coverage": "vitest run --coverage", "test:package": "vitest run --project package", "format:check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"", "lint": "eslint src test --max-warnings 0" }, "peerDependencies": { "@deepseek-ai/cordis": ">=4.0.1 <5", "@deepseek-ai/dsh-agent": ">=0.1.0-rc.8 <0.2.0-0", "@deepseek-ai/dsh-llm": ">=0.1.0-rc.8 <0.2.0-0", "@deepseek-ai/dsh-session": ">=0.1.0-rc.8 <0.2.0-0", "@deepseek-ai/dsh-typert-protocol": ">=0.1.0-rc.8 <0.2.0-0" }, "dependencies": { "zod": "^4.4.3" }, "devDependencies": { "@deepseek-ai/cordis": "4.0.1", "@deepseek-ai/dsh": "0.1.0-rc.8", "@deepseek-ai/dsh-agent": "0.1.0-rc.8", "@deepseek-ai/dsh-api-gateway": "0.1.0-rc.8", "@deepseek-ai/dsh-api-remotes": "0.1.0-rc.8", "@deepseek-ai/dsh-client-modules": "0.1.0-rc.8", "@deepseek-ai/dsh-client-runtime": "0.1.0-rc.8", "@deepseek-ai/dsh-client-ui-conversation": "0.1.0-rc.8", "@deepseek-ai/dsh-client-ui-model-selection": "0.1.0-rc.8", "@deepseek-ai/dsh-client-ui-settings": "0.1.0-rc.8", "@deepseek-ai/dsh-client-ui-slots": "0.1.0-rc.8", "@deepseek-ai/dsh-client-ui-trajectory": "0.1.0-rc.8", "@deepseek-ai/dsh-llm": "0.1.0-rc.8", "@deepseek-ai/dsh-session": "0.1.0-rc.8", "@deepseek-ai/dsh-session-persistence": "0.1.0-rc.8", "@deepseek-ai/dsh-session-persistence-jsonl": "0.1.0-rc.8", "@deepseek-ai/dsh-typert-protocol": "0.1.0-rc.8", "@deepseek-ai/dsh-typert-registry": "0.1.0-rc.8", "@eslint/js": "^10.0.1", "@types/node": "^24.3.0", "@types/react": "18.3.1", "@types/react-test-renderer": "18.3.1", "@vitest/coverage-v8": "^4.1.11", "esbuild-wasm": "^0.25.9", "eslint": "^10.8.1", "playwright": "^1.62.1", "prettier": "^3.9.6", "react": "18.2.0", "react-test-renderer": "18.2.0", "typescript": "^5.9.2", "typescript-eslint": "^8.67.0", "vitest": "^4.0.0" } }