The terminal and history pagination both treated the model-visible surface as the human transcript. A landed compaction replacement therefore erased the conversation it summarized — messages the reader had already seen — and a model-only replacement copy consumed a page's `maxMessages` quota, which could also split a compaction's provenance from the replacement citing it. `dsh-session` now exports the marker split `isAppendSurfaceEvent` / `isReplacementSurfaceEvent`. The terminal replays append-origin surface events, keeps a shadowed step's tool cards paired through its append-origin assistant message, and renders one dim marker where a compaction landed; the checkpoint is recognized through the compaction seam's `isCompactCheckpointSource` contract, not the shape of the replacement. `session.history` counts only append-origin human messages. Everything model-facing keeps reading `session.surface`.
98 lines
3.1 KiB
JSON
98 lines
3.1 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-tui",
|
|
"description": "Interactive pi-tui terminal front door for DeepSeek Harness agents",
|
|
"version": "0.0.1",
|
|
"private": true,
|
|
"type": "module",
|
|
"main": "lib/index.js",
|
|
"types": "lib/types/index.d.ts",
|
|
"exports": {
|
|
".": {
|
|
"types": "./lib/types/index.d.ts",
|
|
"default": "./lib/index.js"
|
|
},
|
|
"./invariant": {
|
|
"types": "./lib/types/invariant.d.ts",
|
|
"default": "./lib/invariant.js"
|
|
},
|
|
"./prompt": {
|
|
"types": "./lib/types/prompt.d.ts",
|
|
"default": "./lib/prompt.js"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/invariant.js",
|
|
"lib/prompt.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/types/**/*.d.ts.map",
|
|
"src"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"peerDependencies": {
|
|
"@deepseek-ai/dsh-agent": "^0.0.1",
|
|
"@deepseek-ai/dsh-agent-loop": "^0.0.1",
|
|
"@deepseek-ai/dsh-commands": "^0.0.1",
|
|
"@deepseek-ai/dsh-compact": "^0.0.1",
|
|
"@deepseek-ai/dsh-invariants": "^0.0.1",
|
|
"@deepseek-ai/dsh-llm": "^0.0.1",
|
|
"@deepseek-ai/dsh-llm-retry": "^0.0.1",
|
|
"@deepseek-ai/dsh-goal": "^0.0.1",
|
|
"@deepseek-ai/dsh-session": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-persistence": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-query": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-reference": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-title": "^0.0.1",
|
|
"@deepseek-ai/dsh-skill": "^0.0.1",
|
|
"@deepseek-ai/dsh-system-prompt": "^0.0.1",
|
|
"@deepseek-ai/dsh-token-meter": "^0.0.1",
|
|
"@deepseek-ai/dsh-tools": "^0.0.1",
|
|
"@deepseek-ai/dsh-user-interaction": "^0.0.1",
|
|
"cordis": "^4.0.0-rc.7"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"@deepseek-ai/dsh-session-persistence": {
|
|
"optional": true
|
|
},
|
|
"@deepseek-ai/dsh-session-query": {
|
|
"optional": true
|
|
},
|
|
"@deepseek-ai/dsh-skill": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"dependencies": {
|
|
"@earendil-works/pi-tui": "0.80.7",
|
|
"saxes": "6.0.0",
|
|
"schemastery": "^3.18.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cordisjs/plugin-loader": "workspace:^",
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
|
"@deepseek-ai/dsh-agent-loop": "workspace:^",
|
|
"@deepseek-ai/dsh-goal": "workspace:^",
|
|
"@deepseek-ai/dsh-commands": "workspace:^",
|
|
"@deepseek-ai/dsh-compact": "workspace:^",
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
"@deepseek-ai/dsh-llm": "workspace:^",
|
|
"@deepseek-ai/dsh-llm-retry": "workspace:^",
|
|
"@deepseek-ai/dsh-session": "workspace:^",
|
|
"@deepseek-ai/dsh-session-persistence": "workspace:^",
|
|
"@deepseek-ai/dsh-session-query": "workspace:^",
|
|
"@deepseek-ai/dsh-session-reference": "workspace:^",
|
|
"@deepseek-ai/dsh-session-title": "workspace:^",
|
|
"@deepseek-ai/dsh-skill": "workspace:^",
|
|
"@deepseek-ai/dsh-system-prompt": "workspace:^",
|
|
"@deepseek-ai/dsh-token-meter": "workspace:^",
|
|
"@deepseek-ai/dsh-tool-cordis": "workspace:^",
|
|
"@deepseek-ai/dsh-tool-workflow": "workspace:^",
|
|
"@deepseek-ai/dsh-tools": "workspace:^",
|
|
"@deepseek-ai/dsh-user-interaction": "workspace:^",
|
|
"@deepseek-ai/dsh-workflow": "workspace:^",
|
|
"@xterm/headless": "5.5.0",
|
|
"cordis": "^4.0.0-rc.7"
|
|
}
|
|
}
|