AI Agent Hub
Back to plugins
🖥️

dsh-quick-restart-desktop

Client Updated 2026.08.16

Run the following command in DeepSeek Harness:

dsh plugin install MicroWearld/dsh-quick-restart-desktop

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

Run dsh plugin install MicroWearld/dsh-quick-restart-desktop in the DeepSeek Harness terminal; the source lives at https://github.com/MicroWearld/dsh-quick-restart-desktop, then restart DSH Desktop to activate the plugin.

About this plugin

Tweaking a DSH Desktop plugin and wanting to see the change take effect—only to hunt through the system tray or manually kill and relaunch the process—is a daily friction for desktop plugin developers. dsh-quick-restart-desktop consolidates two actions—restarting the app itself and switching to another profile then relaunching—into a single, predictable path that never touches the tray registry and requires no extra CLI flags.

The plugin exposes three entry points: a Quick Restart panel inside Settings, a standalone /desktop-restart page you can open directly in the browser, and two inline commands (/desktop-restart and /desktop-profiles). Restarting the app body calls desktopRuntime.requestRestart() for a clean generation shutdown and relaunch; switching profiles uses the official desktopProfiles.select() contract with target-availability validation. Both paths are fire-and-forget—accepted instantly without blocking—and the API binds exclusively to the 127.0.0.1 loopback, so cross-origin requests are rejected by design. In a plain web environment with no desktop runtime, the plugin loads without error and simply mounts no features.

It is built for developers who iterate on DSH Desktop plugins frequently, power users who hop between multiple profiles, and anyone who wants a single auditable restart entry point instead of relying on the system tray. Released under the MIT license and ready to use out of the box.

Use Cases

  • Relaunch the app instantly after editing a desktop plugin
  • Switch to a different profile and get a clean restart in one step
  • Trigger a full restart from Settings or a slash command, no tray needed

Best For

  • Developers who iterate on DSH Desktop plugins daily
  • Power users who juggle multiple profiles regularly
  • Desktop users who prefer a one-click relaunch over manual process killing