dsh-self-restart

Turns "restarting the host" into one interrupt that many sessions can share. Several sessions queue onto the same restart (8 by default, configurable, joinable at any time including mid-wait); the host is closed once and relaunched once; then each waiting session is woken separately with its own reason and starts running its own work without waiting for the others. Each session decides independently whether to resume, one failed delivery never affects the rest, and a session can drop only itself without cancelling everyone else's restart. Windows desktop only.

Overview

Turns "restarting the host" into one interrupt that many sessions can share. Several sessions queue onto the same restart (8 by default, configurable, joinable at any time including mid-wait); the host is closed once and relaunched once; then each waiting session is woken separately with its own reason and starts running its own work without waiting for the others. Each session decides independently whether to resume, one failed delivery never affects the rest, and a session can drop only itself without cancelling everyone else's restart. Windows desktop only.

Installation

Install from GitHub

dsh plugin --profile web add github:NOOBnoob163/dsh-self-restart

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.