anomalyco / anomalyco/opencode

TUI change panel shows only file operations, not actual diffs

Open
#43,853 1 comment 0 reactions 1 assignee View on GitHub

@kommander is already working on this.

Since Aug 21, 2026.

Dominant language
TypeScript
Stars
209k
Forks
27.5k
PR merge metrics
PR metrics pending

Description

Description

In the TUI, when the agent modifies files, the change view lists only operations (e.g. edited / created / deleted badges per file) rather than the actual line-level diff of what changed. This makes it hard to review what the agent actually did to each file.

I tried both diff_style: "auto" and "stacked" in tui.json; neither shows the per-file diff content — only the operation list.

Steps to reproduce
  1. Run opencode in a git repo.
  2. Ask it to edit a file.
  3. Inspect the change panel for the edited file.
Expected

The change panel shows the actual line-by-line diff (old vs new content) for each changed file.

Actual

Only a record of operations (e.g. "edited file X") is shown, with no content comparison.

Environment
  • OS: Windows
  • Version: latest opencode TUI

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.