Files
dsh-context/package.json
T
bowenliang123 57f7ca013d chore: move zod from dependencies to peerDependencies (optional)
zod is already a dependency of @deepseek-ai/dsh-session-projection,
so the host dsh environment always provides it. Moving it to
peerDependencies avoids duplicate zod installations and lets the
plugin resolve the same zod instance as the framework.

- dependencies: remove zod (now empty)
- peerDependencies: add zod ^4.4.3
- peerDependenciesMeta: mark zod as optional
- tsup.config.ts: update comment to reflect peer dep status
- version: bump 0.20.0 -> 0.20.1
2026-08-21 18:00:41 +08:00

96 lines
2.5 KiB
JSON

{
"name": "dsh-context",
"version": "0.20.1",
"description": "A DeepSeek Harness plugin for context insight and management, with context dashboard and context command, for understanding how the context is made of, and how it evolves.",
"author": "bowenliang123",
"repository": {
"type": "git",
"url": "git+https://github.com/bowenliang123/dsh-context.git"
},
"homepage": "https://github.com/bowenliang123/dsh-context",
"bugs": {
"url": "https://github.com/bowenliang123/dsh-context/issues"
},
"type": "module",
"main": "lib/index.js",
"exports": {
".": "./lib/index.js",
"./client": "./lib/client.js",
"./package.json": "./package.json"
},
"files": [
"lib",
"cordis.patch.yml",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsup",
"watch": "tsup --watch",
"register": "bash scripts/register.sh",
"typecheck": "tsc --noEmit",
"test": "npm run typecheck && node tests/host.test.mjs && node tests/client.test.mjs",
"release": "bash scripts/publish.sh",
"hooks": "bash scripts/install-hooks.sh",
"repro": "node tests/repro-real-react.mjs",
"social-preview": "node docs/social-preview/generate.mjs"
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-client-connection",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-runtime",
"@deepseek-ai/dsh-client-ui-conversation"
],
"platform": "web"
}
},
"keywords": [
"deepseek-harness",
"dsh",
"cordis",
"plugin",
"context",
"token",
"ui"
],
"license": "Apache-2.0",
"dependencies": {},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.7",
"@deepseek-ai/dsh-session": "^0.1.0-rc.7",
"react": "^18.3.1",
"zod": "^4.4.3"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-client-ui-primitives": {
"optional": true
},
"react": {
"optional": true
},
"zod": {
"optional": true
}
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.0-rc.7",
"@deepseek-ai/dsh-session": "^0.1.0-rc.7",
"@deepseek-ai/dsh-session-projection": "^0.1.0-rc.7",
"@types/react": "^18.3.31",
"jsdom": "^30.0.1",
"playwright-core": "^1.62.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.5.1",
"typescript": "^7.0.2"
},
"packageManager": "pnpm@11.9.0"
}