code-mode.cordis.yml 1.1 KB

123456789101112131415161718192021222324252627282930
  1. # Code Mode keeps the TUI front door while reusing the coding-agent overlay's
  2. # worker runtime and one-tool registry composition.
  3. - id: base
  4. name: '@cordisjs/plugin-include'
  5. config:
  6. path: ../coding-agent/code-mode.cordis.yml
  7. patches:
  8. - id: stdio-agent
  9. name: '@deepseek-ai/dsh-stdio-demo'
  10. config:
  11. provider: deepseek
  12. model: deepseek-v4-flash
  13. resumeSessionId: !!js process.env.RESUME_SESSION_ID
  14. persistenceRoot: './.sessions'
  15. workspaceContext:
  16. maxBytes: 65536
  17. tools:
  18. mode: code
  19. welcome: 'TUI Code Mode ready. Give it a multi-tool task.'
  20. ui:
  21. mode: tui
  22. tui:
  23. showReasoning: true
  24. maxToolOutputLines: 12
  25. persona: |
  26. You are coding-agent, a coding assistant powered by the {{model}} model.
  27. You work by writing TypeScript programs for run_code: batch related
  28. tool work into one program, loop and branch where it helps, and print
  29. or return ONLY the findings that matter.