dsh-client-auto-retry
Auto-resumes interrupted DSH turns: sends a queued 「继续」 after turn/end with error, interrupted or max-tokens reasons, with a grace period, cooldown, a consecutive-attempts cap, boot-time scanning and a settings card; it never switches models or providers.
回合中断自动续跑:turn/end 因 error / interrupted / max-tokens 结束时自动发送「继续」,支持宽限期、冷却、连续次数上限、启动扫描与设置卡片;不切换模型/provider。
How to install
dsh plugin add @frog755/dsh-client-auto-retry About
@frog755/dsh-client-auto-retry DSH 客户端插件:检测到回合被中断 / 出错 / 超长(max-tokens)时,自动发送「继续」重试。 只做自动重试,**不做**模型 / provider 切换。自带设置卡片。 English version: README-EN.md --- 它能做什么 DeepSeek Harness(DSH)的回合(turn)偶尔会因为网络抖动、provider 报错、超时、 或输出达到 token 上限而中断。大多数情况下模型其实已经跑完大部分内容,只要再发一句 「继续」就能接着完成,完全不需要人工介入、也不需要切换模型。 这个插件就是干这件事的: 1. 监听会话事件流(api.events.mux); 2. 发现 turn/end 的 reason.kind 属于 error / interrupted / max-tokens 时, 等一个宽限期(默认 5 秒,给 host 留出重连/恢复的时间); 3. 宽限期后向该会话自动发送「继续」(可配置文本); 4. 带冷却期、连续次数上限、启动时扫描最近被中断的会话等防护措施,避免失控循环。 安装 方式 A:通过 npm 安装(推荐) 在 DSH 的 profile 目录(例如 ~/.dsh/profiles/web)里执行: powershell pnpm add @fr…
Recommendation signals
Meta
- License
- MIT
- Language
- JavaScript
- GitHub stars
- 0
- mo. downloads
- 264
- Last push
- 2026-08-20
- Created
- 2026-08-18
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- auto-retry, deepseek-harness, dsh, dsh-plugin
Related plugins
dsh-chat-import
Nwflower/dsh-chat-import
Import full-fidelity chat histories from 13 coding agents (Claude Code, Codex, ChatGPT, Cursor, Gemini, opencode, and more) as resumable DeepSeek Harness sessions, with reverse export back to Claude Code.
dsh-session-manager
dream12347/dsh-session-manager
DSH session manager: delete with trash/restore/purge, restore archived sessions, recent-activity stats, continue/pause, open log folder, unread markers, fork into a new chat, workspace grouping and sorting, context compaction threshold.
dsh-recall-plugin
limbo947/dsh-recall-plugin
Recall any user message: rolls the conversation (official session fork) and workspace files (per-message shadow git snapshots) back to before it, with a diff-preview confirmation panel.
dsh-message-edit
dsh-external/dsh-message-edit
DSH 插件:分支式消息编辑、重掷、重试与版本时间线 | DSH plugin: branch-based message editing, reroll, retry, version timeline