Skip to content

Releases: kageroumado/adrafinil

Adrafinil 1.1.2

22 Jun 00:05

Choose a tag to compare

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.

Adrafinil 1.1.1

21 Jun 21:05

Choose a tag to compare

Adds an in-app update check: a "Check for updates" button in General settings that queries GitHub Releases and opens the download page when a newer version is available. It never downloads or installs on its own. Also includes small README and docs tidy-ups.

Adrafinil 1.1

15 Jun 03:18

Choose a tag to compare

Adrafinil 1.1 is a stability and hardening release, built on extensive real-world testing of the update, recovery, and safety paths.

Seamless updates

  • Replacing Adrafinil in your Applications folder now updates the background services automatically — no reboot needed to pick up a new version.
  • Reopening Adrafinil after quitting reliably puts it back to work, even immediately after an update.

Bulletproof recovery

  • Sleep is always restored after a crash, forced shutdown, or background-service restart — your Mac can never be left permanently awake.
  • The thermal and low-battery safety cutouts that protect a closed-lid Mac are now preserved across updates.
  • More resilient reconnection between the app and its background service.

Safer setup & uninstall

  • Hook installation never disturbs the editor/agent configurations it doesn't own, and a hook can never cause an agent command to fail.
  • Cleaner first-run setup and a more complete uninstall.

Security hardening

  • The privileged helper fails closed on its trust boundary and strictly validates all input it receives.

Adrafinil 1.0

05 Jun 23:42

Choose a tag to compare

Adrafinil keeps your Mac awake while an AI agent is working — even with the lid closed — then lets it sleep the moment the work is done. Close the lid, walk away; it wakes only for the work.

Highlights

  • Hook integration for 9 agents. A one-click installer wires Adrafinil into the hook systems of Claude Code, Codex, Cursor, Gemini CLI, Aider, Hermes, OpenCode, Cline, and Pi.
  • Sub-50ms CLI. adrafinil acquire / release are called from agent hooks and round-trip to the daemon in under 50ms, so they never stall a workflow.
  • Reference-counted wake assertions. Overlapping sessions stack cleanly; sleep unblocks only when the last one releases.
  • Thermal cutout. If skin/CPU temperature crosses threshold while the lid is closed, all assertions are force-released so a bag-bound Mac can't cook itself.
  • Idle release. Assertions whose owning process has died or gone CPU-idle for N minutes are dropped automatically.
  • Process sniffing (optional). The daemon can auto-acquire when it sees a known agent binary running, even without hooks installed.
  • Clean uninstall. Removes every hook entry it added across all agent configs.

Install

Download Adrafinil-1.0.dmg, drag Adrafinil to Applications, and launch. Requires macOS 26.4 or later. The standard install asks for admin rights once to register the privileged helper via SMAppService; a non-admin path drops the CLI in ~/.local/bin instead.