dsh-plugin-restart-desktop
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
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.