893413974-bit/dsh-setting-restart
Puts a one-click DSH restart row at the bottom of Settings, then reconnects the tab and shows a green Connected state.
Adds a one-click restart row to the very bottom of Settings, General in the DSH web UI. The restart is a real process restart, not a UI reload: the host spawns a detached helper, exits, and the helper re-spawns the same dsh command with the same executable, arguments, working directory and environment. Once the new instance binds the same port the browser tab reconnects on its own and the row confirms it with a green Connected state, so you know the service is actually back rather than merely assumed to be. The host invocation goes through the DSH Typert RPC registry as settingRestart/restart, so it is typed rather than shelled out.
Install
dsh plugin --profile web add dsh-setting-restartStep 1 of the README's two-step install: it runs pnpm add inside the profile directory. Step 2 is mandatory and is not automated, so the page states it: append an insert patch to the profile's user patch layer at $DSH_HOME/profiles/web/cordis.patch.yml ($DSH_HOME defaults to ~/.dsh) to mount the plugin as a loader entry. The README notes the same patch can go in the home-level $DSH_HOME/cordis.patch.yml to enable it for every profile.
Compatibility
Requires DeepSeek Harness 0.1.0-rc.6 or newer on the web profile, and Node.js 20 or newer. The UI copy is bilingual, English and Simplified Chinese, following the DSH client conventions. The settings row is pinned with the maximum slot order, so it stays last no matter how many rows are added above it later.
Details
- Repo: 893413974-bit/dsh-setting-restart
- Category: Tools & Capabilities
- Stars: 22
- Version: 1.0.0 (npm)
Alternatives
Joshua1ya/dsh-tray-restart · 863683348/dsh-plugin-education · mirelconstantin/dsh-postgres-expert