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]: Show per-account Claude usage in the Accounts pane, and flag inactive accounts with no usage data #10688
I keep 4 managed Claude accounts in Orca. When the active one runs out mid-session, the only way to find a fresh one is to switch into accounts one at a time until something works, and every switch means restarting live Claude terminals.
#1248 covered most of this for the status-bar switcher, and PR #1259 shipped inline usage bars for inactive accounts.
Settings > AI Provider Accounts shows no usage for Claude
Claude rows render the email, the runtime badge, the Active badge, and org + last-auth date (src/renderer/src/components/settings/AccountsPane.tsx:950-1009). No usage data at all. The pane subscribes to rateLimits.codex and rateLimits.minimax (AccountsPane.tsx:332-334) and never reads rateLimits.inactiveClaudeAccounts. The data is already in the store. This pane is what "Manage Accounts..." opens.
An inactive Claude account with no usage entry renders as a blank row in the switcher
With 3 inactive accounts I get one row with bars and two with nothing under them, no message either. A blank row looks the same as an account sitting at 0%.
The Claude branch falls through to null when there's no entry for that account id (StatusBar.tsx:931-940):
Codex covers that case at StatusBar.tsx:1786-1806, where isUnavailableInactiveUsage (:1054) gates an InlineUsageSignInAction (:1058) showing "Sign in to see usage" and a refresh button. Claude has no equivalent.
Proposed solution
I'd suggest reusing what's already there:
Claude rows in the Accounts pane could render the exported InlineUsageBars (StatusBar.tsx:987), reading rateLimits.inactiveClaudeAccounts for inactive accounts and rateLimits.claude for the active one, with fetchInactiveClaudeAccountUsage() fired when the pane opens the same way StatusBar.tsx:772-780 fires it on switcher expansion.
Claude rows could get the same unavailable state Codex has.
That leans on the rateLimits:fetchInactiveClaudeAccounts handler (src/main/ipc/rate-limits.ts:25), the per-account cache at src/main/rate-limits/service.ts:215, and the InactiveAccountUsage type (src/shared/rate-limit-types.ts:103).
Alternatives or additional context
Orca 1.4.156 on macOS, 4 managed Claude accounts. Line numbers are against 8e785dd.
What I see in the switcher today, with emails redacted: one inactive account reads 2% used 4h 34m, 24% used wk, 14% used Fable, and the other two render an empty row under the email. In Settings > AI Provider Accounts all four rows show only email, badge, and org + date.
Automatic switching when an account runs out is asked for in #9565, #8121 and #10137, and PR #5778 is an open implementation.
Filed a fuller bug + proposed fix that covers why Switch to / Usage stay empty even with multiple saved Claude accounts (silent OAuth throw, 30-minute in-memory drop, last-known until resetsAt): #14833
This issue remains the right place for the Settings → Accounts per-account row UI. #14833 is the persistence / fetch / empty-list behavior underneath.
Activity
Tauri-EPO commentedon Aug 16, 2026
Filed a fuller bug + proposed fix that covers why Switch to / Usage stay empty even with multiple saved Claude accounts (silent OAuth throw, 30-minute in-memory drop, last-known until
resetsAt): #14833This issue remains the right place for the Settings → Accounts per-account row UI. #14833 is the persistence / fetch / empty-list behavior underneath.