You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature request: widget to display extra usage used_credits #414
The usage API's extra_usage.used_credits is already fetched and cached by ccstatusline (extraUsageUsed in CachedUsageDataSchema), but no widget can display it. Please add an extra-usage-used widget — or have extra-usage-remaining fall back to showing the used amount when extraUsageLimit is absent.
Motivation
For accounts with extra usage enabled but no monthly limit configured (monthly_limit: null — pay-as-you-go with no cap), neither existing extra-usage widget can render anything:
Widget
Shows
Needs
extra-usage-remaining
limit − used
extraUsageLimit — absent
extra-usage-utilization
used / limit %
extraUsageUtilization — absent
used_credits is the only meaningful extra-usage number for such accounts, and arguably interesting for capped accounts too (a used/remaining toggle, similar in spirit to #391).
Current workaround
A custom-command widget reading ccstatusline's own cache:
Activity
feat: add Extra Usage Used widget showing spent overage budget
feat: add Extra Usage Used widget showing spent overage budget (sirma…
feat: add Extra Usage Used widget showing spent overage budget (sirma…