| 12345678910111213141516171819202122232425262728 |
- # Code Mode adds `ctx.codeRuntime` and changes the registry to one wire tool,
- # `run_code`, plus its generated TypeScript SDK prompt. The app bin selects this
- # overlay for `demo:code-mode acp` and snapshot recording, and selects the sibling
- # replay overlay for `DSH_SNAPSHOT=replay`. A config patch replaces the whole app
- # config, so unchanged base fields are restated below.
- - id: base
- name: '@cordisjs/plugin-include'
- config:
- path: ./cordis.yml
- patches:
- - id: acp-agent
- name: '@deepseek-ai/dsh-acp-demo'
- config:
- provider: deepseek
- model: deepseek-v4-flash
- persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
- persistenceCompression: !!js "process.env.DSH_SNAPSHOT === undefined ? 'zstd' : 'none'"
- workspaceContext:
- maxBytes: 65536
- tools:
- mode: code
- persona: |
- You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}.
- Verify your work by running the code or tests. Keep answers brief and factual.
- - insert:
- - id: code-runtime
- name: '@deepseek-ai/dsh-code-runtime-worker'
|