DeepSeek-chan-sleep-shutdown

Windows only: a night-and-moon themed floating button (a sleepy DeepSeek-chan whale mascot, awake/sleeping artwork) in the bottom-right corner arms the plugin — click it to power the machine off once every root Agent session has gone idle, and click it again to disarm. The button is draggable (position remembered in localStorage), automatically dodges other plugins' corner popups, and survives the frontend re-rendering it away. When the batch finishes a 60 s cancellable countdown starts (configurable 10–600 s) with the remaining seconds on the button and a matching banner: clicking Cancel runs shutdown /a and disarms the mode, and any new session starting during the countdown aborts it. A right-click menu on the button switches the shutdown condition between only-on-success and shutdown-regardless, persisted across restarts in $DSH_HOME/deepseek-chan-sleep-shutdown.json. Zero runtime dependencies.

Overview

Windows only: a night-and-moon themed floating button (a sleepy DeepSeek-chan whale mascot, awake/sleeping artwork) in the bottom-right corner arms the plugin — click it to power the machine off once every root Agent session has gone idle, and click it again to disarm. The button is draggable (position remembered in localStorage), automatically dodges other plugins' corner popups, and survives the frontend re-rendering it away. When the batch finishes a 60 s cancellable countdown starts (configurable 10–600 s) with the remaining seconds on the button and a matching banner: clicking Cancel runs shutdown /a and disarms the mode, and any new session starting during the countdown aborts it. A right-click menu on the button switches the shutdown condition between only-on-success and shutdown-regardless, persisted across restarts in $DSH_HOME/deepseek-chan-sleep-shutdown.json. Zero runtime dependencies.

Installation

Install from npm

dsh plugin --profile web add deepseek-chan-sleep-shutdown

Resolves a published tarball rather than cloning the repository, and installs without any extra setup. Swap `web` for your profile name if you run another one.

Install from GitHub

dsh plugin --profile web add github:weiplwei/DeepSeek-chan-sleep-shutdown

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.