dsh-session-robustness
After official llm-retry (n/5) gives up, keep retrying transient API failures (timeout, transport, rate-limit, 5xx, dropped SSE) on the same open step until success, cancel, or pause; AUTH, QUOTA, and user Stop are never retried.
官方 llm-retry(n/5)耗尽后,对超时/传输/限流/5xx/SSE 断流等瞬时失败在同一打开 step 上继续重试直到成功、取消或暂停;认证失败、额度耗尽和用户停止不会重试。
How to install
dsh plugin add dsh-session-robustness About
dsh-session-robustness 工程级会话鲁棒:当一次 turn 的模型请求因 **超时 / 传输 / 限流 / 5xx / 空响应 / SSE 断流** 失败时,不要在官方默认的「再试五次」之后把会话掐死,而是 **继续重试直到成功、你取消、或你暂停**。 这不是客户端发「继续」续跑,也不是换模型。它接在官方 dsh-llm-retry 后面,在同一个打开的 step 上重跑同一条请求。 为什么需要它 DSH 已经有官方重试执行器 @deepseek-ai/dsh-llm-retry: 挂在 host 组合里(dsh-base 已启用) 策略写在每个 provider 的 retryPolicy 上 **省略时是 mode: normal,默认 maxRetries = 5** 合格 code:EMPTY_RESPONSE / RATE_LIMIT / SERVER / TIMEOUT / TRANSPORT(官方);本插件额外无条件覆盖 STREAM_CLOSED / MALFORMED_RESPONSE / STREAM / HTTP_408 / HTTP_409 / HTTP_425 / HTTP_429 / HTTP_499 / HTTP_5xx 所以一次 TIMEOUT 通常是:界面「已重试模型请求 (n/5)」,5/5 之后 agent/request-…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- –
- Last push
- 2026-09-13
- Created
- 2026-09-07
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- deepseek-harness, dsh-plugin, retry
Related plugins
deja-vu
vshulcz/deja-vu
One memory shared by Claude Code, Codex, Cursor, Copilot CLI, OpenClaw and 20 more coding agents, built from the session history already on disk. A fix found in one agent comes back in any of them, including months of sessions from before you installed it. No LLM, no embeddings, one local Go binary.
dsh-turn-rewind
Anionex/dsh-turn-rewind
Rewind conversation and workspace state, powered by a persistent Change Ledger.
dsh-web
zhu1090093659/dsh-web-ui/tree/main/packages/dsh-chat-recovery
Chat recovery for DSH: edit the last finished user message and explicitly retry failed turns, both via session-fork branches that leave the original conversation untouched.
dsh-message-edit
Moeblack/dsh-message-edit
Branch-based message editing, reroll, retry, and a version timeline.