Skip to content

Feature request: Support git diff / file comparison view #305

Description

@xiaoqinxing

Feature Request

Please add git diff / file comparison viewing support in the web UI.

What I'd like

When viewing agent changes, be able to see a side-by-side or unified diff view that highlights what files were modified, added, or deleted, similar to:

  • VS Code's diff editor / "Changes" view
  • GitHub's pull request file diff view
  • git diff output rendered in the browser

Suggested Features

  1. File change list – After an agent session modifies files, show a list of changed files with added/deleted line counts
  2. Diff viewer – Click on a changed file to see a syntax-highlighted diff (unified or side-by-side)
  3. Staging area – Option to stage/unstage changes, or revert individual files
  4. Commit support – Review diff before committing, with ability to write commit messages

Why

When an AI coding agent makes changes, it's critical to review what was actually modified before committing. Currently users have to switch to the terminal or another tool to run git diff. Having this built into the web UI would:

  • Speed up the code review workflow
  • Make it easier to catch unintended changes
  • Provide a smoother review experience alongside the conversation history

Thanks for considering!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions