both-mode.cordis.yml 1.0 KB

1234567891011121314151617181920212223242526
  1. # Both mode adds `ctx.codeRuntime` while keeping native tools on the wire and
  2. # adding `run_code` plus its generated TypeScript SDK prompt. The app bin selects
  3. # this overlay for snapshot recording and the sibling overlay for replay. A config
  4. # patch replaces the whole app config, so unchanged base fields are restated below.
  5. - id: base
  6. name: '@cordisjs/plugin-include'
  7. config:
  8. path: ./cordis.yml
  9. patches:
  10. - id: acp-agent
  11. name: '@deepseek-ai/dsh-acp-demo'
  12. config:
  13. provider: deepseek
  14. model: deepseek-v4-flash
  15. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  16. workspaceContext:
  17. maxBytes: 65536
  18. tools:
  19. mode: both
  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'