Independent power control for DeepSeek Harness
Self-contained power control for DeepSeek Harness: sidebar power button with upward restart/shutdown menu, Windows-shutdown-style overlay, own restart & shutdown engine (no dependency on other plugins).
Project overview
Restart DSH; a power button appears in the sidebar footer. Requires Node ≥ 22.19. Configuration
The plugin is configured through the profile's cordis layer (cordis.patch.yml or the settings UI): Key · Default · Meaning Key: enableModelTool · Default: true · Meaning: Register the restartharness model tool. Set false to keep restart exclusively on the GUI button and /restart. Key: maxDelayMs · Default: 5000 · Meaning: Upper bound (ms) for the model tool's delayMs argument. The effective floor is 1000 ms.
Shutdown posts /api/dsh-power-button/shutdown and terminates without relaunching. Because it is irreversible (the process must be started manually), the GUI confirms shutdown in a dialog before it fires — a second click is required. (/shutdown and the model tool remain single-action by design; the model never exposes shutdown.)