Skip to content

feat(status-line): add context usage percentage to StatusLine#1181

Merged
lewis617 merged 2 commits into
mainfrom
worktree-fair-shallow-sun
Jun 1, 2026
Merged

feat(status-line): add context usage percentage to StatusLine#1181
lewis617 merged 2 commits into
mainfrom
worktree-fair-shallow-sun

Conversation

@lewis617
Copy link
Copy Markdown
Collaborator

@lewis617 lewis617 commented Jun 1, 2026

Add X% context display right-aligned in StatusLine with color coding
(gray <80%, yellow 80-95%, red >95%). Expose maxInputTokens from
Agent.getMaxInputTokens() through ChatContext, pass via ChatInterface
and InputBox to StatusLine.

lewis617 added 2 commits June 1, 2026 16:53
Add X% context display right-aligned in StatusLine with color coding
(gray <80%, yellow 80-95%, red >95%). Expose maxInputTokens from
Agent.getMaxInputTokens() through ChatContext, pass via ChatInterface
and InputBox to StatusLine.
Fix CI failure: TypeError agent.getMaxInputTokens is not a function.
Add getMaxInputTokens mock to all test mockAgent objects that flow
through ChatProvider.
@lewis617 lewis617 merged commit d282f02 into main Jun 1, 2026
1 check passed
@lewis617 lewis617 deleted the worktree-fair-shallow-sun branch June 1, 2026 09:08
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.

1 participant