# dsh-autoresume — DeepSeek Harness プラグイン導入マニフェスト

> 生成日時: 2026-09-17 22:21 · 出典: https://deepseekmodel.com/plugins

## 概要

在 dsh-web 重启之后（或运行期间再次出现网络/瞬时故障时），自动给被打断的会话注入「继续（自动）」，让 agent 接着上次停下的位置继续跑——不需要用户手动点、不会丢上下文。触发场景：(1) 大模型拥挤 / 排队——上游限流 429（错误码 RATE_LIMIT / rate_limit_exceeded / too_many_requests），或返回 type=service_unavailable，或消息命中 &quot;currently overloaded&quot; / &quot;please try again later&quot; / &quot;all endpoints are currently overloaded&quot; / 5xx 等特征，属于&quot;等一会儿就能恢复&quot;的瞬时故障，自动接着跑。(2) 上游网络 / 服务端故障——错误码 SERVER / TIMEOUT / TRANSPORT / EMPTY_RESPONSE，或消息命中网络特征正则 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），支持 {error: {code, type, message}} 错误信封解包。(3) DSH web 重启 / 崩溃造成 turn 停在中间态——turn/start 后无 turn/end、step/start 后无 step/end、有 tool/call 但无对应 tool/result、或最后一个 turn/end 原因 = interrupted。(4) 账户余额 / 配额类失败（v0.0.11+ 新增）——HTTP 402（错误码 QUOTA / insufficient_balance / payment_required），或消息含 &quot;insufficient balance&quot; / &quot;payment required&quot; / &quot;quota exceeded&quot; / &quot;quota exhausted&quot; / &quot;402&quot;——属于「充值账户或换 provider 后可恢复」的瞬时故障，触发后自动接着跑；与前三类共用死循环守卫（注入「继续」后无产出再失败 → 转 settled 不注入，交还用户处理）。不动的场景（避免误注入 / 死循环）：最后事件是 assistant/message（已完成）、turn/end 原因=completed；cancelled，或非网络 / 非账户类 error（配置/模型错误如 UNKNOWN_MODEL / MISSING_CREDENTIAL / NO_ADAPTER / INVALID_MODEL_INFO）；死循环守卫——上次注入「继续」之后若模型持续返回空内容（典型如某些隐身模型过载时，或充值后仍未到账），自动转 settled 不再注入，交还用户。守护窗口：默认 24h 扫描窗口 + 永久 liveWatch 守护（bootGraceMs 默认 Infinity）。配 targetSessionId 时只盯单会话（旧行为）。

## プラグイン情報

| カテゴリ | メンテナ | GitHub スター | ライセンス | 主要言語 | 最終プッシュ |
| --- | --- | --- | --- | --- | --- |
| ワークフローと自動化 | shengyvself | 1 | — | — | — |

## インストール

```bash
dsh plugin --profile web add dsh-autoresume
```

## 手順

1. DeepSeek Harness（DSH、MIT のオープンソースエージェントランタイム）を導入して起動 — `npx @deepseek-ai/dsh web`
2. 上記コマンドを実行（CLI がプラグインを解決し出所を検証）
3. dsh plugins list で確認し、必要なら Harness を再起動

> バージョン固定は #commit を付けて指定します。

## 導入前の確認

プラグインは dsh プロセスの権限で動作し、導入時にコードが実行される可能性があります。事前にソースとライセンスを確認し、再現性が必要な場合はコミットハッシュを固定してください。本マニフェストは DeepseekModel が公開カタログから整理した参考情報であり、第三者プラグインの安全性を保証するものではありません。

---

- リポジトリ: https://github.com/shengyvself/dsh-autoresume
- プラグインページ: https://deepseekmodel.com/plugin-detail?id=shengyvself%2Fdsh-autoresume
- 出典: https://deepseek-harness-plugin.com/zh-CN/plugins/ · 生成日時 2026-09-16
