dsh_delegate
Delegate implementation, research, debugging, or long-log work to DeepSeek Harness by creating a root session and queuing an initial prompt with optional model routing and focus paths.
Instructions
Create a root session on the configured official DSH Web Host and queue the initial prompt. Before calling, put a compact handoff in prompt from known progress plus read-only Git/workspace evidence; identify focus paths and tell DSH to read those focus paths first instead of scanning the whole repository unless blocked. An explicit user choice of modelProfile or reasoningEffort always takes precedence. Otherwise the caller may choose pro for complex work and a modlens profile for visual work whose local image paths are included in the prompt; omit routing fields to inherit DSH's configured model. Explicit selection uses session.selectModel, which also persists the selection as the DSH default for later sessions. Detached by default. workspaceMode is only a bridge-local cooperative claim and does not select or verify the DSH sandbox.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | Yes | Existing absolute directory visible to the DSH Host. | |
| title | No | ||
| prompt | Yes | ||
| agentPreset | No | DSH agent composition/preset name. This does not express workspace ownership or verified sandbox policy. | |
| waitSeconds | No | ||
| modelProfile | No | Semantic route: flash/pro use deepseek-official; modlens-flash/modlens-pro use deepseek-modlens for visual work; inherit keeps the current route. Explicit user choice takes precedence over caller heuristics. | |
| workspaceMode | No | Bridge-local cooperative workspace claim only; it is not a DSH Host filesystem sandbox selector or verifier. | exclusive-write |
| reasoningEffort | No | Optional effort id. It must be advertised by the selected model in session.models. | |
| selectionReason | No | Optional audit explanation for the caller's explicit or autonomous profile choice; never sent to DSH. |