mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-08-29 04:26:38 +00:00
Move the shared module-reload policy into dsh-base by inserting its HMR row disabled, then remove the redundant disabled overrides from Web, headless, SDK, and ACP. No shipped profile enables server module reload; live profile patch watching continues through the launcher-owned config-only fallback, and browser client HMR remains a separate mechanism. A later profile layer can opt into source-module reload explicitly with disabled: false while retaining the base root configuration. Composition tests cover every shipped mode and the explicit enable path, and the bundle references plus launcher Agent Notes document the resulting ownership and safety rationale.
31 lines
1.1 KiB
YAML
31 lines
1.1 KiB
YAML
# The dsh-headless bundle patch: one-shot task mode directly over dsh-base.
|
|
# It mounts no Host, HTTP server, Web runtime, or browser plugin. An ordinary
|
|
# provider plugin injects `cmdlineArgs`, parses the task positional
|
|
# (`dsh --profile headless "<task>"`) and this app's --help, then the direct
|
|
# driver creates an Agent through the core registry and prints its durable result.
|
|
|
|
- id: system-prompt
|
|
config:
|
|
persona: >-
|
|
You are a coding agent powered by the {{model}} model. Your working directory is {{cwd}}.
|
|
|
|
- id: tools
|
|
config:
|
|
# Keep the same temporary process-wide Code Mode opt-in as the Web surface.
|
|
mode: !!js process.env.DSH_TOOLS_MODE
|
|
|
|
- insert:
|
|
# Code Mode is a core execution capability, not a Web component.
|
|
- id: code-runtime
|
|
name: '@deepseek-ai/dsh-code-runtime-worker-thread'
|
|
|
|
- id: headless-startup
|
|
name: '@deepseek-ai/dsh-headless/startup'
|
|
|
|
# Reads its task from the ordinary headlessStartup provider.
|
|
- id: headless-runner
|
|
name: '@deepseek-ai/dsh-headless'
|
|
inject: [headlessStartup]
|
|
config:
|
|
task: !!js ctx.headlessStartup.task
|