corgi agent awake
corgi agent awake
Keep this machine awake for as long as the agent daemon runs
Synopsis
Without this, corgi holds the machine awake only while a session runs. Between sessions the laptop sleeps, and a phone tap reaches nothing.
corgi agent awake on hold the wake lock for the daemon's whole life corgi agent awake --for 6h hold it until then, whatever on/off says corgi agent awake --display on keep the display lit too while the lid is open corgi agent awake off back to holding it per session (the default) corgi agent awake what is set now
The daemon reads the setting every half minute: no restart. With the lid closed the display is held awake too: the panel is off either way, but once macOS counts the display as asleep it pauses the apps the agents run in - what a caffeinate -dimsu in a terminal was for. Off by default: a machine that never sleeps is a flat battery, so it is the machine owner's call. A closed lid still sleeps the machine unless sudo pmset -a disablesleep 1, or the sudoers rule from corgi agent away, which lets corgi set it while the daemon runs.
corgi agent awake [on|off] [flags]
Options
--display string on|off: keep the display lit too while the lid is open, so the screen never locks (macOS caffeinate -d)
--for string Hold the lock for this long (6h, 90m), on or off
-h, --help help for awake
Options inherited from parent commands
--describe Describe contents of corgi-compose file
--dockerContext string Specify docker context to use, can be default,orbctl,colima (default "default")
-l, --exampleList List examples to choose from. Click on any example to download it
-f, --filename string Custom filepath for for corgi-compose
--fromScratch Clean the .corgi/corgi_services folder before running
-t, --fromTemplate string Create corgi service from template url
--fromTemplateName string Create corgi service from template name and url
-g, --global Use global path to one of the services
--interactive Force interactive prompts even when no TTY/agent detected
--isolate string Run this workspace under a named lease: own port block, own database names, own containers
--json Emit machine-readable JSON output
--privateToken string Private token for private repositories to download files
-o, --runOnce Run corgi once and exit
--silent Hide all welcome messages
SEE ALSO
- corgi agent - Keep Claude Code Remote Control running for your corgi workspaces