advanced.cordis.snapshot.yml 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. # Replay counterpart to advanced.cordis.yml. It includes the base `cordis.yml`
  2. # directly — a config patch cannot target an entry behind a nested include — and
  3. # restates advanced.cordis.yml's overlay (the cli-agent config plus the
  4. # code-runtime and tool-cordis inserts) so the whole app config lives in one patch.
  5. # It re-pins `deepseek-v4-flash`: `cordis.yml` ships `deepseek-v4-pro`, but the
  6. # recorded corpus (request headers, provenance) was captured on flash, so replay
  7. # holds the recorded model to stay reproducible without a re-record. It also
  8. # disables the key-requiring DeepSeek adapter and inserts `llm-replay` to serve
  9. # recorded JSONL without a key or network.
  10. - id: base
  11. name: '@cordisjs/plugin-include'
  12. config:
  13. path: ./cordis.yml
  14. patches:
  15. - id: llm-deepseek
  16. name: '@deepseek-ai/dsh-llm-deepseek'
  17. disabled: true
  18. - id: cli-agent
  19. name: '@deepseek-ai/dsh-cli-demo'
  20. config:
  21. provider: deepseek
  22. model: deepseek-v4-flash
  23. persistenceRoot: './.sessions'
  24. # Replay fixtures are raw JSONL; the whole-config patch must restate
  25. # the compression choice or the default zstd frames hide the logs.
  26. persistenceCompression: none
  27. workspaceContext:
  28. maxBytes: 65536
  29. tools:
  30. mode: both
  31. persona: |
  32. You are headless-agent, a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}.
  33. Verify your work by running the code or tests. Keep answers brief and factual.
  34. - insert:
  35. - id: code-runtime
  36. name: '@deepseek-ai/dsh-code-runtime-worker'
  37. - id: tool-cordis
  38. name: '@deepseek-ai/dsh-tool-cordis'
  39. - id: llm-replay
  40. name: '@deepseek-ai/dsh-llm-replay'