Skip to content

feat(mobile): usage meter in the chat composer - #36746

Open
gsxdsm wants to merge 49 commits into
stablyai:mainfrom
gsxdsm:feat/mobile-composer-usage-meter
Open

gsxdsm wants to merge 49 commits into
stablyai:mainfrom
gsxdsm:feat/mobile-composer-usage-meter

Conversation

@gsxdsm

@gsxdsm gsxdsm commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Depends on #36726. Stacked on that PR; the meter shares the composer action row with its Duo expand toggle. Review the commits after #36726.

Problem

Usage limits are what most often interrupts an agent session, and the phone shows them only on the Accounts screen.

What changes

  • Meter: the percent over a slim bar with the time until reset (6d 16h), centred in the chat composer's action row. The bar takes the window's pace colour — green on or under pace, amber ahead of it, red when the burn would run out before reset — and the countdown ticks at each label change. Hidden for agents with no mapped provider or no usage data.
  • Wide meter: when the row has room, the meter widens to one line of reset label · bar · percent. In a tight row the label shortens to its largest unit (6d), then drops, before the meter hides.
  • Pop-up: tapping the meter opens provider tabs (each provider's logo where it has one, else its name) and window tabs. Each window shows a pace headline, the bar with an even-burn tick, stat tiles (vs. pace, daily/hourly budget, projection at reset, recent use) and a usage-over-time graph with an even-pace line.
  • Setting: Settings → Chat UI → Composer usage chooses the 5-hour or weekly window and used vs. remaining; the same toggles are in the pop-up. Stored per device.
  • Data: one shared accounts.subscribe stream per client, closed 2 s after the last composer leaves, with a one-shot accounts.list fallback. It reuses subscribeAccountsSnapshots, getUsageWindowSections, getProviderDisplayName, getActiveProviderRateLimits and getOtherUsageProviders instead of its own copies.
  • History: the host samples each active window's used percent at every usage reading (no extra fetches) into orca-usage-window-history.json and streams it as rateLimits.usageHistory. The graph shows a collecting placeholder until two readings exist.
  • Restart: each provider's last displayed windows persist to orca-usage-last-good.json and seed the rate-limit state at startup, so a failed first poll falls back through the stale policy instead of blanking the meter. Expired windows and readings older than 24 h are dropped on restore.
  • Muse: a server_sent_no_usage answer (no turn yet in the window) reads as an unused five-hour window with a "no usage data yet" note instead of a failure.
  • Agent mapping: the only new mapping is agent id → provider id (claude, codex, gemini, opencode, kimi, antigravity, grok, cursor, zcode, muse).

Changes since last update

  • Meter redesigned: pace-coloured bar, time-until-reset countdown, wide layout when the row has room.
  • The sheet became the usage pop-up: provider tabs with logos, window tabs, stat tiles, usage graph.
  • Host streams per-window used-percent history; last-good windows survive a server restart.
  • Muse shows 0 with a note before its first turn; the zcode and muse agents are mapped.
  • The pop-up loads on first open behind a React.lazy boundary (dock-panel pattern); only the meter rides the chat route.
  • Usage history survives a server restart (a startup reading no longer replaces the saved history) and is kept per provider account, so switching or re-signing never mixes two accounts' lines; older points thin out instead of dropping off, and the file is bounded.
  • The usage graph zooms to its recorded history (at least six hours) and ends at now, instead of spanning the whole window, where a few hours of a weekly window drew as a sliver.

How it relates to upstream

Builds on #38187 (provider usage windows on Accounts) and #38206 (Home Usage tab), reusing their window and snapshot code. The terminal composer was removed upstream (#37900), so the meter lives on the chat composer only.

Fixes #36745

Visual Proof

Real iPhone 17 Pro Max simulator screenshots of a scratch chat; not layout renders. No personal data in frame. Note: these show the previous meter design and predate this update.

The composer meter (7-day window) and the usage sheet with pace:

Composer usage meter
Usage sheet, weekly window

Testing

  • pnpm tc, pnpm -C mobile typecheck, the composer-usage vitest suites (38 tests), the rate-limits suites, and oxlint on the changed files pass.

  • pnpm build:mobile-web passes. The eager fence is 12,746,752 bytes and this branch measures 12,725,457.

  • Installed on an iPhone Duo against a dev desktop (previous revision).

  • I manually tested these changes locally

  • Automated tests added/updated, or explained why not below

🤖 Generated with Claude Code

@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

Note

Reviews paused

It looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the reviews.auto_review.auto_pause_after_reviewed_commits setting.

Use the following commands to manage reviews:

  • @coderabbitai resume to resume automatic reviews.
  • @coderabbitai review to trigger a single review.

Use the checkboxes below for quick actions:

  • Resume reviews
  • Trigger review
Walkthrough

The changes add provider usage meters to mobile chat and terminal composers. The meters use account snapshots, support selectable usage windows, and open a detail sheet with usage, reset information, and pace. The changes add local preferences for usage windows and Duo chat width. They also add side-inset release support and adjust session, drawer, dock, and native-chat layout around released insets.

Merge Risk: Moderate · previous review 9f1ec

Weekly-only Codex accounts can see a misleading usage meter, including when their weekly allowance is exhausted. Correct the selection before merging and clarify the exhausted-window message.

Pre-merge checks: Passed 2 · Failed 1 · Inconclusive 1

Failed Failed checks: 1 warning · 1 inconclusive

Check name Status Explanation Resolution
Out of Scope Changes check Warning The whole PR diff also includes the Duo full-width feature from #36726. Examples include duo-chat-width.ts, MobileNativeChatWidthToggle.tsx, side-release and side-inset layout changes, session sur… Retarget or rebase the PR after #36726 lands. Keep only the composer usage implementation and the minimal integration required for the usage sheet. Remove the Duo width toggle, Duo width state, side-release and side-rail layout changes, and…
Description check Inconclusive The PR description is substantially complete. It has a clear problem statement, a detailed list of changes, a 'Changes since last update' section, an upstream relationship note, a linked issue (Fixes … Add or complete these template sections: (1) an ELI5 summary in plain language; (2) a Performance statement that finishes the sentence, for example covering the 2-second stream grace period, the 30-second clock active only while the sheet i…
Passed Passed checks: 2 passed

Check name Status Explanation
Linked Issues check Passed The implementation meets the coding requirements in [#36745]. ComposerUsageSlot renders in the native chat composer and terminal command dock. ComposerUsageMeter selects the provider and the saved…
Title check Passed The title clearly identifies the usage meter added to the mobile chat composer. It omits the terminal composer, but it remains directly related to a primary change and is concise and specific.
Full details: Linked Issues check

Explanation

The implementation meets the coding requirements in [#36745]. ComposerUsageSlot renders in the native chat composer and terminal command dock. ComposerUsageMeter selects the provider and the saved 5-hour or weekly choice. ComposerUsageSheet lists all reported windows with used and remaining percentages, reset time, countdown, and pace. The latest fixes preserve the 5-hour idle state for Claude and Codex and show an exhausted state at 100% usage. Tests cover provider selection, fallback behavior, pace, and the shared accounts subscription.

Full details: Out of Scope Changes check

Explanation

The whole PR diff also includes the Duo full-width feature from #36726. Examples include duo-chat-width.ts, MobileNativeChatWidthToggle.tsx, side-release and side-inset layout changes, session surface and header changes, and related i18n changes. These changes are not required by [#36745]. The usage sheet's spanReleasedSide integration is connected to the meter, but the broader Duo width and side-rail implementation is unrelated. The current description confirms that the PR is stacked on #36726, but it does not remove those changes from this PR diff.

Resolution

Retarget or rebase the PR after #36726 lands. Keep only the composer usage implementation and the minimal integration required for the usage sheet. Remove the Duo width toggle, Duo width state, side-release and side-rail layout changes, and unrelated i18n changes from this PR diff.

Full details: Description check

Explanation

The PR description is substantially complete. It has a clear problem statement, a detailed list of changes, a 'Changes since last update' section, an upstream relationship note, a linked issue (Fixes #36745), visual proof (screenshots of a previous design, flagged as such), and testing notes. It has a dependency on PR #36726 and notes the stacking. Several template sections are missing or incomplete: the ELI5 section, the Performance section (required; the 'None, because' sentence is unfinished), the Risk section (no risk level, no rollback plan), the AI Disclosure section (the description mentions Claude Code generation but the template asks for model details), the Review and Agent skill upstream boundary checkboxes, and the Notes/Checklist items. The Visual Proof section also shows screenshots of the previous meter design, not the current one, and the author states the screenshots will not match the current revision. Because the core content is present and the gaps are in several required sections, the check is inconclusive rather than a clear pass.

Resolution

Add or complete these template sections: (1) an ELI5 summary in plain language; (2) a Performance statement that finishes the sentence, for example covering the 2-second stream grace period, the 30-second clock active only while the sheet is visible, the history file writes at each usage reading, and the bounded history file; (3) a Risk section with a level (Low, Medium, or High), the riskiest part (for example, the persisted usage files and the side-release layout on web), user-visible impact if it fails, and the back-out method, including what a revert would not undo such as the persisted orca-usage-last-good.json and orca-usage-window-history.json files; (4) the AI Disclosure details for the model used; (5) the Review and Agent skill upstream boundary checkbox; (6) the Checklist items, including the Cross-platform and SSH impact, which matters because the history and last-good files are host-side. Also replace or supplement the Visual Proof with screenshots of the current meter and pop-up design, or state why they are not yet available, and mark the Testing checkboxes that apply to the stated test runs.

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fc7e2dee-b088-4b2e-b2f3-40fe07a7e249
Commits

Reviewing files that changed from the base of the PR and between 9363c40 and 9f1ec44.

Files selected for processing: 6

  • mobile/src/composer-usage/ComposerUsageMeter.tsx
  • mobile/src/composer-usage/ComposerUsageWindowRow.tsx
  • mobile/src/composer-usage/agent-usage-provider.test.ts
  • mobile/src/composer-usage/agent-usage-provider.ts
  • mobile/src/composer-usage/usage-window-pace.test.ts
  • mobile/src/composer-usage/usage-window-pace.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.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 3abe910b-3cf0-4971-bea9-33a64b82953e
Commits

Reviewing files that changed from the base of the PR and between 10e35fd and 70c6c54.

Files selected for processing: 40
  • mobile/app/_layout.web.tsx
  • mobile/src/components/AccountUsage.tsx
  • mobile/src/components/composer-input/MessageBox.tsx
  • mobile/src/components/mounted-bottom-drawer.tsx
  • mobile/src/composer-usage/ComposerUsageMeter.tsx
  • mobile/src/composer-usage/ComposerUsageSheet.tsx
  • mobile/src/composer-usage/ComposerUsageWindowPicker.tsx
  • mobile/src/composer-usage/ComposerUsageWindowRow.tsx
  • mobile/src/composer-usage/accounts-snapshot-store.test.ts
  • mobile/src/composer-usage/accounts-snapshot-store.ts
  • mobile/src/composer-usage/agent-usage-provider.test.ts
  • mobile/src/composer-usage/agent-usage-provider.ts
  • mobile/src/composer-usage/composer-usage-client-context.ts
  • mobile/src/composer-usage/composer-usage-window-preference.ts
  • mobile/src/composer-usage/usage-window-pace.test.ts
  • mobile/src/composer-usage/usage-window-pace.ts
  • mobile/src/i18n/locales/en.json
  • mobile/src/layout/released-side-inset.ts
  • mobile/src/layout/side-safe-area.tsx
  • mobile/src/mobile-web-shell/MobileWebShellScreen.tsx
  • mobile/src/mobile-web-shell/bridge/bridge-rpc-client-frames.test.ts
  • mobile/src/mobile-web-shell/page-storage-keys.ts
  • mobile/src/session/MobileNativeChatView.prompt-presentation.test.ts
  • mobile/src/session/MobileNativeChatView.tsx
  • mobile/src/session/MobileSessionActiveContent.tsx
  • mobile/src/session/MobileSessionCommandDock.test.tsx
  • mobile/src/session/MobileSessionCommandDock.tsx
  • mobile/src/session/MobileSessionContentRow.tsx
  • mobile/src/session/MobileSessionHeader.tsx
  • mobile/src/session/MobileSessionSurface.tsx
  • mobile/src/session/duo-chat-width.ts
  • mobile/src/session/mobile-prompt-controller.test.ts
  • mobile/src/session/native-chat/composer/MobileNativeChatActionGap.tsx
  • mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx
  • mobile/src/session/native-chat/composer/MobileNativeChatWidthToggle.tsx
  • mobile/src/session/native-chat/composer/mobile-native-chat-composer-styles.ts
  • mobile/src/session/native-chat/composer/use-chat-bottom-fit.ts
  • mobile/src/session/session-side-strip-inset.ts
  • mobile/src/session/use-mobile-session-presentation.ts
  • mobile/src/settings/native-chat-settings-screen.tsx

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 3 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Caution

Some comments are outside the diff and can’t be posted inline due to GitHub limitations.

⚠️ Outside diff range comments (1)

Minor · Support ZCode usage in the mobile provider adapter. · agent-usage-provider.ts:17-29

mobile/src/composer-usage/agent-usage-provider.ts:17-29
Minor · Functional Correctness · Quick win

Support ZCode usage in the mobile provider adapter.

The host already produces zcode usage. The mobile schema rejects its provider identity, and the composer map does not select it. Add zcode to both provider boundaries. Do not map mimo-code to minimax; the repository treats MiniMax as a separate provider and defines no such binding.

Suggested fix
diff --git a/mobile/src/components/accounts-snapshot.ts b/mobile/src/components/accounts-snapshot.ts
@@
       'kimi',
       'minimax',
+      'zcode',
       'grok',
diff --git a/mobile/src/composer-usage/agent-usage-provider.ts b/mobile/src/composer-usage/agent-usage-provider.ts
@@
   | 'kimi'
+  | 'zcode'
   | 'antigravity'
@@
   ['kimi', 'kimi'],
+  ['zcode', 'zcode'],
   ['antigravity', 'antigravity'],
@@
   kimi: 'kimi',
+  zcode: 'zcode',
   antigravity: 'antigravity',
@@
   kimi: 'Kimi',
+  zcode: 'ZCode',
   antigravity: 'Antigravity',

Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 286e53c7-7100-41b8-a0b8-4b9d81dc87d4
Commits

Reviewing files that changed from the base of the PR and between c29c581 and 36d74e0.

Files selected for processing: 1
  • mobile/src/composer-usage/agent-usage-provider.test.ts

Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 4 remain after this review.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2


Review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: fc7e2dee-b088-4b2e-b2f3-40fe07a7e249
Commits

Reviewing files that changed from the base of the PR and between 9363c40 and 9f1ec44.

Files selected for processing: 6
  • mobile/src/composer-usage/ComposerUsageMeter.tsx
  • mobile/src/composer-usage/ComposerUsageWindowRow.tsx
  • mobile/src/composer-usage/agent-usage-provider.test.ts
  • mobile/src/composer-usage/agent-usage-provider.ts
  • mobile/src/composer-usage/usage-window-pace.test.ts
  • mobile/src/composer-usage/usage-window-pace.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.

@gsxdsm
gsxdsm force-pushed the feat/mobile-composer-usage-meter branch 7 times, most recently from 69e6186 to d155c74 Compare November 2, 2026 16:09
@gsxdsm

gsxdsm commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

Visual proof

Real iOS Simulator screenshots (iPhone 17 Pro Max). Personal info is covered with black boxes.

Usage meter in the composer

Usage details sheet

@gsxdsm
gsxdsm force-pushed the feat/mobile-composer-usage-meter branch 4 times, most recently from 991ef70 to b6fba0e Compare November 5, 2026 04:46
@gsxdsm gsxdsm changed the title feat(mobile): usage meter in the chat and terminal composers feat(mobile): usage meter in the chat composer Nov 5, 2026
@gsxdsm
gsxdsm force-pushed the feat/mobile-composer-usage-meter branch 2 times, most recently from bbdbc70 to bf61573 Compare November 6, 2026 02:29
gsxdsm and others added 2 commits November 5, 2026 22:03
…he bottom edge

Duo chats can run across the status column, with a composer toggle to
switch the width, a header that stays clear of the column, and a
bottom-edge composer fit.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Adds the composer usage meter (used/remaining toggle, 5-hour and weekly
windows, run-out projection) on the shared provider usage sheet.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@gsxdsm
gsxdsm force-pushed the feat/mobile-composer-usage-meter branch from bf61573 to d9ab382 Compare November 6, 2026 07:26
The usage slot was flex:1 (basis 0) beside the growing leading controls, so
they split the free space and the slot squeezed the window/percent labels.
Size the slot to the meter, stop the labels shrinking, and let the bar give way.

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
justinfjx added a commit to justinfjx/orca that referenced this pull request Nov 14, 2026
Backport the usage-only changes from stablyai#36746, adapting module paths and composer integration to v1.4.258.

Source commits: d9ab382 and da3c696. Keep the stacked iPhone Duo layout change out of this integration.

Co-authored-by: gsxdsm <[email protected]>
@AmoabaKelvin

Copy link
Copy Markdown
Collaborator

Thanks for this, @gsxdsm. We took the Used/Remaining preference from here, your per-device store, and made the phone's Home and Accounts usage bars follow it from a Settings › Appearance choice in #43864, with you as co-author. We're leaving the composer usage meter for later, so this PR stays open for now.

…t-full-width

Keep full-width Duo chat on top of the moved mobile modules.
# Conflicts:
#	mobile/src/components/bottom-drawer/mounted-bottom-drawer.tsx
#	mobile/src/mobile-web-shell/MobileWebShellScreen.tsx
#	mobile/src/mobile-web-shell/bridge/bridge-rpc-client-frames.test.ts
#	mobile/src/mobile-web-shell/page-storage/page-storage-keys.ts
#	mobile/src/session/MobileSessionActiveContent.tsx
#	mobile/src/session/MobileSessionCommandDock.tsx
#	mobile/src/session/MobileSessionContentRow.tsx
#	mobile/src/session/MobileSessionSurface.tsx
#	mobile/src/session/mobile-prompt-controller.test.ts
#	mobile/src/session/native-chat/MobileNativeChatView.prompt-presentation.test.ts
#	mobile/src/session/native-chat/MobileNativeChatView.tsx
#	mobile/src/session/native-chat/composer/MobileNativeChatComposer.keyboard.web.test.tsx
#	mobile/src/session/native-chat/composer/MobileNativeChatComposer.tsx
#	mobile/src/session/native-chat/composer/field/mobile-native-chat-composer-styles.ts
#	mobile/src/session/use-mobile-session-presentation.ts
#	mobile/src/settings/native-chat-settings-screen.tsx
#	mobile/web-entry/index.tsx
gsxdsm and others added 7 commits November 27, 2026 16:45
The idle pill collapsed and unmounted the meter before onPress, and the
pop-up lived inside that meter so dismissing the keyboard closed it. Taps
keep the field focused, and the sheet is hosted above the composer.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Pace color takes the palette from the component, reset-label modes are
not copy, and the history schemas build on first use.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
The composer meter and its pop-up add about 28 KB to the page. The fence
was 21 KB under the cap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gsxdsm

gsxdsm commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Updated onto current main.

Tapping the usage bar keeps the composer focused, and the pop-up is hosted above the composer so it stays mounted. Pace color takes the palette from the component. The web eager fence is now 12,746,752 bytes; this branch measures 12,725,457 and pnpm build:mobile-web passes. pnpm check:changed --base=upstream/main passes.

The phone runtime defines HTMLElement, and the bar's host ref matched it
without addEventListener, so the meter crashed on open. Only a DOM node
keeps the tap.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@gsxdsm

gsxdsm commented Nov 28, 2026

Copy link
Copy Markdown
Contributor Author

Simulator shot of the composer meter on a cloned iPhone. The numbers are sample data, and the route title is the preview screen, not the product.

The top bar is the controls-row meter. Tapping the bar no longer crashes on the phone: this runtime defines HTMLElement, and the bar's host ref matched it without addEventListener. The tap guard now attaches only to a DOM node. That fix is ec1cdb3.

Composer usage meter

gsxdsm and others added 3 commits November 27, 2026 21:31
Prevents RN Web Pressable focus theft from collapsing the idle pill
composer and unmounting the width toggle before onPress fires.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
onegaop pushed a commit to onegaop/orca that referenced this pull request Nov 28, 2026
# Conflicts:
#	mobile/src/components/controls/MobileSegmentedControl.tsx
@greptile-apps

greptile-apps Bot commented Nov 29, 2026 •

Copy link
Copy Markdown

Confidence Score: 2/5 · Fix the covered composer meter and the two outstanding account-related findings before merging.RetriggerView in GreptileConfidence Score: 2/5

[Medium impact] The changes affect mobile chat usage displays and Duo session layouts, plus host-side usage state.

Fix the covered composer meter and the two outstanding account-related findings before merging.

Findings

  1. P1 Collapsed field covers usage meter ▶

Summary

Adds provider usage to the mobile chat composer.

  • Mobile chats show a provider’s usage meter beside the composer controls.
  • The host keeps provider usage history and current windows across restarts.
  • Duo chats can use the side strip or keep clear of it.

Diagram

sequenceDiagram
  participant Provider
  participant Host as RateLimitService
  participant Disk
  participant Phone as Chat composer
  Provider->>Host: Usage reading
  Host->>Disk: Save history and last-good windows
  Host->>Phone: accounts snapshot with usageHistory
  Phone->>Phone: Show meter and reset countdown
  Phone->>Phone: Open usage pop-up on tap
Loading

Reviews (4) · Last reviewed commit: "fix(mobile): refresh the accounts list w..." · Reviewed by Greptile

Cursor's hashed identity was dropped, so every Cursor account shared one series. Open chats also follow the composer window and display settings.
# Conflicts:
#	mobile/src/session/MobileSessionContentRow.tsx
# Conflicts:
#	mobile/src/session/MobileSessionContentRow.tsx
# Conflicts:
#	mobile/src/i18n/locales/en.json
A cached snapshot blocked every later accounts.list on hosts that have no accounts stream.
persistMirrored resolves after the local write, so the revision guard was dropping before the shell echoed the latest choice.
Keep the Duo dock on the bottom edge while taking the phone key dock and the setup update notice.
…-meter

Keep the composer meter beside the Duo width toggle, and the phone key dock on the bottom edge.
Keep the Duo session content, and read the renamed session toast.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature][Mobile]: Show agent usage (5h / weekly) in the chat and terminal composers

2 participants