shaoyi1991/dsh-restart-web

shaoyi1991★ 1JavaScript最后同步: 2026-08-14

在 GitHub 打开

DSH Web 设置页新增的「重启」入口:点击即可安全重启整个 DSH 进程,页面约 5 秒后自动重新连接。

README 摘要

dsh-restart-web English 中文 Preview / 效果预览 The screenshot shows the added Restart entry in DSH Web Settings. 下图展示安装插件后 DSH Web 设置页新增的「重启」入口:点击即可安全重启整个 DSH 进程,页面约 5 秒后自动重新连接。 One-click Restart for DeepSeek Harness Adds a Restart button to the DSH Web settings panel. Click it to safely restart the entire DSH process — the browser auto-refreshes after 5 seconds. Install Or from GitHub: After install, restart DSH once, then open Settings → Restart in the Web UI. Cross-platform Platform Method Status macOS lsof + kill + process-group escape ✅ Linux lsof + kill + process-group escape ✅ Windows netstat + taskkill ✅ The restart logic runs as a standalone Node.js script ( lib/restart.js ), spawned as a detached process so it survives DSH's exit cleanup on all platforms. How it works Why not just call dsh ? DSH is often installed via npx and not on PATH inside a subprocess's clean environment. This plugin uses process.execPath + process.argv[1] to get absolute paths that always work — no PATH dependency. License MIT DeepSeek Harness 一键重启插件 在 DSH Web 设置面板中添加 「重启」 按钮。点击后安全重启整个 DSH 进程,浏览器 5 秒后自动刷新重连。 安装 或从 GitHub 安装: 安装后重启一次 DSH,然后在 Web UI 中打开 设置 → 重启 即可使用。 跨平台支持 系统 重启方式 状态 macOS lsof + kill + 进…

在 GitHub 查看完整 README →
Tools / Devdeepseek-harnessdsh-pluginweb ui

分类