You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FEATURE]: Recovery agentic workflow after system wakeup #23287
I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
OpenCode Desktop app - When running some long task on Laptop in my case Mac OS on MBP, and me as a user walk away from laptop till tasks are running, the laptop is entering in to the sleep mode which interrupt the tasks execution, but UI still showing as task is running. Only way to check as execution was stop is through monitoring the requests to llm provider, and reset task manually by Press stop button and ask agent to continue.
It would be nice if App will be able to recovery its current workflow without manual actions.
If your issue is distinct from all of the above, please clarify what's different. Otherwise, consider adding a "+1" reaction or comment on the most relevant existing issue.
Open System settings -> search "Prevent automatic sleeping on power adapter when the display is off" -> turn on the option
run opencode in terminal by using caffeinate -is opencode
The feature request is not about to keep system awake but to recovery opencode app after exit from the sleep mode, and also show to me as a user as the job was suspended and can be continued via press an button. Coz at the moment of time when I placed the feature request the UI shows as task is still ongoing even there was nothing happen, which is confusing, also pay attention as my primary interaction is through the Desktop App and not via the terminal. Also during the day I don't use power adapter as mostly spend it on the GO.
Activity
github-actions commentedon Apr 18, 2026
This issue might be a duplicate of existing issues. Please check:
If your issue is distinct from all of the above, please clarify what's different. Otherwise, consider adding a "+1" reaction or comment on the most relevant existing issue.
Tranthanh98 commentedon Jun 24, 2026
Open System settings -> search "Prevent automatic sleeping on power adapter when the display is off" -> turn on the option
run opencode in terminal by using caffeinate -is opencode
artyconst commentedon Jun 25, 2026
The feature request is not about to keep system awake but to recovery opencode app after exit from the sleep mode, and also show to me as a user as the job was suspended and can be continued via press an button. Coz at the moment of time when I placed the feature request the UI shows as task is still ongoing even there was nothing happen, which is confusing, also pay attention as my primary interaction is through the Desktop App and not via the terminal. Also during the day I don't use power adapter as mostly spend it on the GO.
github-actions commentedon Aug 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.