The Limits view can show the same subscription twice when an account is signed in through a provider instance and reported by a CLIProxyAPI hub. The proxy badge at the far right makes those rows harder to scan.
Prefer native provider limits when the provider kind and normalized email match, including matches across connected environments. Keep hub limits when the native provider has no usable windows, and retain the hub's management controls when all its accounts are represented by native providers.
Show the provider kind with a small inline instance name or CLI Proxy label on web, desktop, and mobile. Remove the right-aligned badge and repeated source-kind heading.
Verification#
- 20 focused usage-limits tests pass, covering matching identities, non-matches, unavailable native providers, cross-environment matches, and account restoration.
- Shared, web, and mobile typechecks pass.
- Targeted lint and formatting pass.
- Actual web preview and iOS development-client checks pass: the matching proxy account disappears, other accounts remain, instance labels are inline, and the native reset-credit details remain available. The reset-credit and hub-removal confirmation dialogs still open and cancel correctly on web; no credits were redeemed.
- Wire contracts and provider adapters are unchanged. Deduplication uses streamed config, so local, remote, relay, and tunnel connections use the same logic.
- Desktop uses the verified web component. The Electron shell and Android were not separately exercised.
Before/after evidence#
Actual base 2675e3c and head 56a4912, using the same synthetic accounts, fixed clock, 1280 × 800 viewport, and scroll position in an isolated environment. Captures are unaltered frames from the collaborative browser recordings. Capture-only fixtures are not included in the commit.
Before#
The personal Codex subscription appears twice and proxy labels sit at the far right.

After#
The native Personal instance keeps its session, weekly limits, and reset credits. Other proxy accounts remain, with small inline labels.

Readiness#
All applicable CI and configured review checks passed at 56a4912. Macroscope approved that head; there are no unresolved review threads or active change requests. The final whole-PR audit found no blockers.
Expected skipped jobs: Mobile Native Static Analysis (native-change detector reports no native changes), EAS Preview (opt-in deployment label absent), PR size label-definition sync (excluded for pull_request_target), and the opt-in [code]smith autofix service. No checks were disabled or bypassed.
Ready for Julius's review; unmerged. Merging is left to Julius, with no auto-merge or merge queue enabled.
Thread transfer impact#
✅ Thread transfer remains within every enforced ceiling.
Baseline:
2675e3c· PR result:56a4912· Source CI: successScenario 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.
Updated in place by a trusted workflow. PR artifacts are strictly validated and never executed.