Skip to content

feat(tui): show extended context mode indicator in status bar #1686

@bug-ops

Description

@bug-ops

Context

PR #1684 added enable_extended_context support for the Claude 1M context window. When this mode is active, the TUI has no visual indicator — users cannot tell from the dashboard that they are in extended context mode and subject to long-context pricing.

Task

Add a visible status indicator in the TUI when enable_extended_context = true:

  • Status bar item: 1M CTX or similar badge next to the model name
  • Optionally: show a cost indicator (e.g., $$ suffix)
  • Per TUI Rules: any implicit mode must have a visible indicator so users always know what is happening

Notes

  • Read context_window() from the active provider to determine if 1M is in effect
  • Cosmetic but important for cost transparency

Follows up on #1649.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttuiTUI dashboard

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions