1
0

code-mode.cordis.yml 1.0 KB

123456789101112131415161718192021222324
  1. # Code Mode adds `ctx.codeRuntime` and changes the registry to one wire tool,
  2. # `run_code`, plus its generated TypeScript SDK prompt. The app bin selects this
  3. # overlay for `demo:code-mode acp` and snapshot recording, and selects the sibling
  4. # replay overlay for `DSH_SNAPSHOT=replay`. A config patch replaces the whole app
  5. # config, so unchanged base fields are restated below.
  6. - id: base
  7. name: '@cordisjs/plugin-include'
  8. config:
  9. path: ./cordis.yml
  10. patches:
  11. - id: acp-agent
  12. name: '@deepseek-ai/dsh-acp-agent'
  13. config:
  14. model: deepseek-v4-flash
  15. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  16. tools:
  17. mode: code
  18. persona: |
  19. You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}.
  20. Verify your work by running the code or tests. Keep answers brief and factual.
  21. - insert:
  22. - id: code-runtime
  23. name: '@deepseek-ai/dsh-code-runtime-worker'