What problem does this solve?
If I kickstart a long-running agentic session and forget to run caffeinate in the background, MacOS will transition the laptop to suspend mode and it will interrupt or delay the work I expected the coding agent to be doing. Even when I remember I have to run caffeinate, it's a cumbersome process, made harder due to the fact that usually the agent will return to the prompt when it finishes, rather than ending a process, which prevents me from passing a PID for caffeinate to watch.
Proposed solution
Supacode is already aware of when the agent hands control back to the user, which is used for notifications. It could offer a toggle to prevent suspend-on-idle when an agent is working.
Alternatives considered
Something similar could be implemented with agent hooks, but it seems natural to have a toggle in the Supacode UI, so we can easily see when it's on or off.
Supacode version
0.10.6
Are you planning to build this yourself?
Before submitting
What problem does this solve?
If I kickstart a long-running agentic session and forget to run
caffeinatein the background, MacOS will transition the laptop to suspend mode and it will interrupt or delay the work I expected the coding agent to be doing. Even when I remember I have to runcaffeinate, it's a cumbersome process, made harder due to the fact that usually the agent will return to the prompt when it finishes, rather than ending a process, which prevents me from passing a PID forcaffeinateto watch.Proposed solution
Supacode is already aware of when the agent hands control back to the user, which is used for notifications. It could offer a toggle to prevent suspend-on-idle when an agent is working.
Alternatives considered
Something similar could be implemented with agent hooks, but it seems natural to have a toggle in the Supacode UI, so we can easily see when it's on or off.
Supacode version
0.10.6
Are you planning to build this yourself?
ready.Before submitting
ready.