v2.2.0 - Context Window Display Improvements
Changes
-
Context window display now shows remaining percentage instead of used
- Displays
≈76%(76% remaining) instead of24%(24% used) - Simplified implementation using API's
remaining_percentagefield directly - Changed ASCII fallback symbol from
#to≈for better semantic meaning - Aligns with bash statusline script approach
- Displays
-
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