both-mode.cordis.yml 1.1 KB

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