dsh-restart-continue
已验证@starpivot/dsh-restart-continue · v0.1.0 · MIT · Web 界面
After dsh restarts, auto cold-resume user root conversations interrupted in the last 24 hours
安装
dsh plugin add @starpivot/dsh-restart-continue 用 dsh --profile default --dump-config 确认 layer 已生效 —— 参见安装指南。
源码
发布到 npm 但没有公开仓库。安装前请检查包内容。
标签
说明文档
@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.resumewith 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-apiproxyinterrupt 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