woyeshishen/dsh-restart-backend

woyeshishen★ 0PowerShellLast synced: 2026-08-16

Open on GitHub

为 DeepSeek Harness Web 页面左下角添加“重启后端”按钮,一键重启 dsh 后端进程。

README excerpt

dsh-restart-backend 中文 English Adds a Restart Backend button to the bottom-left of the DeepSeek Harness (DSH) Web sidebar. Click it to restart the dsh web backend process in one step. When the button is clicked, the Host side spawns a detached watchdog that waits for the current dsh web process to exit and release its port, then starts a fresh dsh web process with the same startup arguments. The old process exits gracefully through ctx.appExit . Features 🔄 One-click restart Restart the backend from the Web UI without opening a terminal 🧱 Watchdog restart Detached process survives the old backend exiting, then relaunches with the same args 🔒 Loopback-safe by default Only 127.0.0.1 / localhost can trigger a restart unless remote restart is enabled 📦 Install once, keep working Auto-loads at DSH startup, survives restarts Install One-liner (recommended) Windows (PowerShell) macOS / Linux dsh plugin command From npm From GitHub After install, the plugin auto-mounts into the profile; restart DSH (or hard-refresh the page) to activate. Usage Once installed, open the DSH Web page. A circular ↻ Restart Backend button appears at the bottom-left of the sidebar. Click it when you need to r…

View full README on GitHub →
Tools / Devdeepseekdeepseek-harnessdshdsh-plugindsh-pluginssidebar

Category