dsh-auto-continue: An Auto-Continue Web UI Plugin for DeepSeek Harness
hsiangnianian/dsh-auto-continue
DSH plugin auto-sends 'Continue' to resume requests interrupted by network errors, no manual intervention needed.
When a request is interrupted by non-human causes like network errors, it automatically sends "Continue" to resume the agent's work without manual intervention.
dsh plugin --profile web add github:hsiangnianian/dsh-auto-continue- Category
- Sessions & Messages
- Platform
- DSH-Plugin
- Author
- hsiangnianian
- Distribution
- Plugin
dsh-auto-continue Key Features
dsh-auto-continue Repository

dsh-auto-continue Repo Summary
dsh-auto-continue is a Web UI plugin (DSH plugin) for DeepSeek Harness, designed for the dsh web graphical interface. When a request is interrupted by non-human causes such as network errors, timeouts, 5xx, or 429, it automatically simulates the user typing 「继续」 and sends it, allowing the agent to continue working without manual intervention. Maintained by HsiangNianian under the MIT license, last updated in 2026-08, this plugin offers smart recovery features including error classification, adaptive backoff, templated continue text, idempotency guard, pause controls, notification buttons, and a stats panel—all configurable from the settings card.
What smart recovery features does the dsh-auto-continue DSH plugin support?
The plugin includes error classification: transient failures (network, timeout, 5xx, 429, etc.) are auto-resumed, while permanent errors (such as 401/403, auth failures, insufficient balance, unknown model, or context-length overflow) are skipped and notified, since retrying them never helps. Adaptive backoff increases wait times after consecutive failures (20s→40s→80s…), capped at a configurable maximum, preventing hammering a broken upstream. Templated continue text supports placeholders like {code}, {message}, {status}, {tool}, {turn}, {errorCount}, {sessionTitle}, and {elapsed}, allowing the resume message to carry failure context; a separate template fires on max-tokens (e.g., "Continue output, do not repeat generated content"). The idempotency guard inspects the last tool call before resuming: if the result is unconfirmed, it tells the model to check state first; if confirmed, it asks not to repeat; failed tools get no guard.
How do I install and configure dsh-auto-continue?
Run the following command to install the plugin. After installation, it appears in the DSH Web UI settings card, where all options (error classification toggle, backoff parameters, template texts, pause, etc.) can be adjusted via the graphical interface:
dsh plugin --profile web add github:hsiangnianian/dsh-auto-continue
How do the pause and notification features of dsh-auto-continue work?
The settings card provides a global "Pause auto-continue" toggle that instantly stops all recovery operations; each session can also be paused individually (e.g., via a notification button) until the pause expires. Notification buttons include "Resume now" (send immediately, ignoring cooldown and the consecutive cap) and "Pause this session 1h" for flexible control.
What does the stats panel of dsh-auto-continue show?
The stats panel in the settings card displays today's auto-continue count, helping users understand the plugin's actual impact.
Which DeepSeek Harness versions and platforms are compatible with dsh-auto-continue?
This plugin targets the DSH Web UI (dsh web) and depends on official DSH client libraries (such as @deepseek-ai/dsh-settings, @deepseek-ai/dsh-client-connection, etc.), ensuring seamless integration with the DeepSeek Harness ecosystem.