Files
dsh-context/package.json
T
bowenliang123 986d45a2bb test: add the cross-baseline compatibility matrix
tests/baselines.ts is the single source of truth for the supported dsh
baselines and their seam faces. Three layers verify them:

- always-on host registry-contract drivers over the REAL projection
  definitions (plain-JSON cache-write gate, wire delivery, checkpoint
  restore, init-header tolerance) — the recurring host incidents,
- always-on client-face matrix (nodes seat, image loader service,
  history face + envelope, markdown chrome, full tab render) — the
  recurring client incidents,
- the `compat` vitest project: stages the REAL harness sources at each
  baseline tag, boots the tag's registry on the cordis release that line
  vendors, applies the BUILT plugin, and probes slots/faces/vocabulary/
  platform table from the tag's sources. The release workflow fetches
  the baseline tags before `pnpm test` so the matrix always runs there.

Adding a future baseline = one tests/baselines.ts entry + one fetched
tag; a failing probe names the seam to re-fit.
2026-08-31 14:58:08 +08:00

118 lines
3.3 KiB
JSON

{
"name": "dsh-context",
"version": "0.38.5",
"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",
"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",
"test:bundle": "node scripts/bundle-smoke.mjs",
"test:compat": "vitest run --project compat",
"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-client-connection",
"@deepseek-ai/dsh-client-locale",
"@deepseek-ai/dsh-client-ui-conversation",
"@deepseek-ai/dsh-client-ui-settings"
],
"platform": "web"
}
},
"keywords": [
"deepseek-harness",
"dsh",
"cordis",
"plugin",
"context",
"token",
"ui"
],
"license": "Apache-2.0",
"dependencies": {
"zod": "^4.4.3"
},
"peerDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-client-ui-primitives": ">=0.1.1-rc.2",
"@deepseek-ai/dsh-session": ">=0.1.1-rc.2",
"@deepseek-ai/dsh-settings": ">=0.1.1-rc.2",
"@deepseek-ai/schemastery": "^3.18.1",
"react": "^18.3.1"
},
"peerDependenciesMeta": {
"@deepseek-ai/dsh-client-ui-primitives": {
"optional": true
},
"react": {
"optional": true
}
},
"devDependencies": {
"@deepseek-ai/cordis": "^4.0.1",
"@deepseek-ai/dsh-client-ui-primitives": "^0.1.1-rc.2",
"@deepseek-ai/dsh-session": "^0.1.1-rc.2",
"@deepseek-ai/dsh-session-projection": "^0.1.1-rc.2",
"@deepseek-ai/dsh-settings": "^0.1.1-rc.2",
"@deepseek-ai/schemastery": "^3.18.1",
"@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"
}