feat(opencode): add /context usage dialog#10576
feat(opencode): add /context usage dialog#10576bpeers01 wants to merge 2 commits intoanomalyco:devfrom
Conversation
Make it easy to inspect last-request token usage without leaving the session.
Show a friendly message when model context limits are unavailable.
|
The following comment was made by an LLM, it may be inaccurate: Based on my search, I found several potentially related PRs: Related PRs:
These PRs may be addressing the same feature area of token usage and context information display in the TUI. PR #10234 (stats dialog) appears to be the most likely duplicate or closely related PR since both target token usage statistics display. |
|
Heads up: this overlaps with #6152 conceptually, but this PR is intentionally smaller. It only surfaces existing last-request token metrics via a /context dialog, with no new endpoint and no token estimation. |
|
Nice one, would love to see this merged |
00637c0 to
71e0ba2
Compare
f1ae801 to
08fa7f7
Compare
Summary
Verification
Screenshots
TUI-only UI change; happy to go through design review if needed.
Fixes #10575