ChatGPTClaudeGrok / X / CursorGemini

dsh-auto-continue: An Auto-Continue Plugin for DeepSeek Harness

hsiangnianian/dsh-auto-continue

Sessions & MessagesVerified
Listed on 2026-08-17
Page last updated 2026-11-23

A DSH Web UI plugin that auto-sends 「继续」 to resume requests interrupted by non-human causes, featuring error classification, adaptive backoff, pause, idempotency guard, and loop guard, all configurable from the settings card.

dsh-auto-continue is a plugin for the DeepSeek Harness (DSH) Web interface that automatically types and sends '继续' when a request is interrupted by a non-human cause like a network error, letting the agent keep working without manual intervention. It includes smart recovery mechanisms such as error classification, adaptive backoff, idempotency guard, and loop guard, all configurable from the settings card, plus a stats panel and browser notifications. With it, you no longer need to watch the screen and manually resume every interrupted request, making it ideal for developers running long AI tasks.

How to Install

install
npmdsh plugin --profile web add dsh-client-auto-continue

Replace --profile with the profile name you actually run (see ls ~/.dsh/profiles/): usually web in the browser UI, desktop or desktop-NNN in the desktop app.

Category
Sessions & Messages
Platform
DSH Plugin
Author
hsiangnianian
Distribution
Plugin

dsh-auto-continue Key Features

Auto-send 'Continue' to resumeError classification & adaptive backoffPause & idempotency guardLoop guard & stats panel
Listed on dsh-plugin.org

dsh-auto-continue Repo Summary

What Does It Do?

dsh-auto-continue is a DSH plugin for DeepSeek Harness that automatically types and sends "继续" when a request is interrupted by a non-human cause, such as a network error, so the agent keeps working without manual intervention. It solves the hassle of manually resuming interrupted requests, and includes smart recovery features like error classification, adaptive backoff, idempotency guard, and loop guard. All behaviors are configurable from the settings card, with a stats panel and browser notifications.

Core Features

  • Error classification: automatically resumes transient errors (network/timeout/5xx/429), skips permanent ones (e.g., 401/403, auth, balance, unknown model) and notifies the user.
  • Adaptive backoff: consecutive failures wait longer each time (20s→40s→80s…), capped at a configurable maximum, avoiding hammering a broken upstream.
  • Templated continue text: supports placeholders like {code}, {message}, {status}, {tool} to carry failure context; a separate template fires on max-tokens (e.g., "继续输出, 不要重复已生成的内容").
  • Idempotency guard: before resuming, inspects the last tool call; if unconfirmed, tells the model to check state first; if confirmed, asks not to repeat; failed tools get no guard.
  • Pause and loop guard: global pause toggle, per-session pause, and a "Resume now" notification button; detects repeated identical messages, short messages with no tool calls, and repeated tool calls with same args/results, canceling and restarting the turn.
  • Stats panel and browser notifications: shows today's auto-continue count, recoveries, failures, permanent skips, give-ups, and loop breaks, broken down by error code, with one-click reset; optional browser alerts.

How to Use This Plugin?

After enabling it in the DSH web interface (dsh web), whenever a request is interrupted by a non-human cause, the plugin automatically sends a "继续" message, which enters the session log like a manual prompt. All behaviors—such as error classification, backoff, templates, pause, and loop guard thresholds—can be adjusted from the settings card, and the stats panel shows today's data with a reset option.

This page is an independent rewrite of the plugin's official README — for authoritative documentation and the latest changes, refer to the source: hsiangnianian/dsh-auto-continue. The plugin is third-party code that runs on your machine once installed; inclusion does not imply endorsement — please review the source before installing.

Install, update, and uninstall this plugin in the Plugin Market of DeepSeek Harness's DSH Plugin Hub
ChatGPTClaudeGrok / X / CursorGemini

DSH Plugin FAQ