dsh-restart
Run the following command in DeepSeek Harness:
dsh plugin install xingyingyuzhui/dsh-restart
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install xingyingyuzhui/dsh-restart in DeepSeek Harness to install this plugin. Source code is available at https://github.com/xingyingyuzhui/dsh-restart .
About this plugin
After letting dsh web run for a while, you inevitably need a clean restart to free memory or refresh internal state. But if dsh web is running as a background service, killing the process from the terminal is both tedious and risky—a careless termination can leave the service gone for good.
dsh-restart adds a Restart button at the bottom of the Settings sidebar. Once confirmed, it triggers the restart via POST /dsh-restart/now. The key feature is smart adaptation: when the process is supervised by macOS LaunchAgent (KeepAlive) or systemd, the plugin simply exits and lets the supervisor respawn it; when no supervisor is present, it spawns a fresh instance first and then exits, so the service never drops. You can also force the behaviour with the DSH_RESTART=exit or DSH_RESTART=respawn environment variable.
Ideal for users who run dsh web as a persistent background service and want a one-click restart without ever leaving the browser.
Use Cases
- Restart dsh web from the browser after days of accumulated memory
- Restart the background service after deploying an update without opening a terminal
- Safely restart under macOS LaunchAgent or systemd without losing the process
Best For
- Developers who run dsh web as a persistent background service
- Users managing processes via LaunchAgent or systemd
- Users who prefer browser-based management over terminal toggling
Related Plugins
A service-oriented sidebar framework for DSH, offering a full workbench with file explorer, embedded browser, real terminal, Git panel, and extensible plugin services.
A beautiful, practical Claude Code-style TUI plugin with pixel whale top bar, flowing glow title, real-time status line, streaming thought expansion, time rewind, context progress bar and TPS gauge — zero core changes.
The plugin market for DeepSeek Harness: browse/search/one-click install community plugins and themes, with updates, backup/restore, hot disable, diagnostics, and AI fix.
A persistent whale widget on the DSH web UI that shows DeepSeek balance, today's usage, and per-turn cost, with drag-and-snap and sound effects.