fix(tui): show usage and team roster in the collapsed sidebar band from startup#3727
Merged
Merged
Conversation
…om startup The top/bottom sidebar band omitted the token usage line until the first message and reduced the team to a "+N" count. Render the same usage line as the vertical Token Usage tab even before any usage is recorded, and list every team agent by name in its accent color so the roster stays visible in band mode.
Sayt-0
enabled auto-merge
July 17, 2026 16:42
dgageot
approved these changes
Jul 17, 2026
aheritier
added a commit
that referenced
this pull request
Jul 19, 2026
aheritier
added a commit
that referenced
this pull request
Jul 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With the sidebar rendered as a band (
sidebar_position: toporbottom), two pieces of information shown by the vertical sidebar were missing:tokenUsageSummary()returned""whilesessionUsagewas empty, unlike the vertical Token Usage tab which always renders◉ 0 $0.00before any usage); the hide-usage setting is still honoredagentSummaryCollapsed()showed only the current agent plus a bare+NcountBand rendering, before
Band rendering, after
Notes
CollapsedViewModel.LineCountandRenderCollapsedViewderive from the same view model, so the band height accounts for the extra content (including wrapping) with no layout change.Tests
TestTokenUsageSummary_Emptyreplaced byTestTokenUsageSummary_NoUsageYet_ShowsZeroLine(the band now shows the zero line).TestCollapsedInfoLine_ShowsTeamRosterpins the roster names in the band and the removal of the+Ncount.