AI Agent Hub
Back to plugins
🖥️

Restart-service-button

Client Updated 2026.08.20

Run the following command in DeepSeek Harness:

dsh plugin install DeBug-lzy/Restart-service-button

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

Run dsh plugin install DeBug-lzy/Restart-service-button in your terminal; the source code is available at https://github.com/DeBug-lzy/Restart-service-button

About this plugin

Restarting the DSH web backend typically means alt-tabbing to a terminal, force-killing the Node process, and relaunching it—a tiny context switch that drags you out of whatever you were reading or drafting. Restart-service-button turns that whole ritual into a two-step click on the DSH web UI. First click flips the button into a red confirmed-restart state with a five-second auto-cancel window; second click fires the restart. About two seconds later the label switches to Refresh page, and one final click reloads the browser once the backend is back online.

Because the plugin is a persistent web-profile install rather than a session-scoped overlay, the button keeps living across restarts. The Settings panel exposes top and right pixel offsets so you can park the button exactly where you want it; values write to localStorage and survive restarts, reverting to the 80/20 defaults only if you wipe browser data. Styling pulls from DSH design tokens with a transparent background and a subtle hover, so it sits quietly in the corner instead of competing with content. Security is built in: the restart API endpoint is restricted to loopback, meaning a DSH web instance exposed on your LAN cannot be triggered remotely.

This plugin is aimed at developers who run dsh web as a local productivity surface and prefer a one-click in-browser restart over juggling terminal windows. Windows is the primary, fully tested platform; a best-effort POSIX implementation via nohup covers macOS and Linux, though it has seen less real-world testing.

Use Cases

  • Restart the dsh web backend straight from the browser UI without alt-tabbing to a terminal to kill and relaunch the process
  • Double-click to bounce the service during rapid debugging cycles without memorising CLI invocations
  • Nudge the button to a corner that does not overlap your content, then let it persist across restarts

Best For

  • Developers running dsh web locally who prefer to stay in the browser rather than juggling terminal windows
  • Efficiency-driven users who want to minimise context switches between UI and CLI
  • Developers whose primary platform is Windows with occasional macOS or Linux sessions