Repository navigation
Resume agents after PTY cold restore - #5045
Merged
Jinwoo-H merged 1 commit intoJun 9, 2026
Merged
Conversation
Co-authored-by: Orca <[email protected]>
Jinwoo-H
deleted the
Jinwoo-H/feature-improve-agent-session-restoration-for-ce
branch
June 9, 2026 21:36
Jinwoo-H
added a commit
that referenced
this pull request
Jun 11, 2026
Co-authored-by: Orca <[email protected]>
This was referenced Jun 18, 2026
7 of 10 tasks
enrick-dev
pushed a commit
to enrick-dev/orca
that referenced
this pull request
Oct 15, 2026
Co-authored-by: Orca <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Context
Issue #4698 asks whether Orca already does what Herdr does for restored agent sessions. The answer was: normal app crashes should keep daemon PTYs alive and Orca already reattaches those, and #4706 added provider-session resume for slept worktrees. The missing case was when the PTY daemon/session itself is gone: Orca restored scrollback into a fresh shell but did not launch the provider resume command, which matches the reported blank-terminal symptom.
This patch connects the existing provider-session metadata and resume-command builder to that cold-restore/fresh-fallback path.
Closes #4698
Closes #4557
Verification
Notes: lint passed with existing unrelated react-hooks warnings in WorktreeJumpPalette.tsx and useSettingsNavigationMetadata.ts.
Made with Orca 🐋