dsh-restart: One-Click Restart Plugin for DeepSeek Harness Desktop

The DSH desktop edition (Electron shell + managed server processes) does not provide an in-app restart entry: after modifying the plugin’s server-side code, you can only quit the tray and reopen it via a shortcut. This plugin adds that entry—a restart button directly on the window title bar.

This is a standard DSH plugin package installed in your DSH profile (desktop or web); it does not modify DSH’s core files.

Features

  • Title Bar Restart Button: Located at the far right of the title bar, to the left of the system window controls. Clicking it restarts the entire application.
  • Restart Only, No Close: Prevents accidental exits and does not trigger the shell’s crash recovery dialog.
  • Always Available: In environments without a desktop title bar (e.g., dsh web in a browser, or the macOS desktop), it automatically falls back to the session header toolbar, rendering the same button. The two positions are mutually exclusive.
  • Visual Feedback: Displays a full-screen prompt during restart; shows an error bubble if it fails.
  • Zero Third-Party Dependencies: Uses no runtime dependencies and downloads nothing from the network.

Installation

Install the plugin using the official command:

dsh plugin --profile desktop add github:kee0012/dsh-restart

A DSH restart is required after installation for the new server code and client bundle to take effect.

Usage

  1. After installing and restarting DSH, a circular arrow button appears on the right side of the title bar (or in the session header if the title bar is unavailable).
  2. Hovering over it shows the tooltip: “Restart DeepSeek Harness now (currently running tasks will be interrupted)”.
  3. Click → A full-screen “DSH is restarting…” prompt appears → The application quits and automatically reopens → Returns to the original workspace.

Notes

  • Whole Application Restart: All windows and unsaved input will be lost.
  • No Hot Reload for Server Code: After modifying the plugin’s src/, you must rebuild and restart DSH for changes to take effect.
  • macOS Status: The restart path for the macOS desktop has not yet been verified on physical hardware.
  • Plugin Conflict: If installed alongside the community plugin PangXitong/dsh-restart-button, two restart entries will appear. It is recommended to keep only one.
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye