Repository navigation
Offer to resume a session's agent when it is not running - #265
Merged
Merged
Conversation
…er its panes, keys, menus and a row hint Start empty, a skipped session, or an agent that exited leave a plain shell. While heed has the agent's session id and the agent still has the conversation, a strip says so, with Resume its conversation (gu), Start fresh (gf) and Dismiss (gq). Resume reuses the launch dialog's code, including starting fresh when the agent lost the session. Co-Authored-By: Claude Opus 5.5 <[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.
A session that came back as a plain shell (Start empty, a skipped session, or an agent that exited) now says so with a banner over its panes: Resume its conversation (
gu), Start fresh (gf), Dismiss (gq). Also in the right-click menu, the Session menu and the sidebar row ("agent not running · resume").The rule (
ResumeBanner.offer): not parked, not on a host; agent can resume; heed kept the agent session id and the agent still has the conversation; no agent or shell pane of the session has a running agent (AgentPresence: started by heed, hooks, screen reading, zmx reattach). Saved state is not used. Resume and Start fresh reuseResume.candidates, so a lost conversation starts fresh from the prompt.Verified: fmt, lint, test (2460), tutor-check (0 problems); mutations of the rule fail the new tests. Docs: docs/sessions/resume.md, shots sessions/resume-banner and resume-later.
🤖 Generated with Claude Code