AI Agent Hub
Back to plugins
dsh-restart-web preview

dsh-restart-web

Client Updated 2026.08.14

Run the following command in DeepSeek Harness:

dsh plugin install shaoyi1991/dsh-restart-web

Paste the following prompt into your AI chat to install this plugin:

Run dsh plugin install shaoyi1991/dsh-restart-web inside DeepSeek Harness, or obtain the source from the GitHub repository at https://github.com/shaoyi1991/dsh-restart-web.

About this plugin

After running for a while, DSH can freeze or stop responding, and installing new plugins or changing settings often requires a reload — but hunting down the process and killing it by hand is tedious and risky. dsh-restart-web turns that chore into a single Restart button in the DSH Web settings panel: one click safely restarts the entire DSH process, and the browser auto-refreshes and reconnects after five seconds, no terminal required.\n\nUnder the hood, the restart logic lives in a standalone Node.js script that spawns as a detached child process. On macOS and Linux it uses lsof, kill, and process-group escape so DSH's own exit cleanup cannot terminate it; on Windows it falls back to netstat and taskkill. Because the script resolves its absolute path via process.execPath, it works regardless of PATH, even when DSH was launched through npx.\n\nIt is well suited for anyone who manages DSH from the browser and wants a reliable, one-click safe restart without reaching for a terminal — especially developers juggling macOS, Linux, and Windows in the same workflow.

Screenshots

Use Cases

  • DSH freezes or stops responding, restart the entire process safely with one click
  • Reload DSH after installing new plugins or modifying configuration
  • DSH memory usage is too high, restart quickly to release resources

Best For

  • Developers managing DSH from the browser who do not want to dig through terminal commands every time it freezes
  • Teams maintaining macOS, Linux, and Windows in the same workflow
  • Ops engineers who frequently reload DSH configurations or plugins and value operational efficiency