github kageroumado/adrafinil v1.6.0
Adrafinil 1.6.0

latest releases: v1.8, v1.7.0
one month ago

Half of this release is about what happens when Claude Code stops to ask you something — and when you walk back to answer, there's a second tax waiting: the lock screen, asking for the password it asked an hour ago. Dantrolene exists for exactly that reflex. On the WiFi you call home, the lock chain never starts — the screen still dims and darkens on schedule, but coming back is one keypress, no password — and everywhere else your Mac locks like it should. It auto-holds an Adrafinil assertion while it works, so the pair keeps a home Mac awake and answerable.

As for this release: two features, and both began as community contributions — one arrived as a pull request, the other as a fully-designed issue.

New

  • Adrafinil updates itself — downloaded from GitHub Releases, verified against the running app's code signature, and installed at a quiet moment: the Mac idle, and the daemon reporting no agents being kept awake — so an update can never restart the app out from under a working agent. It's on by default with a Settings toggle; turn it off and Adrafinil still tells you when a version is out, with an Update Now button that installs on your word. Either way, a What's New window shows the changelog before an update and announces one after ("Updated to 1.6.0" in the menu). The waiting-for-a-quiet-moment machinery is Tiptoe over mxcl/AppUpdater, contributed — gate design and all — by @artginzburg. (#21)

  • Claude Code's questions no longer pin your Mac awake — a question, a plan approval, or a permission prompt stops the work without firing any hook, so the hold used to stand until the CPU-idle sweep noticed (~48 minutes in the report). Adrafinil now reads the session's own status file — the same signal claude ps uses, flipped by every way a dialog can resolve: answered at the keyboard, answered from your phone over Remote Control, or auto-continued by a question timeout. While a session waits, a new Settings → Safety policy decides the hold's fate: keep the Mac awake, sleep after a grace period (the default, 10 minutes — long enough to answer from your phone, bounded so an unanswered question can't hold the Mac for hours), or sleep right away. Answer late, after the Mac already slept and woke, and the resumed session gets its protection back automatically. The menu says what's happening the whole time: "Waiting for you — approve Bash", with the countdown. Reported with a full trace, and the policy — including why an unconditional release would break answering from your phone — designed by @Conte777. (#20)

Still on macOS 15 Sequoia? @valentine maintains a backport fork.

Don't miss a new adrafinil release

NewReleases is sending notifications on new releases.