@github.awesome: Long agent runs have one very dumb enemy: your Mac going to sleep mid-task. Adrafinil is a macOS menu bar app that keeps the machine awake only while AI coding agents are actually working. Hooks for Claude Code, Codex, and others acquire and release sleep blocks per session. It even ref-counts overlapping work, drops idle or dead processes, and has a thermal cutout for lid-closed runs. #github #opensource