Joshua1ya/dsh-tray-restart
Restarts the DSH Electron shell and its Host process from a session-header button or a Windows tray icon, without quitting by hand.
Plugin, skin and settings changes in the DSH desktop app only take effect on a full process restart, and doing that by hand means quitting the Electron shell, making sure the Host child died with it, and clearing the profile lock if the last run left one behind. This puts that sequence behind a small restart icon in the session header's utilities row and a tray icon with Restart DSH (app + host), Open DeepSeek Harness and Quit tray icon. A Host half exposes GET /dsh-tray-restart/status and POST /dsh-tray-restart/restart, the client half renders the button, and the tray is a WinForms NotifyIcon that polls the shell process so it disappears when the app does rather than lingering as a zombie icon.
Install
dsh plugin add dsh-tray-restartWindows only, and the README is upfront about it: the plugin lives on WinForms and taskkill, and on any other platform it does nothing and logs why. After installing, quit the app completely and reopen it once — client bundles and host rows are collected at startup, so a page refresh is not enough. From then on the header button and tray icon persist across launches. No build step and no dependencies.
Compatibility
Windows 10 or 11 with the DSH desktop app. Both paths kill the whole process tree (taskkill /T /F), wait for exit, clear a stale ~/.dsh/profiles/<profile> lock left by the previous run, and start the app again — which is the part a plain restart script usually gets wrong.
Details
- Repo: Joshua1ya/dsh-tray-restart
- Category: Tools & Capabilities
- Stars: 1
- Version: 0.2.0 (npm)
Alternatives
ShiXiangYu2/dsh-translate-pro · Johnny-xuan/dsh-paste-to-path · Shang-ZZ/dsh-diagram-design