mirror of
https://github.com/zhukunpenglinyutong/jetbrains-cc-gui.git
synced 2026-08-28 16:31:27 +08:00
f6f4206846
Adds the provider-agnostic plan-usage UI for the chat input ContextBar: - planUsagePace.ts: pace coloring (TP = usage %, TT = linear time budget through the reset window), capacity payload normalization into a PlanUsageSnapshot, window resolution/switching (5h/7d) with persisted selection, and reset formatting (short bar label without trailing period + full tooltip datetime). - PlanUsageIndicator.tsx: mini bar + % + window chip + short reset + worst-window dot; tooltip lists all windows and reset times. - context-bar.css: .plan-usage* styles (green/yellow/red pace colors). - Unit tests for the pace utils and the indicator. Co-Authored-By: Claude <noreply@anthropic.com>