Wake the master agent after any DSH restart
edusrez/dsh-smart-restart · skills
Wakes the main agent after any DSH restart so interrupted work resumes automatically — adds a restart tool and an optional canary that validates the boot and warns instead of breaking.
★ 7GitHub stars
0Forks
2026-08-23Last updated
TypeScriptLanguage
MITLicense
Key features
- A real-time restartthe agent restarts the service (canary pre-flight passing, Canary: passed — restarting…), and the plugin's boot notification brings the very same session right back — the conversation continues automatically, no user prompt needed.
- Fails fast when restartUnit is not configured and auto-detection from /proc/self/cgroup finds no unit either (ok: false, error restartUnit not configured) rather than guessing a unit — an empty restartUnit is auto-detected first, and only a failed detection produces that error.
- It tracks the last active session and, on shutdown (SIGTERM/SIGINT), persists a shutdown-notice.json
Requirements
- DSH 0.1.0-rc.7+ / 0.1.1-rc.x — a long-lived instance with a live main-agent session (the web / GUI profile).
- This plugin is designed for a continuously-running service whose main agent stays resident
Install command
dsh plugin --profile web add github:edusrez/dsh-smart-restart