I'm Dawon Lee, solo developer of Lidnight (https://lidnight.app/en/?from=pr...).
If you start a Claude Code or Codex run on a MacBook and shut the lid, macOS sleeps and cuts off the run. If keeping the Mac awake is all you need, free MIT tools like Adrafinil and StayAwake already do that for $0.
Even after sleep is handled, runs often stall on a permission prompt or hit a weekly quota window at 3 AM and wait until morning. Lidnight (v1.11.87, native Swift, Apple Silicon, macOS 13+, Apple-notarized) watches active agent hooks and keeps things bounded with ~10-minute idle sleep, a configurable battery floor (10% default), and thermal cutoffs (45 C default on lid-closed battery; critical thermal state on AC).
Open-lid monitoring is free. Lid-closed keep-awake is Pro ($9.99 USD one-time for 1 Mac / $14.99 for 3 Macs, plus regional tax; 14-day or 5-run trial), along with phone alerts, approve/deny/reply over an E2EE relay (commands flagged as risky stay Mac-only), opt-in auto-continue for Claude Code and Codex after a usage limit resets, and a wake-up recap.
Keeps your MacBook awake with the lid closed, even on battery, while Claude Code, Codex, Gemini CLI or Ollama work, then lets it sleep when they're done. Claude Code and Codex are tracked precisely via hooks (40+ other tools by process and GPU activity), including Claude's usage-limit waits so auto-continue survives the night. Approve permission prompts from a notification, a bunny by the notch, or your phone (Pro, end-to-end encrypted). Battery and heat protection built in.