AI Agent Hub
Back to plugins
🖥️

dsh-better-restart

Client Updated 2026.08.25

Run the following command in DeepSeek Harness:

dsh plugin install lovstudio/dsh-better-restart

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

Run dsh plugin install lovstudio/dsh-better-restart in your terminal to install; source code is available at https://github.com/lovstudio/dsh-better-restart

About this plugin

The DeepSeek Harness web surface ships without a one-click restart control. After tweaking configuration or swapping plugins, you have to go back to the terminal and relaunch the process. dsh-better-restart adds a prominent Restart app button in the settings header. Clicking it opens a confirmation dialog that polls agent activity every 1.5 seconds; when conversations are in flight it reports the live count and requires an explicit acknowledgement, otherwise it proceeds straight to the restart and reloads the current tab in place.

Under the hood the plugin prefers the launcher-provided appRestart service to re-boot the entire process. When that service is absent it falls back to a root-include recompose: the loader disables and re-enables its top-level cordis:include entry, re-reads the composed cordis.yml plus user patch layers, and restarts every mounted plugin and the web server while the Node process itself stays alive, so your terminal session is never lost. The plugin also exposes status() and restart() through the betterRestartUi Cordis service, letting the plugin marketplace and other browser-side modules reuse the same restart logic.

If you find yourself repeatedly adjusting DSH configuration or swapping plugins and would rather avoid round-tripping to the terminal every time, this zero-dependency, purely runtime plugin is purpose-built for you.

Use Cases

  • Restart in one click after tweaking config or swapping plugins instead of going back to the terminal
  • Safely confirm a restart while conversations are in flight, preventing accidental interruption of running agent loops
  • Let the plugin marketplace or other browser plugins reuse the same restart logic via the betterRestartUi Cordis service

Best For

  • Developers who frequently tweak DSH configuration or plugin stacks
  • Users working with the plugin marketplace who need to load or unload plugins often
  • Web-first users who want to keep the whole workflow in the browser and minimize terminal round-trips