anomalyco / anomalyco/opencode
Desktop file panel does not live-refresh on external file changes
Open
@Brendonovich is already working on this.
Since Sep 11, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
In the desktop app, the "All files" panel does not live-update when files change on disk outside of the agent Write tool. Newly created files only show up after an unrelated refresh, and deleted files never disappear.
The bug is tied to the location-scoped filesystem watcher: when a project directorys location is invalidated, the inotify subscription is torn down and never re-subscribed, so the panel keeps showing stale state.
Plugins
None
OpenCode version
Desktop app, latest dev build
Steps to reproduce
- Open the desktop app on a project directory.
- From a terminal in the same directory, run
touch new-file.txt. - The "All files" panel shows no new entry until some unrelated refresh happens.
- Delete a listed file (
rm some-file.txt); it stays listed in the panel.
Screenshot and/or share link
n/a
Operating System
Linux
Terminal
n/a (desktop app)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.