fix: Files Changed cross-session contamination + external-change reactivity - #765
Merged
Merged
Conversation
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars. ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Team Run ID: Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
jeonghun-jj-lee
force-pushed
the
amico/issue-741-files-changed-fix
branch
10 times, most recently
from
September 3, 2026 16:17
1db6d66 to
7b16f30
Compare
Mirror the opencode fork's refresh icon and button additions into the app-bundle overlay so the amicode build picks them up. Part of #741
jeonghun-jj-lee
force-pushed
the
amico/issue-741-files-changed-fix
branch
from
September 3, 2026 16:19
7b16f30 to
925c4ad
Compare
This was referenced Sep 4, 2026
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
Three-slice fix for the Files Changed tab:
Contamination fix (Slice 1: Contamination fix — derive agent-file filter from tool filediff only #742) —
session.diff()no longer reads patch-part file lists into the agent filter. The filter is derived exclusively from toolfilediffmetadata. Fork PR: fix(session): derive agent-file filter from tool filediff only (#742) opencode#285.Watcher reactivity (Slice 2: External-change reactivity — watcher ungating + client event handler #743) —
@parcel/watcherruns by default for git repos (enable-gate removed). The deadfile.watcher.updatedlistener is wired to bumpdiff_versionwith 1s debounce. Fork PR: feat(watcher): ungate file watcher + wire diff_version bump (#743) opencode#286.Refresh button (Slice 3: Refresh button — icon + panel toolbar control #744) — Circular-arrow refresh icon + toolbar button that manually bumps
diff_version. Visible even in the empty state. Fork PR: feat(review): add refresh button to Files Changed toolbar (#744) opencode#287.This PR carries only the amicode overlay changes (icon + session-review-v2 mirroring). The server-side and app-level fixes land via the fork PRs above.
Closes #741