dsh-wake-guard
Keeps a Modern Standby laptop reachable for a grace period after it wakes, so a remote client has time to reconnect, and adds Sleep and Restart buttons to the panel. Sleep enters S0ix (any key wakes it) by turning the display off, never S4 hibernation; Restart relaunches DSH through Electron, or through a detached helper that waits for the old process to exit first. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Overview
Keeps a Modern Standby laptop reachable for a grace period after it wakes, so a remote client has time to reconnect, and adds Sleep and Restart buttons to the panel. Sleep enters S0ix (any key wakes it) by turning the display off, never S4 hibernation; Restart relaunches DSH through Electron, or through a detached helper that waits for the old process to exit first. Its HTTP routes have no DSH access check, so a web page open in your browser could call them.
Installation
Version compatibility
Compatibility is unconfirmed. Check the project documentation for supported versions.