Skip to content

Adrafinil Release Notes

@kageroumado · Keeps a Mac awake while AI agents work with the lid closed, then allows it to sleep when their sessions end.

CaskUtilitiesAuto-updates 535
Install command
brew install --cask adrafinil
30-day installs
60
#1302 in App
1-year installs
274
Last 365 days
Latest version
1.15.0
Download size
5.0MB
dmg
Release cadence
Weekly
5 releases in 30 days
  1. 1.15.0

    Latest

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Adrafinil 1.15.0 adds an off-by-default setting that keeps a plugged-in MacBook awake with the lid closed, supports Google Antigravity and the agy CLI, and fixes background holds ending early. (GitHub Release v1.15.0, 2026-12-01) https://github.com/kageroumado/adrafinil/releases/tag/v1.15.0

    Awake
    New off-by-default setting keeps a plugged-in MacBook awake with the lid closed
    Antigravity
    The Antigravity app and the agy CLI keep the Mac awake while they work
    Holds
    Background holds now last their full TTL instead of ending after 90 seconds
    Thermal
    A thermal cutout now clears only after ten sustained cool minutes
    Sleep
    After a safety cutout with the lid closed, asks the Mac to sleep outright
  2. 1.14.4

    Patch

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Adrafinil 1.14.4, released 19 November 2026, stops other Mac apps from toggling its sleep block and keeps agent hooks working in oddly named folders.

    Security
    Other apps can no longer toggle sleep blocking via the helper.
    Hooks
    Agent hooks work in folders named with quotes, $, or backticks.

    Adrafinil 1.14.4 keeps a Mac awake while AI coding agents are working. Released on 19 November 2026, it stops other apps from turning sleep blocking on or off through its helper, and it keeps Aider, Cline, and Hermes hooks working when the app sits in a folder whose name contains quotes, $, or backticks.

    Source: https://github.com/kageroumado/adrafinil/releases/tag/v1.14.4

  3. 1.14.2

    Expand

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Adrafinil 1.14.2 keeps a Mac awake for Claude Code sessions that use a custom config directory, and drops a false Codex-hooks warning.

    Adrafinil 1.14.2, released on November 12, 2026, lets people who run Claude Code from a custom profile keep that Mac awake during those sessions, and stops a false warning about Codex hooks.

    • Adrafinil sees Claude Code sessions from a profile with a custom CLAUDE_CONFIG_DIR: install-hooks --config-dir <dir>. Thanks @zerosrat.
    • No false "Codex hooks untrusted" warning when ~/.codex/config.toml quotes its keys.

    Source: https://github.com/kageroumado/adrafinil/releases/tag/v1.14.2

  4. 1.14.1

    Expand

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Updates now restart the app on their own.

    Adrafinil 1.14.1 was released on 2026-11-03 and updates now restart the app on their own.

    • After an automatic update, Adrafinil no longer keeps running the old version until you quit it or keeps offering the update it had already installed; it quits and reopens on the new version.
    • When updating from 1.14.0, the old version runs the install, so you may need to quit and reopen Adrafinil once afterwards; later updates restart on their own.

    Source: https://github.com/kageroumado/adrafinil/releases/tag/v1.14.1

  5. 1.14.0

    Expand

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Adrafinil 1.14.0 keeps the Mac awake only while OpenCode is working and supports OpenCode 2.x.

    Adrafinil 1.14.0 was released on 2026-10-31, and keeps the Mac awake only while OpenCode is working and supports OpenCode 2.x.

    Changed

    • OpenCode now keeps your Mac awake only while it is working: the hold lasts one turn in every mode (the terminal app, opencode serve, web and acp), so the Mac can sleep between turns, and a long-running OpenCode server no longer holds it awake for every chat it has hosted (#34, #35).
    • OpenCode 2.x is supported: the plugin now works on both 1.x and 2.x, and Adrafinil rewrites it the first time you open this version.
  6. 1.13.1

    Expand

    OpenNavo editorial Added to Homebrew

    CompatibilitymacOS 26 or later

    Update Now always installs the newest release instead of a previously cached download. Updates are checked every four hours, and when opening the menu or waking the Mac if the previous check is over an hour old.

    Update Now always installs the newest release instead of a previously cached download. Updates are checked every four hours, and when opening the menu or waking the Mac if the previous check is over an hour old.

  7. 1.13.0

    Expand

    OpenNavo editorial Added to Homebrew

    Compatibilityarm64: macOS 26.4 or later · x86_64: macOS 26.4 or later

    Adds an opt-in anonymous daily check-in with disclosed fields and deletion when disabled. The app and README now support Japanese.

    Adds an opt-in anonymous daily check-in with disclosed fields and deletion when disabled. The app and README now support Japanese.

    Source

  8. 1.12.0

    Expand

    OpenNavo editorial Added to Homebrew

    Adds hooks for Devin CLI and Devin Desktop’s Devin Local agent, plus MCP integration. With “Keep the Mac awake for them too” enabled, a same-kind wrapper and child process get one wake hold, preventing a detected hold from outliving the completed turn.

    Editorial summary

    Adds hooks for Devin CLI and Devin Desktop’s Devin Local agent, plus MCP integration. With “Keep the Mac awake for them too” enabled, a same-kind wrapper and child process get one wake hold, preventing a detected hold from outliving the completed turn.

    Complete official English original (unabridged)

    Download: Adrafinil-1.12.0.dmg

    • Devin support. Adrafinil installs hooks for the Devin CLI and Devin Desktop's Devin Local agent, so a Devin turn keeps the Mac awake until it finishes, and offers its MCP server to Devin the same way it does to Claude Code. Contributed by @tylerolson.
    • With "Keep the Mac awake for them too" on, an agent that runs as a wrapper plus a child process of the same kind gets one hold instead of two, so a sniffed hold no longer outlives the turn that ended it.

    Official sources

  9. 1.11.0

    Expand

    OpenNavo editorial Added to Homebrew

    Claude Code Monitors and background commands keep the Mac awake for their full TTL. Thermal cutouts now require ten cool minutes to clear, and a safety cutout with the lid closed and no external display explicitly requests sleep.

    Download: Adrafinil-1.11.0.dmg

    • Claude Code Monitors keep the Mac awake. With "Keep the Mac awake for background shell commands" on, a Monitor now holds for its own deadline plus a minute, so a watch that outlives the turn no longer lets the Mac sleep under it. Contributed by @elboletaire.
    • Background holds last their full TTL. A hold for a backgrounded command or a Monitor used to be released 90 seconds after the agent went quiet, because the idle check measured the agent's own CPU rather than the task. Only the TTL, or the agent exiting, ends them now.
    • A thermal cutout clears only after ten sustained cool minutes. A bursty load that dips below the margin between batches could clear the latch, take the Mac back and reheat it.
    • After a safety cutout with the lid closed and no external display, Adrafinil asks the Mac to sleep outright instead of leaving it to idle sleep, which any remaining assertion can defer.

    Official sources

  10. 1.10.0

    Expand

    OpenNavo editorial Added to Homebrew

    This release restores update delivery after an earlier release-name mismatch and clarifies update failure messages.

    Updates
    Update Now and automatic updates work from this release onward.Failure messages distinguish a missing release download from a failed download.

    Adrafinil 1.10.0 addresses an update-delivery issue: Adrafinil 1.9 was published under a name the updater could not find, so earlier versions did not offer that update. From this release onward, both Update Now and automatic updates work.

    Update errors now explain whether the release has no download or whether the download itself failed.

    The release provides Adrafinil-1.10.0.dmg.

    Source: Adrafinil v1.10.0 release

  11. 1.9

    Expand

    OpenNavo editorial Added to Homebrew

    Adds Simplified Chinese localization, changes long-running agent timers to show hours, and documents a terminal-installation workaround.

    Localization
    Adds Simplified Chinese throughout the app and safety warnings.
    Timers
    Long-running agent timers now display hours.
    Install
    README documents a fix for terminal installation.

    Adrafinil now supports Simplified Chinese. The menu, Settings, setup, Codex trust walkthrough, What's New, “while you were away” notifications, and daemon safety warnings are translated. The app follows the macOS language, and durations are displayed naturally in English and Chinese.

    Agent timers show hours for work lasting longer than an hour—for example, 1h 15m instead of 75m 3s.

    The README now documents a one-line fix for a terminal installation issue: a copy made with curl and cp retains the com.apple.provenance attribute, which can prevent the background service from registering without showing an error.

    Source: Adrafinil 1.9 release

  12. 1.8

    Expand

    OpenNavo editorial Added to Homebrew

    A macOS 27 polish release adjusts the popover’s glass styling and rounds its action buttons.

    Popover
    Adjusted the popover to fit macOS 27’s glass styling.Rounded Settings and Quit buttons to match the bottom bar.Aligned button height and spacing with the bottom and side edges.Updated quit confirmation with a Cancel circle and red ✕.

    Adrafinil 1.8 is a polish release for macOS 27. It adjusts the popover to fit the system’s glass styling. Because macOS 27 renders glass buttons as wide capsules, the Settings and Quit buttons had appeared as pills; they are now round, matching the bottom bar’s height and keeping consistent spacing from the side and bottom edges. The quit confirmation also follows the updated treatment, with a Cancel circle and a red ✕.

    Source: Adrafinil v1.8 release

  13. 1.7.0

    Expand

    GitHub Release Added to Homebrew

    Before the changelog, a word from the family: Adrafinil has siblings. Refrax is a maximalist browser — what a browser becomes when one person builds it for themselves and nobody tells them to stop. Phosphene puts live video wallpapers on your Mac, on the desktop and the lock screen both. And Dantrolene keeps the lock chain from ever starting on the WiFi you call home, so an agent's question is one keypress away instead of a password. All free and open source — go poke around.

    As for this release: follow-through. Both fixes close gaps that careful bug reports exposed, and the updater those reports arrived through now runs lighter.

    Fixed

    • Pi holds can no longer outlive Pi by a day. Pi runs as a Node-hosted process, so the process-tree walk that binds a hold to its owning agent never found it — and a hold whose release event went missing had no owner to die with and no CPU to go idle, leaving it standing until the 24-hour backstop. Pi extensions run inside the host process, so the extension now hands over its own PID outright, valid under every wrapper npm, Homebrew, or Nix can produce, which puts the dead-process and CPU-idle nets back in business; a 4-hour TTL, refreshed every turn, backstops the case where everything else is missed. Already-installed extensions migrate on the next launch. Diagnosed down to the exact resolver line by @iluvshiwoon. (#26)

    • adrafinil release now takes the keys status --json prints — and says so when nothing matched. Feeding a displayed key like opencode:ses_xyz back without --tool used to mint unknown:opencode:ses_xyz, a key that could never match, and exit 0 anyway — a cleanup script could "release" two dozen assertions and touch nothing. A displayed key now releases as-is, and a release that matched nothing exits 1 for scripts, not only at a terminal. Agent hooks are unaffected: they name their tool, and their routine safety-net double releases stay quiet no-ops. Reported, retested on 1.6.0, and pinned down to the exact asymmetry by @t-choudhury. (#25)

    Changed

    • One update check a day, not two. The self-updater and the "a new version is out" notice used to each ask GitHub separately — the same question, twice, with the answer to one thrown away. Tiptoe 1.1.0 added a notify-only mode for exactly this shape of app, so the single daily check now serves both: with auto-install on it downloads and waits for a quiet moment as before, and with it off the same check powers the Settings row, the menu-bar card, and Update Now — which now downloads on demand instead of needing a second updater standing by. Mode and release shipped by @artginzburg, who built the updater in the first place. (#21)

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

  14. 1.6.0

    Expand

    GitHub Release Added to Homebrew

    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.

  15. 1.5.4

    Expand

    GitHub Release Added to Homebrew

    Six fixes — most of them from two exceptional community reports — and a new capability for agents that look at the screen.

    Fixed

    • The app no longer quits itself two seconds after closing Settings — macOS automatic termination treated the window-less menu-bar app as disposable and took the daemon's wake-blocking down with it. Diagnosed down to the AppKit log records by @Conte777. (#18)
    • /clear and plan approvals no longer strand a phantom "1 agent working" — Claude Code retires its session id inside the same process on /clear, /resume, and clear-context plan approvals, so the old session's hold lingered until the idle sweep (64 minutes in the report) and counted against the per-process cap. Adrafinil now releases exactly at that boundary via the SessionEnd hook — and holds the post-clear plan run, which previously ran entirely unprotected (its first message fires no UserPromptSubmit). Existing installs migrate automatically on first launch. Traced to the exact session handover by @Conte777. (#19)
    • The menu bar can no longer claim "No agents active" while a hold is live — a stale status reply racing a fresh push could clobber the UI until the next state change. Status payloads now carry an ordering generation and stale ones are dropped. Captured live, daemon and widget disagreeing, by @t-choudhury. (#22)
    • The popover survives a fleet — with dozens of active holds the list grew past the screen and pushed the footer off entirely; it now caps its height and scrolls internally. (#23)
    • Homebrew installs of OpenCode are tracked again — the real binary Homebrew links to is named opencode.exe (yes, on macOS), so holds bound to the wrong process and the sniffer never saw OpenCode at all. (#24)
    • release accepts every key form status prints, and fails loud — releasing the tool:session form no longer silently succeeds while releasing nothing, and a no-match release exits 1 at a TTY (hooks stay fail-soft). (#25)

    #23–#25 were reported, root-caused across the process table, and offered as fixes by @t-choudhury — thank you both.

    New

    • Display-class holds — adrafinil hold --display (also acquire --display, and keep_display_awake on the MCP tool) keeps the display awake too, and wakes it if it is already dark. For agents that read the screen: when the display sleeps, every app's accessibility tree collapses to a stub, so a normal hold keeps the machine running while blinding the agent. Nothing changes for headless agents — the panel still sleeps by default — and pause, idle release, and the thermal/battery cutouts all outrank a display hold.

      A display hold deliberately stops at the lock screen (locked-but-awake is fully readable). If you also want the lock itself held off while you're on your own network, that is exactly what Dantrolene does — and it auto-holds an Adrafinil assertion while it works, so the pair covers the whole story.

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

  16. 1.5.3

    Expand

    GitHub Release Added to Homebrew

    One fix — again from the community. Thank you!

    • Pi no longer keeps the Mac awake for a whole session — the hold was taken the instant pi launched and kept until the process exited, so opening Pi pinned the Mac awake even while the TUI sat idle at the prompt. It was wrong in the other direction too: since the only acquire happened at launch, one idle release left the rest of the session unprotected with nothing to re-acquire it. Pi now acquires when a turn starts and releases once the agent has settled — after any automatic retry, compaction, or queued follow-up — with a release on shutdown as a safety net. Existing installs migrate automatically on first launch. Reported, diagnosed, and verified on-device by @elboletaire, whose patch is what shipped. (#17)

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

  17. 1.5.2

    Expand

    GitHub Release Added to Homebrew

    Three fixes — and the first release with community contributions. Thank you all!

    • Cursor no longer leaves stale wake holds — the session-scoped hooks kept the Mac awake long after agents finished (Cursor chats are long-lived, and every hold pinned to the one Cursor app process, out of reach of the usual cleanup). Cursor now acquires per prompt and releases when the response finishes, with a one-hour TTL backstop refreshed on each turn. Existing installs migrate automatically on first launch. Thanks to @smokelore for the excellent report, including the on-device-verified fix. (#15)
    • The daemon no longer crash-loops when a helper call fails — an XPC error handler trapped on Swift's actor-isolation check instead of taking the designed reconnect/backoff path. Fixed by @valentine (found while building a backport, see below), independently confirmed by @austintraver. (#12)
    • Fixed a crash in the hidden-icon fallback window — on macOS 26.5, sizing it through preferredContentSize could recurse inside AppKit's constraints pass and terminate the app. Fixed by @austintraver. (#14)

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

  18. 1.5.1

    Expand

    GitHub Release Added to Homebrew

    Two fixes for menu-bar edge cases.

    • The hidden menu-bar icon is no longer a dead end — with "Show in menu bar" off, reopening Adrafinil (Finder/Spotlight) had no surface to click. It now hosts the popover in a real window, so Settings and every control stay reachable. (#11)
    • Hardened the "set up again" button — it could reach for a nil app delegate; re-running setup is now always safe.
  19. 1.5

    Expand

    GitHub Release Added to Homebrew

    Your Mac can now tell you when it's going back to sleep — and you can release it from anywhere.

    • Pre-sleep sound cues (Settings ▸ When sleep resumes) — an audible cue plays the moment before a closed-lid Mac resumes sleeping, with a distinct motif for each reason: work complete, hold expired, safety cutout, or released by you. Pick a sound (or silence) per cause, with previews. Because Adrafinil is the sleep gate, the cue is played out before sleep is unblocked — it can never be cut off by the sleep it announces. (#8)
    • adrafinil release --all — the SSH counterpart of the menu bar's force release: drop every keep-awake hold in one command, no hunting for hold keys via status. The daemon attributes it to you, so a closed-lid remote release is acknowledged with the "released by you" cue.
  20. 1.4.0

    Expand

    GitHub Release Added to Homebrew

    Keep-awake now covers background sub-agents and background shell tasks, and you can wire up any agent yourself.

    • Sub-agents & background workflows — Adrafinil stays awake while an agent's background sub-agents or workflows are still running, even after the main turn ends, so delegated long-running work isn't cut off when the lid closes. (#7)
    • Background shell commands (opt-in, Settings ▸ Safety) — keep the Mac awake while run_in_background shell commands run; time-bounded so a long-idle job won't pin your Mac awake. (#7)
    • Add your own agent (Settings ▸ Agents) — generate the exact hook snippets to wire up any agent Adrafinil doesn't natively support. (#6)
  21. 1.3.0

    Expand

    GitHub Release

    Codex fixes

    • Codex sessions now release when a turn ends. Previously, holds could linger after Codex finished working — your Mac stayed awake until you restarted Adrafinil. Adrafinil now releases the moment a Codex turn completes, and recognizes Homebrew-installed Codex (not just npm).
    • Codex hook trust. Codex only runs hooks you've approved with /hooks. The setup flow and the Agents settings tab now walk you through trusting Adrafinil's hooks and verify it's done.

    Existing users

    • Automatic hook updates. Adrafinil now updates your agents' hooks when you install a new version — no need to re-run setup. Codex users: approve the new hook once with /hooks.

    Menu bar

    • The eye now shows a small dot when something needs your attention — a hook needs reconnecting or trusting, or an update is available.
    • Thermal and low-battery cutouts now show a small thermometer/battery badge on the eye, instead of replacing it with a full icon.
    • An available update is surfaced right in the menu.
  22. 1.2.0

    Expand

    GitHub Release

    Keep awake, from the menu bar

    You can now keep your Mac awake for a set time without touching the terminal. Click Keep awake in the menu-bar popover and pick a duration — 15m, 30m, 1h, a custom value you type or step, or ∞ to stay awake until you turn it off. It's the same kind of time-boxed hold that adrafinil hold and the MCP keep_awake tool place, now a click away (requested in #1).

    Also in this release

    • Quit confirmation now grows from the ✕ as a compact strip instead of resizing the whole popover.
    • Hold timers count down in the same friendly 1h 59m style as agent timers.
  23. 1.1.2

    Expand

    GitHub Release

    Fixes a first-run installation issue where Adrafinil's background service could fail to register (a macOS Background Task Management collision), leaving it unable to keep your Mac awake with nothing to tell you why. Adrafinil now detects an unreachable or unapproved background service, alerts you, and attempts to repair it automatically — re-registering its services and verifying they come back; if it can't, it walks you through a quick manual fix in Login Items. Also clarifies the MCP keep_awake tool so agents know a hold blocks lid-closed (clamshell) sleep entirely, not just idle sleep.