01
Agent runs
Start the run. Walk away.
Keep the Mac awake while the run is active.
FOR OVERNIGHT VIBE CODING
Claude Code, Codex, and terminal agents often need hours. Lid Awake keeps macOS awake during the run. Closed-lid mode uses an approved helper so the MacBook can stay closed.
Close the lid · Keep the run alive · Pause to restore sleep
FEATURES
01
Agent runs
Keep the Mac awake while the run is active.
02
Overnight sessions
Keep the Mac available so Codex, Claude Code, or a terminal agent can continue.
03
Battery guard
Optionally set a cutoff so Lid Awake pauses before the Mac drops too low.
04
Display control
Turn the display off to save battery while the Mac stays awake for the job.
05
Lock on close
Optionally ask macOS to lock the screen when the lid closes.
06
Guardrails
Battery cutoff, Low Power Mode, pause timers, and one-click restore keep it reversible.
HOW IT WORKS
You start an agent run, realize it needs hours, and do not want to leave the MacBook open on your desk. Lid Awake holds wake assertions; closed-lid mode also needs the approved helper.
SPECS
| PLATFORM | macOS 14 or later |
| ARCHITECTURE | arm64 · Apple Silicon |
| WAKE METHOD | IOPMAssertion · system sleep, optional display assertion |
| CLOSED-LID | pmset -a disablesleep (approved helper) |
| HELPER | LaunchDaemon · SMAppService · XPC |
| UPDATES | Sparkle 2 · signed appcast (EdDSA) |
| DISTRIBUTION | Developer ID · Notarized · DMG + zip · SHA-256 |
| LICENSE | MIT |
INSTALL
Homebrew
brew tap thuongtin/tap && brew install --cask lid-awake
Manual download
shasum -a 256 -c LidAwake-0.1.2-macos.dmg.sha256
macOS 14 or later · Apple Silicon (arm64) only