Skip to content

feat(opencode): diffs total#14232

Open
aarvinr wants to merge 1 commit intoanomalyco:devfrom
aarvinr:diffs-total
Open

feat(opencode): diffs total#14232
aarvinr wants to merge 1 commit intoanomalyco:devfrom
aarvinr:diffs-total

Conversation

@aarvinr
Copy link

@aarvinr aarvinr commented Feb 19, 2026

Issue for this PR

Closes #14231

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

A total diffs counter in the sidebar1 next to the "Modified Files" header, showing the total number of lines of code added and deleted in a session. Previously, only individual diff counters for each modified file were shown.

This is helpful for assessing the total work of an agent and fits naturally into the interface.

How did you verify your code works?

Typecheck + verifying behavior locally. (See screenshot below for example.)

Screenshots / recordings

diffs-total

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

Footnotes

  1. https://github.com/anomalyco/opencode/blob/dev/packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx

@github-actions
Copy link
Contributor

Hey! Your PR title [FEATURE]: Total diffs counter in sidebar doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@aarvinr aarvinr changed the title [FEATURE]: Total diffs counter in sidebar feat(sidebar): diffs total Feb 19, 2026
Copy link

@colinandres885-boop colinandres885-boop left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aarvinr
Copy link
Author

aarvinr commented Feb 19, 2026

@aarvinr aarvinr changed the title feat(sidebar): diffs total feat(opencode): diffs total Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[FEATURE]: Total diffs counter in sidebar

2 participants

Comments