v0.5.0
What's Changed
Added
- Token-based billing (UBB) support: auto-detects GitHub's new credit-based billing mode via
token_based_billing. Tooltip title switches between Copilot Premium Requests (legacy) and Copilot Credits (UBB); overage line labels its unit accordingly (Overage: 5 requestsvsAdditional credits: 5). individual_max(Max) andindividual_edu(Student) plans in the plan-name map.- Per-snapshot
quota_reset_at(Unix seconds) with top priority under UBB; falls back toquota_reset_date_utc→quota_reset_date→limited_user_reset_date. - Precise
usedcalculation viaquota_remainingwhen present, withIntl.NumberFormat({ maximumFractionDigits: 2 })formatting to preserve fractional precision (e.g.195.9instead of196), matching upstream'squotaCreditsFormatter. - Pooled entitlement exhaustion: enterprise unlimited plans signaling
has_quota=false(without overage) display100%red instead of∞. Tooltip shows "Quota: Unlimited · pool exhausted" with reset date.
Changed
entitlementparse handles string values ('300') emitted under UBB;entitlement: '0'(not unlimited) correctly routes to no-data state, matching upstreamparseQuotasbehavior.
Full Changelog: v0.4.4...v0.5.0