sirmalloc--ccstatusline
3ff7cb7502
* feat: use native rate_limits field from Claude Code 2.1.80 Claude Code 2.1.80 now sends rate_limits in the statusline JSON input with five_hour and seven_day windows (used_percentage + resets_at). When present, usage widgets consume this data directly instead of fetching from the Anthropic API. Falls back to the API fetch for older Claude Code versions that don't send rate_limits. Also updates the example payload to match the real 2.1.80 format. * fix: revert example payload to use placeholder values * chore: align test values with example payload * fix: Fallback to API usage query if any of the rate limit fields are missing --------- Co-authored-by: Matthew Breedlove <sirmalloc@gmail.com>