Remove the redundant dsh-tui-demo bin and the RESUME_SESSION_ID environment
variable, leaving dsh as the one terminal entrypoint.
The dsh-tui-demo package was a plugin (the TUI app bundle mounted by dsh's
config) plus a bin that booted a leaf cordis.yml — the same job `dsh [config]`
does. The bin, its ./bin export, its built-bin.e2e.ts, the tsdown bin entry,
and the now-unused dsh-app-boot dependency are removed; the package keeps its
plugin and invariant. demo:cordis, demo:code-mode, and the tui-agent and
cordis-agent keyless PTY smokes now launch through apps/cli/src/bin.ts with the
config as the positional argument. cli-demo/acp-demo/jsonrpc-demo keep their
bins (distinct surfaces).
RESUME_SESSION_ID was the only bridge from --resume into the shipped config;
--resume now provides the id on the boot context via ctx.provide(
RESUME_SESSION_ID_KEY, id), and the four configs read it as a bare identifier
through a quoted typeof-guarded !!js expression. The TUI resumeCommand fixtures
and docs move to `dsh --resume {session}`.
Agent Note and its Chinese pair updated; config-catalog regenerated.
79 lines
2.9 KiB
JSON
79 lines
2.9 KiB
JSON
{
|
|
"name": "@deepseek-ai/dsh-tui-demo",
|
|
"description": "Full-screen TUI app bundle plugin: agent spine + persisted goals + human commands + JSONL persistence + pi-tui front door + pre-created main agent (mounted by the dsh CLI's config)",
|
|
"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"
|
|
},
|
|
"./src/*": "./src/*",
|
|
"./package.json": "./package.json"
|
|
},
|
|
"files": [
|
|
"lib/index.js",
|
|
"lib/invariant.js",
|
|
"lib/types/**/*.d.ts",
|
|
"lib/types/**/*.d.ts.map",
|
|
"src"
|
|
],
|
|
"license": "BSD-3-Clause",
|
|
"peerDependencies": {
|
|
"@cordisjs/plugin-include": "^1.0.4",
|
|
"@cordisjs/plugin-loader": "^1.0.0-rc.5",
|
|
"@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-command-goal": "^0.0.1",
|
|
"@deepseek-ai/dsh-agent-spine-demo": "^0.0.1",
|
|
"@deepseek-ai/dsh-invariants": "^0.0.1",
|
|
"@deepseek-ai/dsh-llm": "^0.0.1",
|
|
"@deepseek-ai/dsh-session": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-checkpoint-policy": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-query": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-query-sqlite": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-reference": "^0.0.1",
|
|
"@deepseek-ai/dsh-session-persistence-jsonl": "^0.0.1",
|
|
"@deepseek-ai/dsh-tui": "^0.0.1",
|
|
"@deepseek-ai/dsh-tool-ask-user": "^0.0.1",
|
|
"@deepseek-ai/dsh-tools": "^0.0.1",
|
|
"@deepseek-ai/dsh-user-interaction": "^0.0.1",
|
|
"@deepseek-ai/dsh-workspace-context": "^0.0.1",
|
|
"cordis": "^4.0.0-rc.7",
|
|
"schemastery": "^3.17.0"
|
|
},
|
|
"devDependencies": {
|
|
"@cordisjs/plugin-include": "workspace:^",
|
|
"@cordisjs/plugin-loader": "workspace:^",
|
|
"@deepseek-ai/dsh-agent": "workspace:^",
|
|
"@deepseek-ai/dsh-agent-loop": "workspace:^",
|
|
"@deepseek-ai/dsh-commands": "workspace:^",
|
|
"@deepseek-ai/dsh-command-goal": "workspace:^",
|
|
"@deepseek-ai/dsh-agent-spine-demo": "workspace:^",
|
|
"@deepseek-ai/dsh-invariants": "workspace:^",
|
|
"@deepseek-ai/dsh-llm": "workspace:^",
|
|
"@deepseek-ai/dsh-session": "workspace:^",
|
|
"@deepseek-ai/dsh-session-checkpoint-policy": "workspace:^",
|
|
"@deepseek-ai/dsh-session-query": "workspace:^",
|
|
"@deepseek-ai/dsh-session-query-sqlite": "workspace:^",
|
|
"@deepseek-ai/dsh-session-reference": "workspace:^",
|
|
"@deepseek-ai/dsh-session-persistence-jsonl": "workspace:^",
|
|
"@deepseek-ai/dsh-system-prompt": "workspace:^",
|
|
"@deepseek-ai/dsh-tui": "workspace:^",
|
|
"@deepseek-ai/dsh-tool-ask-user": "workspace:^",
|
|
"@deepseek-ai/dsh-tools": "workspace:^",
|
|
"@deepseek-ai/dsh-user-interaction": "workspace:^",
|
|
"@deepseek-ai/dsh-workspace-context": "workspace:^",
|
|
"cordis": "^4.0.0-rc.7",
|
|
"schemastery": "^3.17.0"
|
|
}
|
|
}
|