code-mode.cordis.yml 1.1 KB

1234567891011121314151617181920212223242526
  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-demo'
  13. config:
  14. model: deepseek-v4-flash
  15. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  16. workspaceContext:
  17. maxBytes: 65536
  18. tools:
  19. mode: code
  20. persona: |
  21. You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}.
  22. Verify your work by running the code or tests. Keep answers brief and factual.
  23. - insert:
  24. - id: code-runtime
  25. name: '@deepseek-ai/dsh-code-runtime-worker'