Repository navigation
Resume terminal attaches within one shell session; open changed files in subfolder projects - #218
Merged
henrychu04 merged 1 commit intoOct 20, 2026
Conversation
…nged files in subfolder projects Each terminal session restarts its event sequences, so the attach replay window matched a client's cached cursor from an earlier session by number and appended the new session's output to the old buffer. Sessions now carry an attachEpoch in their snapshots; the client caches it and sends afterEpoch with afterSequence, and the helper replays only when the epoch matches, otherwise sending a snapshot. Git status paths are repository-relative, while the Files surface opens paths relative to the thread's folder. The Git actions dialog now maps a changed file into that folder, and disables files outside a subfolder project. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Follow-up to #217: two existing fork gaps from the Fable review of the upstream sync.
Terminal reattach across shell sessions: every terminal session restarts its event sequence numbers. A tab could keep a cached position from an earlier session of the same terminal (after a close and reopen, a restart, or a helper restart). Reattaching then had the new session's output appended to the old screen. Snapshots now carry an
attachEpoch; the client caches it and sendsafterEpochwithafterSequence, and the helper replays only within the same session, otherwise sending a snapshot. A throwaway test reproduced the splice before the fix (output,output,output,resumed) and got a snapshot after it.Changed files in subfolder projects: in the Git actions dialog, changed files are listed with repository-relative paths, but the Files surface opens paths relative to the thread's folder. The dialog now maps each path into that folder and disables files that sit outside a subfolder project.
Verification:
pnpm build,pnpm knip:check, andvp fmt --checkpass.test:coderis green except two known flakes: theserverSettingssymlink watcher and upstream's order-dependentMessagesTimelinereading-position test.🤖 Generated with Claude Code