Delete packages/ui/stdio and examples/repl-agent; rename stdio-demo to @deepseek-ai/dsh-tui-demo (TUI-only, refuses pipes before Loader boot). tui-agent owns the coding composition inline; echo-agent and the CI demo smoke move to the one-shot cli-demo bin, which gains -p/--prompt. The UI-independent with-key e2es move verbatim to tui-agent. SDK wizard's 'stdio' interface becomes 'tui'. PTY testing stays confined to TUI surfaces; all other subprocess tests ride pipes. See .agents/notes/implemented/simplification/2026-07-20-retire-readline-front-door.md
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
# Code Mode keeps the TUI composition while adding the worker runtime and
|
|
# reducing the model-facing registry to the `run_code` transport.
|
|
- id: base
|
|
name: '@cordisjs/plugin-include'
|
|
config:
|
|
path: ./cordis.yml
|
|
patches:
|
|
- id: tui-agent
|
|
name: '@deepseek-ai/dsh-tui-demo'
|
|
config:
|
|
provider: deepseek
|
|
model: deepseek-v4-pro
|
|
resumeSessionId: !!js process.env.RESUME_SESSION_ID
|
|
persistenceRoot: './.sessions'
|
|
resumeCommand: 'dsh --resume {session}'
|
|
workspaceContext:
|
|
maxBytes: 65536
|
|
tools:
|
|
mode: code
|
|
welcome: 'TUI Code Mode ready. Give it a multi-tool task.'
|
|
ui:
|
|
showReasoning: true
|
|
maxToolOutputLines: 6
|
|
persona: |
|
|
You are a coding agent powered by the {{model}} model.
|
|
|
|
You work by writing TypeScript programs for run_code: batch related
|
|
tool work into one program, loop and branch where it helps, and print
|
|
or return ONLY the findings that matter.
|
|
- insert:
|
|
- id: code-runtime
|
|
name: '@deepseek-ai/dsh-code-runtime-worker'
|