StarPivotNet/dsh-plugins-public--packages-restart-continue ↗★ 0

@starpivot/dsh-restart-continue

重启后自动恢复中断的对话 适合需要在DSH重启后自动继续未完对话的用户。

包名
@starpivot/dsh-restart-continue
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
版本
0.1.0
最近更新
2026年9月20日

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#8d5d23bff5ac296c2fb545bd563761ae71ca6b3c&path:packages/restart-continue

@starpivot/dsh-restart-continue

After dsh web restarts, automatically cold-resume user root conversations interrupted in the last 24 hours and let the model continue.

General Settings → Continue after restart can turn this off (on by default).

Behavior

  • Trigger: one host-process boot sweep; does not wait for a browser connection.
  • Targets: ordinary user root conversations (not subagent / automation) that have a project cwd.
  • Qualify: latest turn is interrupted (including an open tail) and the interruption is within 24 hours.
  • Action: agents.resume with the stored preset, then one plugin-source Continue notice.
  • Conversations stuck on approval / question / Plan confirm also continue.
  • Subagents are not started.
  • Archived, blank, completed, older than 24 hours, or already Continued sessions are skipped.
  • Dedup with Host dsh-host-apiproxy interrupt resume: at most one Continue per session per boot.

The Continue text keeps the Host sentence “Continue the work that was interrupted by a restart.” and reminds the model: inspect the workspace first; retry only read-only or idempotent calls; verify side effects instead of replaying blindly.

Install

dsh plugin --profile web add github:StarPivotNet/dsh-plugins-public#path:packages/restart-continue
# or
dsh plugin --profile web add @starpivot/dsh-restart-continue

Then restart dsh web. Refresh the page to see the settings row.

Verify

node scripts/qualify.test.mjs