Skip to content

v2.2.0 - Context Window Display Improvements

Choose a tag to compare

@shrwnsan shrwnsan released this 06 Feb 06:43
87811dd

Changes

  • Context window display now shows remaining percentage instead of used

    • Displays ≈76% (76% remaining) instead of 24% (24% used)
    • Simplified implementation using API's remaining_percentage field directly
    • Changed ASCII fallback symbol from # to for better semantic meaning
    • Aligns with bash statusline script approach
  • Removed legacy calculation code

    • No longer manually calculates from token counts
    • API provides pre-calculated percentages since Claude Code v2.1.15
    • Reduced bundle size from 53.78 KB to 52.54 KB

🤖 Generated by Claude Code - GLM 4.7