← 开源
kageroumado

adrafinil

Keep your Mac awake only while AI coding agents are working

ApplicationsPersonalProductivitySwift
在 GitHub 打开
增长势头
+224 小时新增 Star+0.4%
512
Star
24
Fork
7
贡献者
创建于 2026-06-05 · 更新于 2026-10-16 · 今日第 4312 名
主要开发者
kageroumadotylerolsonartginzburg
README

Adrafinil

Adrafinil keeps a Mac awake through a closed lid while a coding agent works, then releases the hold when the turn ends. Hooks track active work across agents; a thermal cutout and automatic release of abandoned holds limit unattended runs.

Highlights

  • Keep a closed-lid Mac running for the duration of agent work.
  • Track overlapping agents independently; sleep resumes after the last hold ends.
  • Limit unattended holds with a thermal cutout and abandoned-session cleanup.

Full feature list

  • Hooks for Claude Code, Codex, Cursor, Gemini CLI, Devin, Aider, Hermes, OpenCode, Cline, and Pi.
  • Per-session acquire/release, timed holds, and manual Let it sleep control.
  • Closed-lid sleep control through a privileged helper.
  • CLI and MCP access; custom integrations through hooks or command wrappers.
  • Thermal cutout and automatic release of abandoned holds.
  • Optional detection of running agent processes, lid-close audio confirmation, and a lid-open activity/temperature summary.
  • Hook removal during uninstall.

Notes

排名相邻
同类项目