Skip to content

fix: show lean tui cost and context limit#3400

Merged
dgageot merged 1 commit into
docker:mainfrom
rumpl:lean-context
Jul 2, 2026
Merged

fix: show lean tui cost and context limit#3400
dgageot merged 1 commit into
docker:mainfrom
rumpl:lean-context

Conversation

@rumpl

@rumpl rumpl commented Jul 1, 2026

Copy link
Copy Markdown
Member

No description provided.

@rumpl rumpl requested a review from a team as a code owner July 1, 2026 23:21

@docker-agent docker-agent left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Assessment: 🟢 APPROVE

The PR correctly wires cost and context-limit data through the lean TUI and sidebar. The session-tracking logic in update.go is generally sound — activeUsage() covers the common cases (active stack entry → root session → single-entry map). Two low-severity edge cases were noted in the new session-tracking code; see inline comments for details.

Comment thread pkg/leantui/update.go
Comment thread pkg/leantui/update.go Outdated
@aheritier aheritier added area/runtime Runtime engine, agent loop execution, tool dispatch, loop detection area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only. labels Jul 1, 2026
Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
@dgageot dgageot merged commit 2f95076 into docker:main Jul 2, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/runtime Runtime engine, agent loop execution, tool dispatch, loop detection area/tui For features/issues/fixes related to the TUI kind/fix PR fixes a bug (maps to fix:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants