dsh plugins中文
← Back to popular plugin directory

Request interruption and automatic continuation

HsiangNianian/dsh-auto-continue · skills

When the request is interrupted by non-human reasons such as network errors, "Continue" is automatically sent and error classification, back-off and browser notifications are supported.

★ 12GitHub stars
2Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense

Project overview

DSH Web UI plugin — when a request is interrupted by a network error or any other non-human cause, it automatically types 「继续」 and sends it for you. What It Does

The plugin opens two extra SSE streams in the browser — events.mux (session events) and events.host (host events). The host supports multiple consumers, so this never interferes with the built-in runtime. On an interruption it waits a grace period (default 3 s) — if the host starts a new turn by itself (turn/start), the auto-continue is cancelled — then calls sessions.prompt in queue mode with the configured text.

On page load / reconnect it also scans the most recently updated sessions: a session whose last turn ended with a non-human reason within the scan window (default 15 minutes), with no later turn/start or user message, gets resumed automatically too (e.g. the host crashed while the browser was closed).

Install command

dsh plugin --profile web add github:HsiangNianian/dsh-auto-continue
View GitHub repository ↗Back to popular plugin directory