Skip to content

TUI sidebar "Modified Files" section does not show session diffs #32852

@seryakov-max

Description

@seryakov-max

Description

The sidebar's "Modified Files" section remains empty even after opencode modifies files during a session. Previously this worked correctly — the sidebar would show each changed file with the number of added and removed lines (e.g., +5 -2).
Files are confirmed to be modified on disk (git status shows the changes), but the TUI sidebar does not track or display them.
What I expect: After opencode edits a file, the sidebar should list the file under "Modified Files" with line change counts.
What actually happens: The "Modified Files" section never appears, even when multiple files are changed.

Plugins

Built-in plugins only

OpenCode version

1.17.7

Steps to reproduce

  1. Open opencode in a git repository (opencode)
  2. Ask opencode to modify a file (e.g., add a comment to README.md)
  3. Observe that the sidebar "Modified Files" section stays empty
  4. Verified files are actually modified on disk (git status shows changes)

Screenshot and/or share link

Image

Operating System

Windows 10, Ubuntu WSL 2

Terminal

Windows Terminal

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions