GeezerVison is showing github.com — fix(server): hub limits name the providers they skip instead of reporting no accounts by juliusmarminge · Pull Request #43782 · pingdotgg/t3code
Conversation
When a CLIProxyAPI hub listed only accounts from providers T3 Code can't read (for example Kimi or Antigravity), Usage → Limits said "No accounts reported.", the same message as an empty hub, and the Add hub dialog promised the quota of every account the hub pools. The hub read now reports which providers it skipped, and the copy matches what T3 Code actually reads.
CliproxyApi.readAccounts also returns unreadProviders: the providers of enabled hub accounts it doesn't read.
UsageLimitSourceSnapshot gets an optional unreadProviders field, sent only when it is non-empty.
collectLimitNotices (web and mobile) shows ": No Codex, Claude, or Grok accounts. Skipped ." when nothing readable remains.
- The Add hub dialog now says it shows Codex, Claude, and Grok accounts, matching the user docs; the web and mobile catalogs carry the new and changed strings in every locale.
Fixes #43763
Reproduction on main
Commit 09f2741 (origin/main). Ran a small local HTTP stand-in for the CLIProxyAPI management API whose GET /v0/management/auth-files returns two enabled accounts with provider kimi-ai and antigravity (management key required). Started T3CODE_DEV_SEED=0 vp run dev on a fresh database and paired the web app. Settings → Providers → Usage providers → Add hub: the dialog read "Show the quota of every account the hub pools, next to the providers on . The key stays on that server." Entered the hub URL, the management key and the label "Kimi hub", then Add hub. The stand-in logged a single GET /v0/management/auth-files (200, both accounts) and no api-call or auth-files/models request for either account. Usage → Limits showed only the warning "Kimi hub: No accounts reported.", with no mention that the hub listed two accounts that T3 Code does not read.
Evidence
Proven in the real web app: the scenario failed on base and passed on head. Both runs used fresh databases, dark theme, and a 1280×800 viewport.
Steps: Settings → Providers → Add hub; enter a local management API stand-in returning enabled kimi-ai and antigravity accounts, its synthetic management key, and label Kimi hub; capture the dialog; add the hub; open Usage → Limits.
Scenario and synthetic management API driver
Tests
vp run i18n:generate (in apps/web and apps/mobile): output identical in content to the committed catalogs in all 10 locales of both apps; only key order differed, so it was reverted
vp run i18n:check: catalogs match the source in apps/web, apps/mobile and apps/desktop
vp run check:changed: format, lint, knip, graphql, typecheck (39 packages), tests (6 files, including cliproxyApi.test.ts, UsageLimitSources.test.ts and usageLimits.test.ts) and react compiler all pass
- PR CI on 02c5552: all 40 checks pass (8 required); CodeRabbit reported no actionable comments
Not in this change
- A hub that mixes readable and unreadable accounts still shows the readable ones with no note about the skipped providers; the issue asks only about hubs where every account is unreadable.
vp run i18n:generate reorders many unrelated catalog entries on main; this change keeps only its own entries, which are the same as the generator's output.
Who did the work
- Written by Claude Opus 5.5, in Claude Code
- Reviewed by GPT-6.1 Sol, in Codex, and by Claude Opus 5.5, each on its own
- Proof captured by GPT-6.1 Sol and checked by Claude Opus 5.5
Run by the t3code factory in T3 Code.
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
…ting no accounts
A CLIProxyAPI hub whose accounts all use providers T3 Code cannot read
(for example Kimi or Antigravity) showed "No accounts reported." under
Usage -> Limits, and the Add hub dialog promised the quota of every
pooled account.
The hub read now reports the providers of enabled accounts it skipped,
the Limits notice names them when no readable account remains, and the
dialog says it shows Codex, Claude and Grok accounts.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The dialog sentence was reflowed by the formatter after the catalogs were
updated, which moved the separating space into the text and changed its
gt hash. Rename the key in every web locale and align en.json.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Thread transfer impact
✅ Thread transfer remains within every enforced ceiling.
| Provider |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
Total thread wire |
5.0 KiB |
5.0 KiB |
0 B (0.0%) |
6.8 KiB |
✅ |
| Codex |
Thread snapshot wire |
3.8 KiB |
3.8 KiB |
0 B (0.0%) |
4.9 KiB |
✅ |
| Codex |
Live turn WebSocket wire |
1.2 KiB |
1.2 KiB |
0 B (0.0%) |
2.0 KiB |
✅ |
| Codex |
Live turn WebSocket decoded |
21.5 KiB |
21.5 KiB |
0 B (0.0%) |
24.4 KiB |
✅ |
| Codex |
Live turn messages |
1 |
1 |
0 (0.0%) |
8 |
✅ |
| Claude |
Total thread wire |
5.0 KiB |
5.0 KiB |
0 B (0.0%) |
6.8 KiB |
✅ |
| Claude |
Thread snapshot wire |
3.8 KiB |
3.8 KiB |
0 B (0.0%) |
4.9 KiB |
✅ |
| Claude |
Live turn WebSocket wire |
1.2 KiB |
1.2 KiB |
0 B (0.0%) |
2.0 KiB |
✅ |
| Claude |
Live turn WebSocket decoded |
21.9 KiB |
21.9 KiB |
0 B (0.0%) |
24.4 KiB |
✅ |
| Claude |
Live turn messages |
1 |
1 |
0 (0.0%) |
8 |
✅ |
Other scenarios
All 64 scenario measurements match main.
All 64 scenario measurements
| Provider |
Scenario |
Metric |
Main baseline |
This PR |
Impact |
PR ceiling |
|
| Codex |
short turn resume |
WebSocket decoded |
10.5 KiB |
10.5 KiB |
0 B (0.0%) |
12.7 KiB |
✅ |
| Codex |
short turn resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
long turn running, cold open |
HTTP decoded |
281.7 KiB |
281.7 KiB |
0 B (0.0%) |
302.7 KiB |
✅ |
| Codex |
long turn running, cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
long turn running, history page |
HTTP decoded |
92.4 KiB |
92.4 KiB |
0 B (0.0%) |
107.4 KiB |
✅ |
| Codex |
long turn running, history page |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
long turn finished, cold open |
HTTP decoded |
381.5 KiB |
381.5 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Codex |
long turn finished, cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket decoded |
381.6 KiB |
381.6 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Codex |
long turn finished, socket cold open |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
long turn finished, socket cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Codex |
long turn finished, work page |
HTTP decoded |
186.2 KiB |
186.2 KiB |
0 B (0.0%) |
200.2 KiB |
✅ |
| Codex |
long turn finished, work page |
rows |
150 |
150 |
0 (0.0%) |
150 |
✅ |
| Codex |
idle thread resume |
WebSocket decoded |
65 B |
65 B |
0 B (0.0%) |
200 B |
✅ |
| Codex |
idle thread resume |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Codex |
fleet shell snapshot |
HTTP decoded |
42.4 KiB |
42.4 KiB |
0 B (0.0%) |
53.7 KiB |
✅ |
| Codex |
fleet shell snapshot |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Codex |
fleet shell subscribe |
WebSocket decoded |
65 B |
65 B |
0 B (0.0%) |
200 B |
✅ |
| Codex |
fleet shell subscribe |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Codex |
fleet shell resume check |
HTTP decoded |
18 B |
18 B |
0 B (0.0%) |
100 B |
✅ |
| Codex |
fleet shell resume check |
rows |
0 |
0 |
0 |
0 |
✅ |
| Codex |
stale shell reload |
HTTP decoded |
42.4 KiB |
42.4 KiB |
0 B (0.0%) |
53.7 KiB |
✅ |
| Codex |
stale shell reload |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Codex |
stale shell resume |
WebSocket decoded |
140 B |
140 B |
0 B (0.0%) |
400 B |
✅ |
| Codex |
stale shell resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
HTTP decoded |
72.4 KiB |
72.4 KiB |
0 B (0.0%) |
83.0 KiB |
✅ |
| Codex |
stale todo list cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Codex |
stale todo list cold open |
nodes |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Codex |
stale todo list cold open |
subagents |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Codex |
stale todo list cold open |
plans |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
providerTurns |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Codex |
stale todo list cold open |
checkpoints |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
short turn resume |
WebSocket decoded |
10.6 KiB |
10.6 KiB |
0 B (0.0%) |
12.7 KiB |
✅ |
| Claude |
short turn resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
long turn running, cold open |
HTTP decoded |
283.3 KiB |
283.3 KiB |
0 B (0.0%) |
302.7 KiB |
✅ |
| Claude |
long turn running, cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
long turn running, history page |
HTTP decoded |
93.4 KiB |
93.4 KiB |
0 B (0.0%) |
107.4 KiB |
✅ |
| Claude |
long turn running, history page |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
long turn finished, cold open |
HTTP decoded |
384.2 KiB |
384.2 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Claude |
long turn finished, cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket decoded |
384.3 KiB |
384.3 KiB |
0 B (0.0%) |
410.2 KiB |
✅ |
| Claude |
long turn finished, socket cold open |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
long turn finished, socket cold open |
rows |
151 |
151 |
0 (0.0%) |
151 |
✅ |
| Claude |
long turn finished, work page |
HTTP decoded |
188.1 KiB |
188.1 KiB |
0 B (0.0%) |
200.2 KiB |
✅ |
| Claude |
long turn finished, work page |
rows |
150 |
150 |
0 (0.0%) |
150 |
✅ |
| Claude |
idle thread resume |
WebSocket decoded |
66 B |
66 B |
0 B (0.0%) |
200 B |
✅ |
| Claude |
idle thread resume |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Claude |
fleet shell snapshot |
HTTP decoded |
43.0 KiB |
43.0 KiB |
0 B (0.0%) |
53.7 KiB |
✅ |
| Claude |
fleet shell snapshot |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Claude |
fleet shell subscribe |
WebSocket decoded |
66 B |
66 B |
0 B (0.0%) |
200 B |
✅ |
| Claude |
fleet shell subscribe |
WebSocket messages |
1 |
1 |
0 (0.0%) |
1 |
✅ |
| Claude |
fleet shell resume check |
HTTP decoded |
18 B |
18 B |
0 B (0.0%) |
100 B |
✅ |
| Claude |
fleet shell resume check |
rows |
0 |
0 |
0 |
0 |
✅ |
| Claude |
stale shell reload |
HTTP decoded |
43.0 KiB |
43.0 KiB |
0 B (0.0%) |
53.7 KiB |
✅ |
| Claude |
stale shell reload |
rows |
27 |
27 |
0 (0.0%) |
27 |
✅ |
| Claude |
stale shell resume |
WebSocket decoded |
140 B |
140 B |
0 B (0.0%) |
400 B |
✅ |
| Claude |
stale shell resume |
WebSocket messages |
2 |
2 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
HTTP decoded |
73.4 KiB |
73.4 KiB |
0 B (0.0%) |
83.0 KiB |
✅ |
| Claude |
stale todo list cold open |
rows |
75 |
75 |
0 (0.0%) |
75 |
✅ |
| Claude |
stale todo list cold open |
nodes |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Claude |
stale todo list cold open |
subagents |
2 |
2 |
0 (0.0%) |
4 |
✅ |
| Claude |
stale todo list cold open |
plans |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
providerTurns |
1 |
1 |
0 (0.0%) |
2 |
✅ |
| Claude |
stale todo list cold open |
checkpoints |
1 |
1 |
0 (0.0%) |
2 |
✅ |
Baseline: b6a054a · PR result: 02c5552 · Source CI: success
Scenario and decoded snapshot size
10 historical turns, 5 command tools per turn, 878.9 KiB retained MCP result per historical turn, and a 1.05 MiB retained result in the measured turn.
- Codex decoded thread snapshot: 108.5 KiB
- Claude decoded thread snapshot: 108.8 KiB
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
coderabbitai
Bot
commented
Nov 26, 2026
•
edited
Loading
Uh oh!
There was an error while loading. Please reload this page.
|

No actionable comments were generated in the recent review.
Walkthrough
-
CLIProxyAPI account reads now return unread provider names alongside readable accounts. Usage-limit snapshots and notices report skipped providers when no accounts are available. The hub descriptions and translations specify the supported Codex, Claude, and Grok accounts.
Changes: Usage limit reporting
| Layer / File(s) |
Summary |
Structured account results packages/contracts/src/providerUsageLimits.ts, apps/server/src/usage/cliproxyApi.ts, apps/server/src/usage/cliproxyApi.test.ts |
readAccounts returns readable accounts and a sorted, deduplicated list of unread provider names. The snapshot schema and tests cover the structured result and unreadable accounts. |
Propagate and display unread providers apps/server/src/usage/UsageLimitSources.ts, packages/shared/src/usageLimitsCopy.ts, packages/shared/src/usageLimits.test.ts, apps/mobile/src/i18n/translations/*.json, apps/web/src/i18n/translations/*.json, apps/web/src/components/settings/AddUsageLimitSourceDialog.tsx |
Snapshots include unread provider names. When a source has no accounts, its notice lists skipped providers when available. The translations and hub descriptions name Codex, Claude, and Grok accounts. |
Estimated code review effort: 3 (Moderate) | ~20 minutes
Change: Bug fix · Severity of issue fixed: Medium
Sequence Diagram(s)
sequenceDiagram
participant CLIProxyAPI
participant readAccounts
participant UsageLimitSources
participant collectLimitNotices
participant LocalizedNotice
CLIProxyAPI->>readAccounts: auth-files response
readAccounts->>UsageLimitSources: accounts and unreadProviders
UsageLimitSources->>collectLimitNotices: usage-limit snapshot
collectLimitNotices->>LocalizedNotice: source and skipped provider names
Loading
Suggested reviewers: bil0000, maria-rcks
Merge Risk: Minimal · up to 02c55
-
This change shows a clearer notice when a hub contains only unsupported providers, and the Add hub dialog now names Codex, Claude, and Grok. No merge-blocking risk was found.
Pre-merge checks: 4
-
| Check name |
Status |
Explanation |
| Title check |
 |
The title names the change and its scope. The change makes hub limit reporting name the providers it skips, instead of showing "No accounts reported." The diff matches this: readAccounts returns unrea… |
| Linked Issues check |
 |
Directly linked issue #43763 has two requested changes and one expected outcome. (1) Dialog copy and hub reporting: the change updates the Add hub description in apps/web/src/components/settings/AddUs… |
| Out of Scope Changes check |
 |
All changed areas connect to the issue. Server: cliproxyApi.ts and cliproxyApi.test.ts implement unreadProviders. UsageLimitSources.ts forwards that field. Contracts: providerUsageLimits.ts adds the o… |
| Description check |
 |
The description follows the template well. It states the problem (hub with only unreadable providers shows the misleading "No accounts reported." message), the change (readAccounts returns unreadProvi… |
Full details: Title check
-
Explanation
The title names the change and its scope. The change makes hub limit reporting name the providers it skips, instead of showing "No accounts reported." The diff matches this: readAccounts returns unreadProviders, the snapshot carries that field, and collectLimitNotices adds a skipped-providers notice in web and mobile. The title is specific, uses a conventional commit prefix, and is a single sentence. It is 85 characters, which is a little long, but still readable.
Full details: Linked Issues check
-
Explanation
Directly linked issue #43763 has two requested changes and one expected outcome. (1) Dialog copy and hub reporting: the change updates the Add hub description in apps/web/src/components/settings/AddUsageLimitSourceDialog.tsx to name Codex, Claude, and Grok accounts. The change also adds unreadProviders to CliproxyApi.readAccounts (apps/server/src/usage/cliproxyApi.ts). UsageLimitSources.readSource forwards it into UsageLimitSourceSnapshot, and collectLimitNotices in packages/shared/src/usageLimitsCopy.ts emits a 'Skipped <providers>' notice when no readable accounts remain. This replaces the generic 'No accounts reported.' for the all-unreadable case. Tests cover the new readAccounts output (cliproxyApi.test.ts), the notice branch (usageLimits.test.ts), and the source path (UsageLimitSources.test.ts). (2) Extending HUB_PROVIDERS to kimi or other channels: the change does not do this. The issue states this step applies only 'where safe, non-spoofed quota endpoints exist'. The issue's expected outcome (step 4) accepts either displayed quotas or an explicit indication that the providers are unsupported. The change takes the explicit-indication path, which satisfies the expected outcome. The PR description and objectives state this scope. The 'Evidence' section is non-coding and does not affect this verdict. Mixed hubs (readable plus unreadable accounts) show no skipped-provider note; the issue does not require this, and the PR states it as a known limit.
Full details: Out of Scope Changes check
-
Explanation
All changed areas connect to the issue. Server: cliproxyApi.ts and cliproxyApi.test.ts implement unreadProviders. UsageLimitSources.ts forwards that field. Contracts: providerUsageLimits.ts adds the optional unreadProviders field. Shared: usageLimitsCopy.ts and usageLimits.test.ts add the notice and its test. Web and mobile: the dialog copy change and the new notice string appear in the catalogs for each locale. These catalog edits are generator output for the new and changed keys. The PR states that unrelated catalog reordering was reverted. The follow-up commit that renamed the Add hub catalog key and aligned en.json is part of the same copy change. No change was found that is unconnected to #43763. No HUB_PROVIDERS expansion or new quota fetch logic is present. Inspection was limited to the change summary; no source hunks were read in this assessment.
Full details: Description check
-
Explanation
The description follows the template well. It states the problem (hub with only unreadable providers shows the misleading "No accounts reported." message), the change (readAccounts returns unreadProviders, a new optional snapshot field, new notice copy in web and mobile, and updated Add hub dialog wording), and scope (links issue #43763 with the bug described). Verification is detailed: a reproduction on main, before/after evidence, and specific commands and their results. The author also notes what is not covered, and the required model/harness attribution is present. Minor gaps: the Scope section does not explicitly say why a maintainer request or issue is the basis beyond the linked issue, and the Change section does not explain why web and mobile both need edits, though the author lists them. These are non-critical.
Finishing Touches
-
Generate unit tests (beta)
-
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Recent review info
-
Run configuration
-
Commits
-
Reviewing files that changed from the base of the PR and between b6a054a and 02c5552.
Files selected for processing: 27
-
apps/mobile/src/i18n/translations/de.json
apps/mobile/src/i18n/translations/en.json
apps/mobile/src/i18n/translations/es.json
apps/mobile/src/i18n/translations/fr.json
apps/mobile/src/i18n/translations/ja.json
apps/mobile/src/i18n/translations/ko.json
apps/mobile/src/i18n/translations/pt-BR.json
apps/mobile/src/i18n/translations/ru.json
apps/mobile/src/i18n/translations/sv.json
apps/mobile/src/i18n/translations/zh.json
apps/server/src/usage/UsageLimitSources.ts
apps/server/src/usage/cliproxyApi.test.ts
apps/server/src/usage/cliproxyApi.ts
apps/web/src/components/settings/AddUsageLimitSourceDialog.tsx
apps/web/src/i18n/translations/de.json
apps/web/src/i18n/translations/en.json
apps/web/src/i18n/translations/es.json
apps/web/src/i18n/translations/fr.json
apps/web/src/i18n/translations/ja.json
apps/web/src/i18n/translations/ko.json
apps/web/src/i18n/translations/pt-BR.json
apps/web/src/i18n/translations/ru.json
apps/web/src/i18n/translations/sv.json
apps/web/src/i18n/translations/zh.json
packages/contracts/src/providerUsageLimits.ts
packages/shared/src/usageLimits.test.ts
packages/shared/src/usageLimitsCopy.ts
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.
|
Sorry, something went wrong.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Nov 27, 2026
wuwei-hyogo
added a commit
to wuwei-hyogo/t3code
that referenced
this pull request
Nov 27, 2026
…esult shape
Upstream pingdotgg#43782 made CliproxyApi.readAccounts return { accounts, unreadProviders }
and used Antigravity as its example of an unreadable hub provider. The fork
still reads Antigravity hub accounts, so its tests destructure the new shape and
the unread-provider test uses gemini-cli instead.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Uh oh!
There was an error while loading. Please reload this page.
Assignees
No one assigned
Labels
size:L
100-499 changed lines (additions + deletions).
vouch:trusted
Author is trusted by repo permissions or the VOUCHED list.
Milestone
No milestone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
|