Insomnia is an open-source macOS menu bar app that safely keeps your MacBook awake with the lid closed for timed agent sessions. Version 0.2 adds a session CLI, a redesigned menu bar and settings, and lid-closed support on external displays.