Skip to content

[Feature]: Improve agent session restoration for certain edge cases #4698

Description

@matheuspimentaa

Problem or use case

Herdr, which is a terminal multiplexer, has a really cool feature that restores agent sessions when it is closed. And I’d like to see the same thing in Orca, so that when I close Orca without killing the terminals, when I reopen it, it automatically restores the agent sessions.

Example from Herdr: https://x.com/herdrdev/status/2062143081328083088

Proposed solution

Restoring agent sessions.

Alternatives or additional context

No response

Activity

  1. added
    enhancement
    on Jun 5, 2026
  2. mmarabel commented on Jun 5, 2026

    @mmarabel
    Contributor

    @matheuspimentaa +1 on this would be great to have

  3. AmethystLiang commented on Jun 5, 2026

    @AmethystLiang
    Contributor

    @matheuspimentaa @gatsby74 Orca currently already does full session recovery already upon restarting.

    Are you running into issues where it doesn't restore the sessions for you?

  4. mmarabel commented on Jun 5, 2026

    @mmarabel
    Contributor

    @AmethystLiang it's very hit or miss but more miss than working. Same as explained here -> #4557

    But it happens basically at any point, so whether you shut the Orca down and you reopen it, the session usually won't restart. It will just show the terminal that you had the session on, but it's outside of the session, so it's like a blank terminal line. You have to say claude continue to continue and so on, and it's the same thing if you wake a sleeping session or even if you restart when you update. Sometimes it doesn't do it, so it's really hit-or-miss. Even if you open a new terminal, even if you select a default agent, it will open as a blank terminal. So there's definitely some bugs there I think

  5. JackFinnegan commented on Jun 5, 2026

    @JackFinnegan

    @matheuspimentaa @gatsby74 Orca currently already does full session recovery already upon restarting.

    Are you running into issues where it doesn't restore the sessions for you?

    It works for me most the time.

    But sometimes it doesn't.

    Orca just crashed on me and 4 terminal sessions look like they've 'resumed' (their title in the sidebar is correct) but actually haven't: they are just new terminals i.e. not running the agent session I'd left running.

    Orca crashes quite a lot e.g. twice in the last 4 hours.

    So this is a severe problem for me.

    Orca is a great tool though so I hope you can fix this.

    Thanks.

  6. AmethystLiang commented on Jun 6, 2026

    @AmethystLiang
    Contributor

    @JackFinnegan @gatsby74 thx for sharing the details. will look into the edge cases / bugs

  7. changed the title [-][Feature]: Agent session restoration is enabled by default[/-] [+][Feature]: Improve agent session restoration for certain edge cases[/+] on Jun 6, 2026
  8. added theissue type on Jul 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions