dsh-power

Windows-only power card injected into the DSH page: the artwork carries two hit zones (left shuts down, right restarts), the first click only turns the card into a yes/no question and the second click fires, and the restart engine stops only this instance's process tree, waits for the port to free, relaunches outside the host's Job Object and confirms the new instance answers on the plugin's own status route.

Overview

Windows-only power card injected into the DSH page: the artwork carries two hit zones (left shuts down, right restarts), the first click only turns the card into a yes/no question and the second click fires, and the restart engine stops only this instance's process tree, waits for the port to free, relaunches outside the host's Job Object and confirms the new instance answers on the plugin's own status route.

Installation

Install from GitHub

dsh plugin --profile web add github:nanshang328/dsh-power

Installing from GitHub runs the project's build script, which pnpm blocks until you allowlist it — run the command once and pnpm prints the exact key to add under `allowBuilds` in ~/.dsh/profiles/web/pnpm-workspace.yaml.

Version compatibility

Compatibility is unconfirmed. Check the project documentation for supported versions.

Installation notes

  • May run terminal commands