anomalyco / anomalyco/opencode

V2: web review panel shows no changes for non-git VCS backends

Open
#46,472 0 comments 0 reactions 1 assignee View on GitHub

@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
  1. hg init /tmp/hg-demo && cd /tmp/hg-demo
  2. echo one > a.txt && hg add a.txt && hg commit -m init
  3. echo two >> a.txt
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.