AI Agent Hub
Back to plugins
dsh-plugin-restart-desktop preview

dsh-plugin-restart-desktop

Client Updated 2026.08.26

Run the following command in DeepSeek Harness:

dsh plugin install StabCut/dsh-plugin-restart-desktop

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

Run dsh plugin install StabCut/dsh-plugin-restart-desktop in DeepSeek Harness to install it; the source is available at https://github.com/StabCut/dsh-plugin-restart-desktop.

About this plugin

Restarting DSH Desktop is a small but frequent chore that usually means digging through an external menu. This plugin solves exactly one problem: it places a Restart Desktop button in the sidebar settings row, right beside the gear icon, so you can trigger an orderly relaunch without leaving your current workspace.

The behavior is deliberately minimal. A click opens a secondary confirmation dialog; once you confirm, Electron relaunch is invoked to cleanly restart the main process while a brief Restarting overlay keeps the UI responsive. Button labels follow the DSH language system, switching between Chinese and English instantly with no extra configuration. Under a headless web profile the plugin gracefully surfaces a friendly error message instead of throwing.

For anyone new to DSH plugin development, this package is a near-minimal working example: the five-piece structure, a cordis.patch.yml insert patch, host and client cooperation, and a Typert Remote call pattern are all visible in just a handful of lines. It also doubles as a smoke test for the full install pipeline (registry entry, pnpm install, restart, button visible) with zero configuration and zero side effects.

Screenshots

Use Cases

  • Quickly restarting DSH Desktop during everyday use
  • Validating the plugin install and registration pipeline end to end
  • Serving as a minimal runnable reference template for new plugin development

Best For

  • Everyday DSH Desktop users
  • DSH developers new to plugin development
  • Engineering teams needing a minimal example for integration checks