Files
dsh-context/package.json
T
bowenliang123 33068ee1c9 compat: narrow the support matrix to dsh 0.1.2-rc.1+
The install/runtime compatibility floor moves from 0.1.1-rc2+ and
0.1.2-alpha2+ to 0.1.2-rc.1+. The 0.1.1 line and the 0.1.2-alpha previews
leave the support matrix, so every pre-0.1.2 fallback they existed for is
removed outright:

- client history: drop the legacy `connection.api.sessions.history` face,
  the `result`-nested envelope, and the `events` rows field — the gateway
  `remote.session.page` face and its ClientResult envelope are the only
  served shapes.
- client image loader: drop the pre-0.1.2 `conversation.resolveImage` face;
  `uiConversation.imageUrl` only.
- client node join: drop the pre-0.1.2 `useSession.nodes` seat;
  `useChat`'s ChatSnapshot `legacy.nodes` only (UseSessionLike removed).
- tests/baselines.ts: single baseline `v0.1.2-rc.1`; HostSeam dropped (the
  registry generation hard-codes header-passing init and seq-0 eager
  seeding, now mirrored with the exact `init(header, inheritedEventCount)`
  arity); ClientSeam slimmed to the consumed probes.
- deps: devDeps re-pinned to the 0.1.2-rc.1 generation (types compile
  against the real rc.1 surfaces); cordis ^4.0.2 and schemastery ^3.18.2
  per the rc.1 peer requirements; dsh-scope/dsh-invariants declared as dev
  deps; peer floors >=0.1.2-rc.1; dshReleases table trimmed.
- release workflow fetches only the dsh-v0.1.2-rc.1 tag; docs updated
  (AGENTS.md, README, docs/compatibility.md).
- verified against the rc.1 sources: the tool-attribution map (names and
  packages, incl. the documented `subagent_fork` alias), MCP naming, the
  page/imageUrl/legacy.nodes faces, and the registry contract.
2026-09-04 17:23:08 +08:00

127 lines
3.5 KiB
JSON

{
"name": "dsh-context",
"version": "0.41.3",
"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",
"engines": {
"node": "^22.19.0 || >=24.0.0"
},
"main": "lib/index.js",
"types": "lib/index.d.ts",
"exports": {
".": {
"types": "./lib/index.d.ts",
"default": "./lib/index.js"
},
"./client": "./lib/client.js",
"./package.json": "./package.json"
},
"files": [
"lib/client.js",
"lib/index.js",
"lib/index.d.ts",
"cordis.patch.yml",
"README.md",
"LICENSE"
],
"scripts": {
"build": "tsdown",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"watch": "bash scripts/watch.sh",
"register": "bash scripts/register.sh",
"typecheck": "tsc --noEmit && tsc --noEmit -p tsconfig.tests.json",
"test": "pnpm run typecheck && vitest run --coverage",
"coverage": "vitest run --coverage",
"release": "bash scripts/publish.sh",
"hooks": "bash scripts/install-hooks.sh",
"social-preview": "node docs/social-preview/generate.ts"
},
"dsh": {
"bundle": {
"patch": "./cordis.patch.yml"
},
"client": {
"inject": [
"@deepseek-ai/dsh-api-remotes",
"@deepseek-ai/dsh-client-connection",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-conversation",
"@deepseek-ai/dsh-client-ui-settings"
],
"platform": "web"
},
"compatibility": {
"dshReleases": {
"0.1.2-rc.1": "compatible"
}
}
},
"keywords": [
"deepseek-harness",
"dsh",
"cordis",
"plugin",
"context",
"token",
"ui"
],
"license": "Apache-2.0",
"dependencies": {
"zod": "^4.4.3"
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.2",
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.2-rc.1",
"@deepseek-ai/dsh-session": ">=0.1.2-rc.1",
"@deepseek-ai/dsh-settings": ">=0.1.2-rc.1",
"@deepseek-ai/schemastery": "^3.18.2",
"react": "^18.3.1"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-client-ui-primitives": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.2",
"@deepseek-ai/dsh-client-ui-primitives": "0.1.2-rc.1",
"@deepseek-ai/dsh-invariants": "0.1.2-rc.1",
"@deepseek-ai/dsh-scope": "0.1.2-rc.1",
"@deepseek-ai/dsh-session": "0.1.2-rc.1",
"@deepseek-ai/dsh-session-projection": "0.1.2-rc.1",
"@deepseek-ai/dsh-settings": "0.1.2-rc.1",
"@deepseek-ai/schemastery": "^3.18.2",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/node": "^26.2.0",
"@types/react": "^18.3.31",
"@types/react-dom": "^19.2.4",
"@vitest/coverage-v8": "^4.1.11",
"eslint-plugin-sonarjs": "^4.2.0",
"jsdom": "^30.0.1",
"lightningcss": "^1.33.0",
"oxlint": "1.76.0",
"oxlint-tsgolint": "7.0.2001",
"playwright-core": "^1.62.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsdown": "^0.22.14",
"typescript": "^7.0.2",
"vitest": "^4.1.11",
"zod": "^4.4.3"
},
"packageManager": "pnpm@11.9.0"
}