dsh plugins中文
← Back to popular plugin directory

restart · DSH desktop client

Winter-And-You-Gone/dsh-restart · skills

GitHub repository for the DeepSeek Harness ecosystem.

★ 0GitHub stars
0Forks
2026-08-16Last updated
JavaScriptLanguage
License

Project overview

DeepSeek Harness(DSH)纯插件:会话头部加「🔄 重启 DSH」按钮,让整个桌面应用一键重启; 若重启时当前回合仍在运行,重启后自动"继续"接着跑。 不修改任何 @deepseek-ai/dsh- 源码。 功能:一键重启 DSH(🔄 重启 DSH)+ 条件自动续跑

桌面应用(Electron)对 host 只有监督、没有自动复活:host 一退出,桌面主进程理应 app.quit()——但实测经常不退出(变成无子进程的僵尸一直挂着),导致只等它自然退出 永远等不到。所以: 1. index.js 先 spawn 出 revive.mjs(detached,宿主退出后仍存活); 2. revive.mjs 给旧实例 8 秒宽限自然退出,不退就 taskkill /T /F 强杀并确认死透; 3. 再拉起桌面可执行文件;新实例 5 秒内退出则按 2s/3s/5s/8s 退避重试(最多 5 次)。

全程日志:/.dsh/storages/dsh-restart-revive.log。 新版 DSH Desktop(dsh-plugin-desktop v2)直接走原生 relaunch

Install command

dsh plugin --profile web add github:Winter-And-You-Gone/dsh-restart
View GitHub repository ↗Back to popular plugin directory