06 / Independent project
Trinetra
Keeps a Mac awake while its agents work.
An open-source macOS menu bar app I built so remote-controlled coding agents keep running with the lid closed, then let the Mac sleep when the work is done.
Visit the sitePurpose / Layer 01
What makes it worth building?
Remote control lets you drive a coding agent from your phone, but only while the computer stays awake. Closing the lid or a long pause between prompts puts the Mac to sleep and the session stops.
Approach / Layer 02
How the pieces work together.
I track agent activity through Claude Code, Codex, Gemini CLI and Cursor hooks, decide the power state in one pure, tested function, and keep the privileged part to a tiny helper that can only switch lid sleep on or off.
Trade-off / Layer 03
Where the boundary belongs.
Keeping a closed laptop awake costs battery and heat, so the battery floor and the automatic revert are mandatory rather than settings.
Notice the work
Hold the Mac awake
Let it sleep again
03 / Open the artifact
Follow the work.
The project site has a HyperFrames demo and setup guide; the repository has the design documents, source and tests.
Visit the site04 / Trade-offs and limits
Keep the boundaries visible.
Keeping a closed laptop awake costs battery and heat, so the battery floor and the automatic revert are mandatory rather than settings.
Early v0.1, built from source with a personal signing team; a notarized download is on the roadmap. A system monitor and health alerts are the first switch-on modules of a wider Mac toolkit.