2026-07-19 13:13:14 +08:00
|
|
|
# Full-screen TUI front door over the same repl-agent composition used by the
|
2026-07-19 01:09:20 +08:00
|
|
|
# readline REPL. The include keeps backends and optional tools aligned; the
|
|
|
|
|
# patch owns only the terminal-specific app config.
|
|
|
|
|
- id: base
|
|
|
|
|
name: '@cordisjs/plugin-include'
|
|
|
|
|
config:
|
2026-07-19 13:13:14 +08:00
|
|
|
path: ../repl-agent/cordis.yml
|
2026-07-19 01:09:20 +08:00
|
|
|
patches:
|
|
|
|
|
- id: stdio-agent
|
|
|
|
|
name: '@deepseek-ai/dsh-stdio-demo'
|
|
|
|
|
config:
|
|
|
|
|
provider: deepseek
|
|
|
|
|
model: deepseek-v4-flash
|
|
|
|
|
resumeSessionId: !!js process.env.RESUME_SESSION_ID
|
|
|
|
|
persistenceRoot: './.sessions'
|
|
|
|
|
workspaceContext:
|
|
|
|
|
maxBytes: 65536
|
|
|
|
|
welcome: 'TUI agent ready. Give it a coding task.'
|
|
|
|
|
ui:
|
|
|
|
|
mode: tui
|
|
|
|
|
tui:
|
|
|
|
|
showReasoning: true
|
|
|
|
|
maxToolOutputLines: 12
|
|
|
|
|
persona: |
|
2026-07-19 13:13:14 +08:00
|
|
|
You are a coding agent powered by the {{model}} model.
|
2026-07-19 01:09:20 +08:00
|
|
|
|
|
|
|
|
Verify your work by running the code or tests. Keep answers brief and
|
|
|
|
|
factual.
|