workspace-context.cordis.yml 1.0 KB

123456789101112131415161718192021222324
  1. # Workspace-context snapshot overlay: keep project-root and user-global
  2. # discovery inside the scenario's temporary cwd. The app config patch replaces
  3. # the whole base config, so the base fields are restated verbatim.
  4. - id: base
  5. name: '@cordisjs/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-pro
  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. dshHome: !!js process.cwd() + '/.dsh'
  19. projectRootMarkers:
  20. - .dsh-project
  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.