code-mode-image.cordis.yml 1.2 KB

1234567891011121314151617181920212223242526272829
  1. # Code Mode image overlay: mounts the worker runtime and durable attachment
  2. # store so a nested read_image result can cross the generic rich-result bridge.
  3. # The authored snapshot is replay-only; the live config retains the ordinary
  4. # exact provider route for manual use.
  5. - id: base
  6. name: '@deepseek-ai/cordis-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: code
  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: attachment-local
  26. name: '@deepseek-ai/dsh-attachment-local'
  27. - id: code-runtime
  28. name: '@deepseek-ai/dsh-code-runtime-worker-thread'