Repository navigation
v1.0.0 — hardened release
DeepSeek Harness 侧边栏一键重启插件。
安装
dsh plugin --profile <profile> add dsh-restart-button-1.0.0.tgz重启 Harness 后,侧边栏底部会出现刷新图标按钮。
内容
- 宿主半区:
/__local-restart/ping与/__local-restart/restart,受 Harness 连接会话保护 - 客户端半区:
sidebar.footer.action插槽按钮,中英文内置文案 - 独立 helper:关闭旧进程树、等待端口释放、拉起替代进程;Windows 上从
System32\taskkill.exe结束进程树 - 失败保护:单飞 409、先鉴权后收 body、spawn 失败返回 500 且应用继续运行、日志文件独占创建
校验
sha256sum -c SHA256SUMS.txtWindows 桌面版实测:按钮点击 → 进程退出 → 同端口拉起 → 页面刷新回到应用;未授权请求 401,并发重启 409,缺失 helper 时 500 且服务不退出。详见仓库 docs/verification.md。
许可
MIT © 2026 Lightfrom
One-click restart button for DeepSeek Harness. See README.md for the full English documentation.