anomalyco / anomalyco/opencode
V2: web review panel shows no changes for non-git VCS backends
Open
@Hona is already working on this.
Since Aug 31, 2026.
2.0
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
The session review panel in the web app is always empty for non-git VCS backends — Mercurial or any plugin-registered one — while the TUI shows the same diffs fine.
The app looks like the only layer still assuming git: normalizeProjectInfo rewrites any non-git backend to undefined, and session/review/model.ts gates the diff queries on project.vcs === "git".
Plugins
No response
OpenCode version
0.0.0-beta-18684
Steps to reproduce
- hg init /tmp/hg-demo && cd /tmp/hg-demo
- echo one > a.txt && hg add a.txt && hg commit -m init
- echo two >> a.txt
- Open the project in the web app and open the review pane
Screenshot and/or share link
No response
Operating System
No response
Terminal
No response
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.