Asteroid0449/dsh-restart-resume ↗★ 0
dsh-restart-resume
Drain-aware supervised restart, Web status countdown, and same-session continuation for DeepSeek Harness.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Asteroid0449/dsh-restart-resume说明文档
阅读完整 README ↗配置
| 配置项 | 默认值 | 范围/作用 |
|---|---|---|
defaultDelaySeconds | 10 | 5–3600,进入排空前的计划延迟 |
drainTimeoutSeconds | 1800 | 300–86400,等待工作排空的上限 |
finalCountdownSeconds | 10 | 5–300,退出前的最终倒计时 |
pollIntervalMs | 250 | 100–2000,状态检查间隔 |
maxRestarts / restartWindowSeconds | 见 patch | 重启频率上限 |
resumeTtlSeconds | 86400 | 待续接 marker 有效期 |
resumePrompt | 内置安全提示 | 追加到原会话的固定续接文本 |
单次 dsh_restart 可设置 delaySeconds、maxWaitSeconds、resumeMode 和 afterRestart,但不能突破安全下限。