Repository navigation
Description
Before submitting
- I searched existing issues and did not find a duplicate.
- I included enough detail to reproduce or investigate the problem.
Area
packages/contracts or packages/shared
Steps to reproduce
- Connect two environments with CLIProxyAPI usage sources that have the same local source ID. The Add source URL slug can collide for
http://hub:8317andhttp://hub-8317. - Each hub reports a different Claude account under the same filename, without email or credential fingerprint.
- Open Usage → Limits with both environments connected. The same collision occurs when each environment runs its own
http://localhost:8317hub. - Deterministic collector reproduction: run the linked fix's
email-less hub identitytest against the base implementation.
Expected behavior
Distinct hubs retain their own accounts and quotas. One shared remote hub observed through multiple environments remains deduplicated.
Actual behavior
The collector keys anonymous accounts by source ID and account filename, silently merging distinct hubs. The fresher snapshot replaces the other account's quota.
Impact
Minor bug or occasional failure
Version or commit
Reconfirmed on pingdotgg/main at 99071c4. Independently confirmed by Claude Opus 5.5 on 83d2382.
Environment
Multiple connected environments with CLIProxyAPI sources; shared collector used by web, desktop and mobile.
Logs or stack traces
Supplied public collector repro on main: different origins expected two accounts, received one. Shared-hub control passed. No live hub or credit redemption proof claimed.
Screenshots, recordings, or supporting files
Regression proof is included with the linked fix PR.
Workaround
Use distinct source IDs for distinct hubs. Related identity discussion: closed issue #13992; this report concerns the email-less hub fallback specifically.
Activity