cordis.patch.yml 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  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. # The shared module-reload HMR row stays off; the launcher's watch-only
  11. # fallback still keeps the user patch layers live until the run exits.
  12. - id: hmr
  13. disabled: true
  14. - id: tools
  15. config:
  16. # Keep the same temporary process-wide Code Mode opt-in as the Web surface.
  17. mode: !!js process.env.DSH_TOOLS_MODE
  18. - insert:
  19. # Code Mode is a core execution capability, not a Web component.
  20. - id: code-runtime
  21. name: '@deepseek-ai/dsh-code-runtime-worker'
  22. - id: headless-startup
  23. name: '@deepseek-ai/dsh-headless/startup'
  24. # Reads its task from the ordinary headlessStartup provider.
  25. - id: headless-runner
  26. name: '@deepseek-ai/dsh-headless'
  27. inject: [headlessStartup]
  28. config:
  29. task: !!js ctx.headlessStartup.task