Skip to content

fix: Files Changed cross-session contamination + external-change reactivity - #765

Merged
jeonghun-jj-lee merged 1 commit into
mainfrom
amico/issue-741-files-changed-fix
Sep 3, 2026
Merged

fix: Files Changed cross-session contamination + external-change reactivity#765
jeonghun-jj-lee merged 1 commit into
mainfrom
amico/issue-741-files-changed-fix

Conversation

@jeonghun-jj-lee

Copy link
Copy Markdown
Contributor

Summary

Three-slice fix for the Files Changed tab:

  1. 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 tool filediff metadata. Fork PR: fix(session): derive agent-file filter from tool filediff only (#742) opencode#285.

  2. Watcher reactivity (Slice 2: External-change reactivity — watcher ungating + client event handler #743)@parcel/watcher runs by default for git repos (enable-gate removed). The dead file.watcher.updated listener is wired to bump diff_version with 1s debounce. Fork PR: feat(watcher): ungate file watcher + wire diff_version bump (#743) opencode#286.

  3. 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

@coderabbitai

coderabbitai Bot commented Sep 3, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Team

Run ID: f4c60843-6648-4380-ab5e-875b89c0b465


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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@jeonghun-jj-lee
jeonghun-jj-lee force-pushed the amico/issue-741-files-changed-fix branch 10 times, most recently from 1db6d66 to 7b16f30 Compare September 3, 2026 16:17
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
jeonghun-jj-lee force-pushed the amico/issue-741-files-changed-fix branch from 7b16f30 to 925c4ad Compare September 3, 2026 16:19
@jeonghun-jj-lee
jeonghun-jj-lee merged commit 1230246 into main Sep 3, 2026
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix: Files Changed cross-session contamination + external-change reactivity

1 participant