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.
★ 81GitHub stars
2Forks
2026-08-15Last updated
JavaScriptLanguage
MITLicense
Key features
- The message enters the session log exactly like a manual prompt — the model sees it, and the interrupted work resumes.
- It opens the same two read-only event streams the web UI already uses (no extra server, no third-party endpoints)
- Error classification — transient failures (network / timeout / 5xx / 429…) are auto-resumed
- permanent ones are skipped and notified, because retrying them never helps.
- A failure counts as permanent when its HTTP status is 401/403 or its code/message matches auth, credential/API-key, balance/quota, unknown-model, or context-length/overflow keywords.
Install command
dsh plugin --profile web add github:HsiangNianian/dsh-auto-continue