mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-01 12:52:11 +03:00
The Claude Code OAuth API returns 'utilization' as percent USED, not percent remaining. The createQuotaObject function had them swapped: it set remainingPercentage = utilization, which inverted the quota bar. Confirmed by reporter: Claude.ai shows 87% used → OmniRoute was showing 87% remaining (green bar), should show 13% remaining (yellow/red bar). Fix: used = utilization; remaining = 100 - utilization.