session-sandbox-root.cordis.snapshot.yml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. # Keyless replay counterpart of session-sandbox-root.cordis.yml. Patches do not
  2. # compose across nested includes, so the replay swap, the recorded model pin,
  3. # and the deliberately distinct sandbox fallback are applied together to the
  4. # live tree.
  5. - id: base
  6. name: '@cordisjs/plugin-include'
  7. config:
  8. path: ./cordis.yml
  9. patches:
  10. - id: llm-deepseek
  11. name: '@deepseek-ai/dsh-llm-deepseek'
  12. disabled: true
  13. - id: acp-agent
  14. name: '@deepseek-ai/dsh-acp-demo'
  15. config:
  16. provider: deepseek
  17. model: deepseek-v4-flash
  18. persistenceRoot: !!js process.env.DSH_SNAPSHOT_SESSIONS_ROOT ?? './.sessions'
  19. persistenceCompression: none
  20. workspaceContext:
  21. maxBytes: 65536
  22. persona: |
  23. You are a coding assistant powered by the {{model}} model. Your working directory is {{cwd}}. Your bash tool runs under a file sandbox — a `[sandbox: file access denied …]` result is policy, not a command bug.
  24. Verify your work by running the code or tests. Keep answers brief and factual.
  25. - id: sandbox
  26. name: '@deepseek-ai/dsh-sandbox-local'
  27. config:
  28. runnerCommand:
  29. - bash
  30. - -c
  31. - while [ "$1" != "--" ]; do shift; done; shift; exec "$@"
  32. - passthrough-runner
  33. runnerFailureSignatures:
  34. - 'passthrough-runner: profile rejected'
  35. - id: sandbox-policy
  36. name: '@deepseek-ai/dsh-sandbox-policy'
  37. config:
  38. mode: danger-full-access
  39. workspaceRoot: /tmp
  40. - insert:
  41. - id: llm-replay
  42. name: '@deepseek-ai/dsh-llm-replay'
  43. config:
  44. providers:
  45. - id: deepseek
  46. name: DeepSeek
  47. models:
  48. - id: deepseek-v4-flash
  49. - id: deepseek-v4-pro