dsh-stall-guard: Auto-Aborts Stalled Downloads and Prompts the Agent to Switch Sources
dsh-stall-guard is a DSH workflow plugin that monitors download-related commands such as git, npm, pip, cargo, go, and http. When a download exceeds its independently configured timeout, it aborts the operation and writes a built-in mirror-switch prompt into the tool result for the agent to retry — no model invocation is made at any point. It supports per-scenario enablement and autoSwitch configuration; write-type operations only emit a prompt without aborting. Install via `dsh plugin --profile <profile> add dsh-stall-guard`. The configuration file resides at `$DSH_HOME/stall-guard/config.json`. Best suited for reducing agent idle waiting when GitHub or mirror access is unstable in mainland China.
Read Moredsh-stall-guard: Auto-abort on download stall and delegate source-switching prompts to the agent
**dsh-stall-guard** is a workflow plugin for DeepSeek Harness that monitors download commands such as git, npm, pip, cargo, go, and curl. If no progress is detected for a duration exceeding **downloadSeconds** (default: 30 seconds), the process is aborted. The plugin writes mirror/proxy instructions—generated via built-in or custom placeholders—into the tool result without calling the model. It supports configuring timeouts based on tool type and offers an optional supervisor UI. **Installation:** `dsh plugin --profile <profile> add dsh-stall-guard`. Licensed under MIT.
Read MoreDSH-Stall-Guard: A Watchdog Plugin for DSH Tasks
`dsh-stall-guard` is an MIT-licensed task watchdog plugin for DeepSeek Harness (DSH), designed to monitor long-running task status, distinguish between genuine silence and in-flight operations, and never terminate tasks throughout the process. The plugin requires Node >=20 and has zero npm dependencies. Its core functionality includes periodically scanning task status, exempting tasks with in-flight operations or continuous events; when true lack of progress is detected, it injects instructions through a stepwise "diagnose → repair → change direction" guided approach to help tasks recover, and writes related events to JSONL logs. The plugin offers two strategies: `auto` (automatic guidance) and `report` (recording only), supports hot-configuring parameters such as thresholds, intervals, and guidance messages via `settings.yaml`, and allows real-time status queries through the Loopback API. It is enabled by default after installation.
Read More