Skip to content

[FEATURE]: Recovery agentic workflow after system wakeup #23287

Closed as not planned

Description

@artyconst

Feature hasn't been suggested before.

  • 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.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Apr 18, 2026
  2. added
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on Apr 18, 2026
  3. github-actions commented on Apr 18, 2026

    @github-actions
    Contributor

    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.

  4. removed
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    perfIndicates a performance issue or need for optimization
    webRelates to opencode on web / desktop
    on May 3, 2026
  5. Tranthanh98 commented on Jun 24, 2026

    @Tranthanh98
    1. Open System settings -> search "Prevent automatic sleeping on power adapter when the display is off" -> turn on the option

    2. run opencode in terminal by using caffeinate -is opencode

  6. artyconst commented on Jun 25, 2026

    @artyconst
    Author
    1. Open System settings -> search "Prevent automatic sleeping on power adapter when the display is off" -> turn on the option
    2. 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.

  7. github-actions commented on Aug 25, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions