cordis.patch.yml 1.1 KB

123456789101112131415161718192021222324252627282930
  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. - id: tools
  11. config:
  12. # Keep the same temporary process-wide PTC mode opt-in as the Web surface.
  13. mode: !!js process.env.DSH_TOOLS_MODE
  14. - insert:
  15. # PTC mode is a core execution capability, not a Web component.
  16. - id: code-runtime
  17. name: '@deepseek-ai/dsh-code-runtime-worker-thread'
  18. - id: headless-startup
  19. name: '@deepseek-ai/dsh-headless/startup'
  20. # Reads its task from the ordinary headlessStartup provider.
  21. - id: headless-runner
  22. name: '@deepseek-ai/dsh-headless'
  23. inject: [headlessStartup]
  24. config:
  25. task: !!js ctx.headlessStartup.task