opencode icon indicating copy to clipboard operation
opencode copied to clipboard

feat(tui): display count of modified files in session

Open ErvisTusha opened this issue 3 days ago • 2 comments

This feature adds a count display for files modified during the current session in the TUI sidebar under the "Modified Files" section. Changes

  • packages/opencode/src/cli/cmd/tui/routes/session/sidebar.tsx: Updated the display logic to show the count of session-modified files, making the expandable UI available when there are multiple files. Technical Details
  • Leverages existing session_diff data to count modified files
  • Maintains the expandable UI for better user experience with multiple modifications
  • Integrates seamlessly with the existing sidebar layout This provides users with immediate visibility into how many files have been modified in their current session.

ErvisTusha avatar Jan 11 '26 20:01 ErvisTusha