- banner/intro/footer three-part closure-factory wrap (verbatim from packages/client/tsdown.client.ts), intro now owns var module/exports - deps.neverBundle/alwaysBundle guards: host keeps production deps external, client keeps only module-table specifiers external - bundle purity gate: any non-requested @deepseek-ai/* value import is a build error (INLINE_SAFE / vendored-library / generated-remote allowances mirrored) - NODE_ENV + import.meta.env defines for inlined node-idiom deps - client sourcemap on, matching the official artifact contract - client smoke test now runs the bundle verbatim through the __ModuleLoader__ handoff instead of slicing the factory body by exact output strings (decoupled from bundler layout)
95 lines
2.5 KiB
JSON
95 lines
2.5 KiB
JSON
{
|
|
"name": "dsh-context",
|
|
"version": "0.22.0",
|
|
"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": "tsdown",
|
|
"watch": "tsdown --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",
|
|
"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",
|
|
"tsdown": "^0.22.14",
|
|
"typescript": "^7.0.2"
|
|
},
|
|
"packageManager": "pnpm@11.9.0"
|
|
}
|