feat(mobile): pool usage limits across selected environments - #10334
Conversation
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
Thread transfer impact✅ Thread transfer remains within every enforced ceiling.
Baseline: Scenario and decoded snapshot size10 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. |
ApprovabilityVerdict: Not approved Macroscope's review found this PR not approvable — This PR introduces a substantial mobile usage feature with a new account-details workflow, pooled quota rendering, and environment-scoped aggregation and refresh behavior. Because it changes existing runtime behavior across the usage screen and shared production code, it warrants human review. You can add or adjust custom eligibility rules. Learn more. |
## What's Changed * feat(usage): pool subscription limits per provider across accounts and environments by @juliusmarminge in pingdotgg/t3code#10300 * chore(web): remove usage limits demo fixtures by @juliusmarminge in pingdotgg/t3code#10330 * fix(web): expose error disclosure state by @saphid in pingdotgg/t3code#10125 * fix(web): name the editor picker accurately by @saphid in pingdotgg/t3code#10124 * fix(web): make task row states readable by @saphid in pingdotgg/t3code#10128 * fix(web): explain hosted connection prerequisites by @saphid in pingdotgg/t3code#10129 * fix(web): name combobox chip removal targets by @saphid in pingdotgg/t3code#10127 * fix(marketing): present the Git workflow as an illustration by @saphid in pingdotgg/t3code#10130 * feat(mobile): pool usage limits across selected environments by @juliusmarminge in pingdotgg/t3code#10334 * fix(release): space automatic nightlies at least six hours apart by @t3dotgg in pingdotgg/t3code#10272 * refactor(web): share bulk thread deletion between sidebars by @t3dotgg in pingdotgg/t3code#10106 * refactor(client): share tool outcome rules by @t3dotgg in pingdotgg/t3code#10122 * refactor(server): share Claude result status and error mapping by @t3dotgg in pingdotgg/t3code#10296 * fix(server): settle inactive threads without a PR lookup by @t3dotgg in pingdotgg/t3code#10103 * fix(ssh): report remote stop failures without losing ownership by @t3dotgg in pingdotgg/t3code#10105 * perf(server): stop scanning old OpenCode parts by @t3dotgg in pingdotgg/t3code#10116 * perf(server): avoid full thread reads on turn start by @t3dotgg in pingdotgg/t3code#10108 * perf(web): skip checkpoint map rebuilds while streaming by @t3dotgg in pingdotgg/t3code#10118 * perf(server): skip plan bodies in thread summaries by @t3dotgg in pingdotgg/t3code#10341 * fix(server): skip disabled provider instances for text generation fallback by @t3dotgg in pingdotgg/t3code#10346 * fix(server): capture checkpoints before refreshing PR status by @t3dotgg in pingdotgg/t3code#10347 * fix(web): keep manual panel choices during a turn by @t3dotgg in pingdotgg/t3code#10113 * fix(threads): keep completed requests closed across clients by @t3dotgg in pingdotgg/t3code#10123 * perf(server): finish runtime messages without full thread reads by @t3dotgg in pingdotgg/t3code#10120 * refactor(server): let adapters declare context compaction by @t3dotgg in pingdotgg/t3code#10112 * fix(server): link thread PRs without an open client by @t3dotgg in pingdotgg/t3code#10101 **Full Changelog**: pingdotgg/t3code@v0.0.39-nightly.20260906.1293...v0.0.39-nightly.20260906.1303 Upstream release: https://github.com/pingdotgg/t3code/releases/tag/v0.0.39-nightly.20260906.1303
Mobile Usage → Limits still listed each environment separately after web adopted pooled quotas. It now uses the same account deduplication and reset ordering, with numbered bars and tappable rows that open account details and the existing reset confirmation.
The Usage header filters both tabs and refreshes. Its menu shows each environment’s reporting state; a small amber dot marks selected environments still loading. The tab, period, and metric controls animate their selected pill and respect Reduce Motion.
Before / after
Same iPhone 17 Pro simulator, environments, all-environments selection, and top scroll position. Cropped to the Usage sheet. Before uses the base renderer at
00d6109cbb; live quota advanced by one percentage point between captures. The before renderer shows a duplicate cached account that the pooled view deduplicates.Interaction recording
Tab/metric/period transitions, account details, reset confirmation cancelled, and deselecting the connected environment so only cached limits remain.
https://gh-file-drop-api-prod-mi5fy3sowv63ufte.pinglabs.workers.dev/f/c5172832d285e3aa/mobile-usage-flow.mp4
Verification
Implemented with GPT-6 via Codex.
Note
Add pooled usage limits and environment selection to mobile usage screen
UsageLimitAccountScreendetail view showing plan, reset timing, source environments, masked email, and reset-credit actionsSegmentedControlnow exposes each option as an individually labeled selectable control with an animated sliding backgroundEnvironmentUsageStatusgains a connection-state field;useUsageanduseRefreshLimitsnow restrict to selected environments (null selection includes all). The removedproviderLimitsLabelhelper and legacyUsageLimitsSectiongrouping must not be referenced by out-of-tree code.Macroscope summarized 43f4cae.