dsh-autoresume
by — · shengyvself/dsh-autoresume
★ 0 Stars
⑂ 0 Forks
Original language: English
About
Auto-resumes dsh sessions whose turn was left mid-flight by a web process restart or by a transient upstream failure, by injecting a 「继续(自动)」 ("continue (auto)") user message so the agent picks up exactly where it stopped — no manual click, no lost context. Triggering scenarios: (1) Upstream rate-limiting / overload — HTTP 429 with code RATE_LIMIT / rate_limit_exceeded / too_many_requests, or type=service_unavailable, or message containing "currently overloaded" / "please try again later" / "all endpoints are currently overloaded" / 5xx. (2) Upstream network / server faults — code SERVER / TIMEOUT / TRANSPORT / EMPTY_RESPONSE, or message matching NETWORK_FAILURE_PATTERN (upstream error / internal server error / service temporarily unavailable / timed out / fetch failed / ECONNRESET / ECONNREFUSED / ETIMEDOUT / socket hang up / network error / connection refused|reset|closed); supports DSH/OpenAI-style error envelopes {error: {code, type, message}}. (3) DSH web restart / crash leaving a turn mid-state — open turn/step without a matching end, pending tool/call without tool/result, or turn/end reason = interrupted. (4) Account-level billing / quota failures (v0.0.11+) — HTTP 402 with code QUOTA / insufficient_balance / payment_required, or message containing "insufficient balance" / "payment required" / "quota exceeded" / "quota exhausted" / "402" — recoverable by topping up the account or switching provider; same dead-loop guard as the other transient classes (no progress after a "continue" → settled, hands control back to the user). Skipped (avoid false positives / loops): assistant/message last, or turn/end reason=completed; cancelled, or non-network / non-billing errors (config / model errors like UNKNOWN_MODEL / MISSING_CREDENTIAL / NO_ADAPTER); dead-loop guard — if the previous "continue" injection produced no content or tool calls and the same error recurs (e.g. some stealth models returning empty under sustained overload, or a top-up that never landed), the plugin falls back to settled and hands the session back to the user. Guardian: 24h scan window + permanent liveWatch (bootGraceMs default Infinity). Set targetSessionId to watch a single session (legacy mode).
Compatibility
Versions
| Latest version | Published | Size |
|---|---|---|
| 0.1.0 | — | — |
| 0.1.1 | — | — |
| 0.1.2 | — | — |
| 0.1.3 | — | — |
Similar plugins
by Kr-ATG
DSH 对话流增强插件(零 DSH 源码改动,纯插件注入)。回合呈现:思考 chip(实时走秒 + 实时文字滚动)· 工具调用聚合 chip · 对话流卡片(步骤卡/总结卡)· 共享活动抽屉。正文增强:proto-tabs 可交互卡片 · diagram 流程图围栏 · 本地 HTML 内嵌预览(识别正文里的 .html 路径,host 读文件 + 同目录资源,iframe 沙箱隔离,高度自适应,
★ 3
JavaScript
Sep 13, 2026
dsh plugin --profile web add dsh-chat-flowDSH Desktop enhancement plugin: task-execution discipline plus a real relationship, per session. Discipline: adaptive protocol tiers (short for chat / full for tasks / lean for reasoning models), inte
★ 0
dsh plugin --profile web add lume-dsh-pluginby EternalNight996
🧑💼为 DeepSeek Harness Web 主窗口添加「工作角色」页签 + 「像素办公室」浮层:内置 508 张完整角色卡(The Agency 255 + agency-agents-zh 253),支持搜索 / 中英切换 / 分部分类选人;Canvas 2D 像素小人可站立、打字、踱步,浮层可拖动折叠缩放,选人即入列;闲聊台词可接 AI(内置或外部接口,20 字内中文)。npm 双
★ 3
↓ 114/wk
MIT
JavaScript
Sep 3, 2026
dsh plugin --profile web add dsh-ui-agents-pixeby Kr-ATG
DeepSeek Harness 会话增强全家桶:定时自动化任务引擎(cron 调度·绑定模型真实执行·Agent 建议确认)、会话产物卡片、对话退回与文件回退/修改历史对比、视图图块与消息导航、工具调用聚合、Markdown 渲染、模型推理等级同步与 Developer Role 兼容检测、AnySearch 网页搜索、本地记忆(hybrid 检索)、用量工作台与 Token 预算、技能管理、文
★ 17
JavaScript
Aug 27, 2026
dsh plugin --profile web add @dsh-external/dsh-webuiby heartmove
一个 DSH 网页插件,Codex 式侧边聊天的强化版本: 在右侧面板提供按主会话隔离的独立聊天,具备 Codex 式的智能体能力——继承主会话的 工具集、模型、思考难度与权限预设,能感知所在工作目录;选中对话内容即可提问,AI 回复 也能带回主会话(直接带回或摘要后带回,写入草稿或注入为折叠提示行)。 在 Codex 式能力之上,它额外支持:当主会话的智能体弹出问题弹框向你提问时,可以 把问题
★ 13
↓ 317/wk
MIT
TypeScript
Sep 10, 2026
dsh plugin --profile web add dsh-side-chat-plusRecall, edit-and-resend and regenerate, plus in-conversation versioning: a timeline of every rewind, artifact rollback (git-first, snapshot fallback), a fork map of explored paths, session lineage, an
★ 0
dsh plugin --profile web add dsh-retrace