cordis.patch.yml 1.2 KB

12345678910111213141516171819202122232425262728293031323334
  1. # The dsh-headless bundle patch: one-shot task mode directly over dsh-base.
  2. # It mounts no Host, HTTP server, Web runtime, or browser plugin. An ordinary
  3. # provider plugin injects `cmdlineArgs`, parses the task positional
  4. # (`dsh --profile headless "<task>"`) and this app's --help, then the direct
  5. # driver creates an Agent through the core registry and prints its durable result.
  6. - id: system-prompt
  7. config:
  8. persona: >-
  9. You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
  10. # One-shot runs never watch or reload their composition.
  11. - id: hmr
  12. disabled: true
  13. - id: tools
  14. config:
  15. # Keep the same temporary process-wide Code Mode opt-in as the Web surface.
  16. mode: !!js process.env.DSH_TOOLS_MODE
  17. - insert:
  18. # Code Mode is a core execution capability, not a Web component.
  19. - id: code-runtime
  20. name: '@deepseek-ai/dsh-code-runtime-worker'
  21. - id: headless-startup
  22. name: '@deepseek-ai/dsh-headless/startup'
  23. # Reads its task from the ordinary headlessStartup provider.
  24. - id: headless-runner
  25. name: '@deepseek-ai/dsh-headless'
  26. inject: [headlessStartup]
  27. config:
  28. task: !!js ctx.headlessStartup.task