Files
codeg/src/lib
xintaofei baf3b6e89f fix(file-tree): keep aux-panel tree in sync with filesystem changes
Deep directories (beyond the workspace snapshot's depth limit) relied on
a lazy-loaded override cache that was never invalidated, so agent-created
files, in-app deletes / renames / rollbacks, and external changes inside
expanded deep folders stayed invisible until the folder was reopened.

Propagate watcher `changed_paths` through the delta envelope and fire a
Meta event whenever FS activity doesn't alter the tree/git snapshots, so
the frontend can surgically invalidate affected cache entries and
re-fetch. Manual refresh (Reload from disk) clears the cache and
re-hydrates still-expanded deep dirs through the same path. Replayed
deltas after reconnect are forwarded to the same listeners.

Also split the combined workspace-state effect into tree / git / status
slices so unrelated state transitions (e.g. the 'resyncing' flip during
a refresh) no longer rebuild the entire node tree and cause a flash.
2026-04-20 22:57:24 +08:00
..
2026-03-26 21:47:13 +08:00
2026-03-06 22:56:13 +08:00
2026-03-06 22:56:13 +08:00
2026-03-06 22:56:13 +08:00
2026-03-06 22:56:13 +08:00
2026-03-15 16:08:44 +08:00
2026-03-06 22:56:13 +08:00
2026-03-26 22:19:19 +08:00
2026-03-08 17:08:31 +08:00
2026-03-26 21:47:13 +08:00
2026-03-06 22:56:13 +08:00