code-mode-image.cordis.yml 1.2 KB

12345678910111213141516171819202122232425262728
  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 live config selects the shipped vision route for manual use.
  4. - id: base
  5. name: '@deepseek-ai/cordis-plugin-include'
  6. config:
  7. path: ./cordis.yml
  8. patches:
  9. - id: acp-agent
  10. name: '@deepseek-ai/dsh-acp-demo'
  11. config:
  12. provider: deepseek-official
  13. model: deepseek-v4-flash-vision-exp
  14. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  15. persistenceCompression: !!js "process.env.DSH_SNAPSHOT === undefined ? 'zstd' : 'none'"
  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: attachment-local
  25. name: '@deepseek-ai/dsh-attachment-local'
  26. - id: code-runtime
  27. name: '@deepseek-ai/dsh-code-runtime-worker-thread'