dsh-restart-control
Run the following command in DeepSeek Harness:
dsh plugin install y2zyyr/dsh-restart-control
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install y2zyyr/dsh-restart-control in the DeepSeek Harness terminal to install this plugin; full source is available at https://github.com/y2zyyr/dsh-restart-control
About this plugin
Restarting DSH Desktop or a dsh --profile web session usually means hopping back to the terminal and dealing with pkill, osascript, or sudo—convenient for a one-off, but easy to get wrong and hard to discover in daily use. dsh-restart-control drops a Restart DSH button right into Settings → General, guarded by a native confirmation dialog, so the entire restart becomes a single intentional click.
The restart follows DSH's official graceful path. In the desktop shell it calls desktopRuntime.requestRestart(), which tears down the full Cordis plugin tree (flushing settings and session state with a 5-second grace) before relaunching the app. In pure-web mode the plugin first spawns a detached relauncher, then sends itself SIGTERM so the dsh CLI built-in handler performs the same graceful teardown; once the old process is gone the relauncher re-execs the captured argv and cwd verbatim. No shell execution, no network calls, no credential or token access, and no telemetry at any point.
Built for developers who manage models through DSH Desktop or the dsh web CLI and want the restart to be as simple and safe as pressing a button—no memorised commands, no terminal window, and semantics that match the DSH official teardown contract exactly.
Use Cases
- Restart DSH Desktop with one click from Settings, no terminal needed
- Restart the dsh web session without opening a terminal
- Apply config changes instantly by restarting from the UI
Best For
- Developers who manage models via DSH Desktop daily
- Engineers operating services through dsh --profile web
- Users who prefer a button over memorised shell commands
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.