1 points · by Charlon · 2mo ago · 1 comment
Agents Sleep Preventer hooks into the agents' own configs (Claude Code, Codex, Hermes), so it knows when each session is actually working. It keeps the Mac awake only then, lid closed included, and lets it sleep when they're done.
The menu bar lists every session by project and branch: which are working, which need you and why ("Claude needs your permission to use Bash"), and the background commands each one still runs, with a Stop button. "Sleep when done" puts the Mac to sleep once everything finishes, with an optional time limit for agents that poll forever.
It also does local push-to-talk dictation (Whisper or Parakeet, nothing leaves the Mac). Free, MIT, Rust + Swift. macOS 14+ on Apple Silicon, plus a Windows build.
When I close the lid while an agent is working, the Mac plays a little sound, so I know it will keep working during the night.
There are already 3 forks and 13 stars on my project and I'm keen to have more feedback and more people to improve this!