Commit Graph
2382 Commits
Author SHA1 Message Date
Kelvin Amoaba 993e112a56 fix(mobile): size the terminal once when it starts with a bundled font (#43410)
The document's startup wait covered only the symbol fonts, so when the
picked bundled face loaded after them the first fit measured the fallback
font, native sized the PTY from it, and the face commit resized it again.
The pending face load now lives on the scope and the startup wait also
waits for it, inside the same 2 s deadline.
2026-11-17 03:54:01 +00:00
Brennan Benson 1bf1a3f6a9 Approve a repo's orca.yaml hooks once on mobile (#42935)
* Bring mobile setup trust to approve-a-repo-once

Mobile now counts any earlier approval as repo trust (one shared predicate
with desktop), offers Always trust / Run once / Don't run, stores nothing
for Run once, reads the setup of the ref a create checks out, and pins a
Run once create to the shown content's hash. Automations need Always trust.
Same-id repos on several hosts keep per-version approvals.

* Pin mobile Run once only when the host read the created branch

repo.hooks reports createSourceRead when it honored createSource. Without
it (older host, or an unreadable ref) the phone sends no hash, as before,
so a checkout read can't make the host skip setup silently.

* Recover skipped mobile setup and ask about branch-only setup

Run once always pins the shown setup. When the host skips setup because the
created branch differs (worktree.create or agent.launch), the phone shows the
branch's setup; Run once or Always trust runs it via worktree.runApprovedSetup.
Setup approval now applies whenever setup isn't skipped, reads the PR/MR start
point once, pins runtime-host automation setup, and carries an archive Run once
into Delete Anyway. Drops the createSourceRead reply flag.

* Pin empty mobile setup and keep skipped setup reportable

An untrusted create whose branch shows no shared setup pins empty content,
as desktop does, so setup the branch adds is re-asked. Pinned creates use
agent.launch only on hosts that report skipped setup there, else
worktree.create. Approved setup that fails to spawn reports spawn_failed.
The sheet creates from the start point it previewed, Tasks keeps Create
disabled until a review opens the workspace, and runtime automation pins
read the automation's base branch.

* Report approved setup that fails to start and finish Tasks reviews

Approved setup or default tabs that can't start now fail worktree.runApprovedSetup,
so every client's existing failure handling shows it. An empty setup pin keeps
agent.launch on older hosts. Tasks and the sheet open a reviewed workspace with a
setup-failed notice when approval can't run, and a cleared review no longer
leaves Create disabled.

* Pin empty setup for runtime-host automations

A runtime host can't trust the repo, so saving setup=run where the base branch
has no shared setup pins empty content, as desktop does. Setup the branch adds
later is skipped for review instead of running unprompted.

* Offer only per-version approval on mobile for a repo on several hosts

As desktop: repo-wide trust is ignored for a repo id on several hosts, so the
drawer hides Always trust and its scope line, and Run hooks is primary.

* Pin empty automation setup everywhere and report failed default tabs

Phone automation saves for an untrusted repo pin the shown setup, including
empty content, on paired desktops too; only repo trust leaves them unpinned.
An approved default tab that fails to start now fails the approved-setup run.
A double tap on a Tasks setup review approves once.

* Follow main's settings module move in the approved-setup test

* Keep setup approvals tied to what runs on mobile and in approved default tabs

Re-decided automation saves name the setup decision so the host replaces the saved pin. Work-item creates check setup trust for the repo they land in. Approved default-tab commands start as new tabs when the layout already holds the command-less ones. Tasks setup reviews stay busy and ignore other choices until the approval settles.

* Check a work item's own repo setup and skip repeat approved runs

A create landing in another repo inherits that repo's setup policy and is always trust-checked unless skipped. The Tasks trust drawer acts once per prompt even before its busy render. A base-only automation edit re-reviews setup. A repeated approval on the same worktree and content doesn't open its command tabs again.

* Send the user's setup choice on cross-repo creates and drop the approval memory

A work-item create in another repo now sends the form's own setup decision and only widens the trust check: it runs for that repo unless setup is explicitly skipped. The per-worktree approved-run memory is removed, and the mobile lockfile change is reverted to main's.

* Set the automation setup pin on every preparation path
2026-11-16 19:06:57 -08:00
Neil 6ee09ca1c9 Revert "feat(mobile): add the chat/terminal switch to the session header More menu (#42897)" (#43313)
This reverts commit 0ed3b47ee2.
2026-11-16 15:38:14 -08:00
0ed3b47ee2 feat(mobile): add the chat/terminal switch to the session header More menu (#42897)
The chat/terminal view switch was only reachable from the tab-title action
sheet, so users in chat view could not discover how to get back to the
terminal. Add the same toggle to the header More menu's view section, driven
by the active session tab, and let the shared toggle helper take the tab
directly instead of resolving it from a terminal handle. Structured
agent-session tabs keep no same-tab toggle.

Fixes #42904

Co-authored-by: BingX <22970633+bing-xbx@users.noreply.github.com>
Co-authored-by: Neil <4138956+nwparker@users.noreply.github.com>
2026-11-16 14:55:35 -08:00
Radu Toader ab9a5a5c8b fix(mobile): label chat code fences that have no language (#42646)
A fence without a language showed an empty label in the mobile code
block header. Fall back to a translated "Code" label.

Refs #42645
2026-11-16 14:55:24 -08:00
OrcaWinandOrcaWin 95f8eb689d test: remove low-value display and mock-request test variants (#43260)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 13:27:42 -08:00
Kelvin Amoaba 70ec4a6246 fix(native-chat): show a pasted image inside its Claude prompt on the phone (#43256)
* fix(native-chat): fold Claude's image-source row into the prompt it follows

* refactor(native-chat): group desktop image units with the shared folding rule

* fix(mobile): take the send boundary from image-folded rows

* refactor(native-chat): share the image unit prompt lookup
2026-11-16 21:25:07 +00:00
Kelvin Amoaba 4c68d8050c ci(mobile): refuse a GitHub APK with any Play automatic-protection class (#43219)
* ci(mobile): refuse a GitHub APK with any Play automatic-protection class

The guard only matched com.pairip.licensecheck. With automatic protection off no com.pairip class belongs in the APK, so match the whole package and catch the check under any other package name.

* ci(mobile): name the pairip code, not just its license check, in the guard's error
2026-11-16 21:22:14 +00:00
Kelvin Amoaba dde5a83990 fix(mobile): update GitHub installs from GitHub, not Google Play (#43218)
* fix(mobile): open the GitHub release the update check found, not Google Play

GitHub installs outside mainland China had Update open Google Play. The check reads GitHub, and Play production is published by hand after GitHub, so Play could lack that version and offer nothing to update.

* fix(mobile): send GitHub installs to GitHub on the update-required screen too

Drops the Play preference from #43080: Play production lags GitHub, so it
can lack the version the desktop needs.
2026-11-16 21:22:07 +00:00
11303115db fix(mobile): keep the keyboard open when the session mic is pressed (#43147)
* fix(mobile): keep the keyboard open when the session mic is pressed

On Android, pressing the session's mic while the keyboard was open took
focus from Live input. A tap moved it on the touch's compatibility
mousedown, and a long press focused the mic without any mousedown. The
keyboard closed, and in hold mode the mic's later blur ended React Native
Web's responder, so a held recording stopped about half a second in while
the finger was still down.

Give the input bar the keyboard-persisting taps the key row above it
already uses, and have keepTextFocusThroughTaps also cancel a touch's
pointerdown: then neither a tap nor a long press moves focus, and click
still fires. Mouse pointerdowns are left alone, because RN Web starts mouse
presses on the mousedown a canceled pointerdown suppresses.

On a Motorola razr fold (Android 16) the keyboard stays open through a
tap and a 2.5 s hold, and the held recording runs until release.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GR9M8yCkioUvXqiwZKWWiz

* fix(mobile): keep the keyboard open when the chat composer mic is pressed

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Kelvin Amoaba <97001695+AmoabaKelvin@users.noreply.github.com>
2026-11-16 21:04:27 +00:00
Neil bf134f8f4d refactor: organize shared agent chat (#43221) 2026-11-16 12:00:43 -08:00
Kelvin Amoaba 2dfc0ba64a feat(mobile): add chat text size, font and line spacing settings (#42952)
* feat(mobile): add chat text size, font and line spacing settings

Pinching in a chat now saves the size for every chat instead of resetting when you leave.

* fix(mobile): measure the screen on the first chat text read, not at import
2026-11-16 19:10:11 +00:00
Kelvin Amoaba f3869d5040 fix(native-chat): switch to Terminal when a chat command opens a TUI dialog (#43192)
OpenCode /models, /help and similar commands open a dialog the Chat
view cannot show, and later chat sends were typed into it. Flag the
commands that open a TUI screen (OpenCode, Codex pickers, OMP's
in-Terminal commands) and switch the terminal-backed chat to Terminal
once the command is submitted, on desktop and mobile.
2026-11-16 19:00:42 +00:00
Kelvin Amoaba d1ddc79c7f feat(mobile): choose the terminal font, size, line spacing and weight (#43037)
* feat(mobile): add a stepped slider control

* feat(mobile): terminal font, size, line spacing and weight settings

Terminal settings get a Font section with a live preview: a font picker
(system fonts plus JetBrains Mono, Fira Code and Geist Mono shipped as
variable woff2), a point-size slider replacing the old percentage presets,
line spacing and weight. Pinch now snaps to whole points. Tablets start at
15 pt, Normal spacing and Regular weight.

The size keeps its storage key as points over 13; the font, spacing and
weight live in a new negotiated page storage key. Both terminal hosts read
them at start and on a new set-font-style message; a style change keeps
the grid and lets the cell-box refit resize the PTY.
2026-11-16 18:59:27 +00:00
Kelvin Amoaba 9bf84179da fix(mobile): resume an interrupted desktop page download instead of starting over (#43026)
* fix(mobile): resume an interrupted desktop page download instead of starting over

The phone held hash-verified page assets only in memory until the whole
build arrived, so a cut link discarded them and every later entry started
the build from byte 0. Each verified asset is now kept under the host's
partial/<buildId>, and the next fetch of that build reuses it.

* fix(mobile): keep nothing for a build with case-aliased asset paths
2026-11-16 18:57:51 +00:00
Kelvin Amoaba 1ef5cf02d6 fix(mobile): keep NavBar buttons clear of long titles (#42994)
Each NavBar side shrank to whatever the centred title left, so a long title
pushed a side's second button under the title view. On the leading side the
title paints above the button and swallowed taps, so Hide sidebar did nothing
on wide layouts with long host names. Floor each side at two buttons.
2026-11-16 18:56:21 +00:00
Brennan Benson f912850762 fix(native-chat): send other agents' mail as a pointer and let the person approve a denied action (#43093)
* fix(native-chat): send other agents' mail as a pointer and let the person approve a denied action

Another agent's orchestration message reached a structured chat's agent as
ordinary user input, so Codex's automatic reviewer counted a coordinator's
words as the user's authorization. The chat card still shows the whole
message, labeled with its sender; the agent is now sent Orca's existing
pointer at `check`, so the content arrives as tool output. Mail stays unread
until `check` takes it, and a new coordinator is pointed at mail the old one
never read.

Codex automatic-review denials now show as a chat row with the reviewer's
reason and an "Approve once" button, which only this computer's own Orca
window may press; it uses Codex's thread/approveGuardianDeniedAction and
records the approval in the chat.

Tracked in STA-15406.

* fix(orchestration): wake any new mailbox owner after re-pointing stale mail

* fix(native-chat): settle check:changed for pointer mail and denial approval

Move the Codex approval and mobile review copy into their own modules, reuse the shared record guard, and update the tests that encoded whole-mail consumption to pointer delivery with mail read at check.

* style: format review notice copy

* fix(native-chat): hold accepted mail while custody is unreadable and show the whole denied action

* fix(orchestration): hold in-doubt mail while custody is unreadable and wake the new owner after a send-time handoff

* test(orchestration): keep crew reads off a chat host another test file left installed
2026-11-16 10:50:24 -08:00
OrcaWinandOrcaWin faa9a98b76 test: remove mobile helper suites and duplicate recordings (#43202)
* test: remove mobile helper suites and duplicate recordings

* style: format remaining bot recording coverage entry

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:56:22 -08:00
OrcaWinandOrcaWin b091d23dff test: remove low-value mobile projection and permission preset tests (#43199)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:45:44 -08:00
OrcaWinandOrcaWin b0426b563d test: remove low-value suites and repeated cases (#43187)
* test: remove narrow renderer and chat visual examples

* test: retire resource and PR target projection suites

* test: retire isolated renderer adapters and repeated mod lifecycle cases

* test: retire route adapter and skill runtime projection suites

* test: retire Jira board preference helper examples

* test: await queued edit acquisition before Activity switch

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 09:18:41 -08:00
Kelvin Amoaba df23e549d3 fix(native-chat): refresh the /mcp tray when the chat starts or /mcp is run again (#43188)
The tray read the chat's MCP servers once when it opened. Opened while the agent was at rest, it said "Connect when you send your next message" and kept saying it after the agent started, and running /mcp again on the open tray did nothing. The tray now re-reads when the host reports the agent starting or stopping and each time /mcp runs, on desktop and mobile. A read asked for while one is in flight now runs after it instead of being dropped.
2026-11-16 16:55:10 +00:00
tiantiantianblueandNeil 906d697ba6 fix(mobile): canonicalize runtime host IDs from workspace routes (#43165)
Expo Router decodes query params twice, so a WSL runtime host id such as
runtime:wsl%3Aubuntu-22.04 reached screens as runtime:wsl:ubuntu-22.04 and
never matched the desktop host catalog, leaving the workspace on the
offline screen. Read the route executionHost through a shared
canonicalExecutionHostId that re-encodes runtime and SSH targets, and use
it in the workspace route, notification viewing state, and web page
location readers.

Fixes #43160

Co-authored-by: Neil <neil@stably.ai>
2026-11-16 08:02:16 -08:00
Giorgio c7463d05f6 fix(mobile): keep the Start from field above the Android keyboard (#43128)
On Android, React Native reports the keyboard height as the IME inset
minus the system bars, but fill-height bottom drawers sit in an
edge-to-edge window that reaches under the navigation bar. The sheet
therefore stopped one nav-bar height short and the keyboard covered the
Start from field. Add the bottom safe-area inset back for Android fill
sheets, clamping after the sum so a floating IME never lifts the sheet.

Fixes #43127
2026-11-16 06:06:33 -08:00
OrcaWinandOrcaWin 93a3aa2f1a test: remove low-value tests (#43099)
* test: remove low-value notification and display tests

* test: remove update preference and host mute predicate suites

* test: remove redundant daemon and checkpoint work-count tests

* test: remove narrow desktop pane-title forwarding tests

* test: remove title-card and title-input work-count tests

* test: remove duplicated tool-pairing adapter tests

* test: remove narrow appearance preference tests

* test: remove turn-status display timing tests

* test: remove visual Activity read-count tests

* test: remove Linear view preference resume tests

* test: remove synthetic pending-question work-count suite

---------

Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-16 04:40:57 -08:00
Brennan Benson 173beb41a2 Give new agents plain UUID IDs (#42940)
* Give new agents plain UUID IDs

New Orca session IDs (chats, host-launched chats, terminal agent IDs) are
plain random UUIDs minted by createOrcaSessionId; the agent stays on the
record. Remove the two readers of the agent prefix: the agent.launch
sessionId refinement and the automation Open run guard. Hosts advertise
agent.launch.plain-session-id.v1; the phone reserves a plain ID only for
hosts that advertise it and keeps the legacy spelling otherwise. A replay
an older replacement host refuses as invalid params is now uncertain, not
a definite failure. Old IDs stay valid; nothing is migrated.

* Repair plain agent ID recordings and compatibility checks
2026-11-16 04:20:56 -08:00
Neil 6018fca4de refactor: group shared settings, profiles and execution hosts (#43047)
* refactor: place shared settings profiles and host contracts with owners

* fix: retire stale cleanup validation contacts

* refactor: consolidate imports from concrete owners

* refactor: bind new card fixture to profile defaults owner

* style: format rebased concrete host import

* refactor: consolidate project header color owner imports

* fix: load released phone readers after folder moves

* fix: preserve released chat readers and current owner imports
2026-11-16 04:03:33 -08:00
JinjingandClaude 774b9b1c56 chore(mobile): bump to 0.0.67 and Android versionCode 31 (#43086)
Ships #43080: GitHub installs outside mainland China are steered to Google Play
for updates. Built with Play's automatic protection off, like 0.0.66.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 02:34:21 -08:00
JinjingandClaude 2e71fadda8 feat(mobile): steer GitHub installs outside mainland China to Google Play for updates (#43080)
A sideloaded dev.orca.app now opens the Play listing from its update card, the
Settings update row and the "update required" screen when the device is not in
mainland China (no CN language region and no mainland time zone) and the Play
Store app is installed and enabled. Play updates the install in place because both
carry Google's signing key. Mainland China keeps GitHub, since Play is unreachable.
Play installs and the retired app are unchanged.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 02:29:06 -08:00
JinjingandClaude 54563fec0a chore(mobile): bump to 0.0.66 and Android versionCode 30 (#43066)
First Android release built with Play's automatic protection turned off, so the
APK no longer carries the license check that closed the app when Google Play is
unavailable (#42973).

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 01:52:28 -08:00
JinjingandClaude 73bbc3ae08 fix(mobile): refuse to publish an Android APK carrying Play's license check (#42973) (#43054)
Play Console's automatic protection injects com.pairip's license check into every
APK Play generates, including the universal APK we republish on GitHub. On phones
where Google Play is disabled or unreachable (mainland China) the check shows
"Something went wrong ... Check that Google Play is enabled" and closes the app.

download_signed_apk now fails before the GitHub release when the APK's dex carries
com/pairip/licensecheck, and the README says to keep automatic protection off.

Co-authored-by: Claude <noreply@anthropic.com>
2026-11-16 01:21:18 -08:00
a5781b8c15 fix(i18n): translate the local host label and Orca restart notes (#43012)
The unrenamed local host label ("Local Mac") and the four restart
continuation notes the host journals in English stayed English in every
UI language.

selectExecutionHostDisplayLabel and the automation host labels now
resolve the local host through the translated label, and desktop and
mobile notice rows map the exact English restart-note text to catalog
keys at display time, so saved chats and older servers read translated
too. Renamed hosts still show as typed.

Co-authored-by: x-Ai <5061489+x-Ai@users.noreply.github.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 00:38:19 -08:00
7839c9ae48 fix(i18n): fill Simplified Chinese coverage gaps on desktop and mobile (#43011)
Add 361 desktop and 633 mobile translations for English keys that still
fell back to English: workspace cleanup, the MCP server panel and sign-in
requests, subagent views, automation runs, worktree cards, Memory Saver,
account rename, PR updates and the freeze report on desktop, and most of
the mobile pull request, source control, tasks, agents and session screens.

Mobile code often calls a plural key literally as t('key_one') when the
count is 1, and i18next looks that key up as written, so zh showed English
for a single item. Add the explicitly called _one keys, each equal to its
_other value.

Also correct two browser search keywords that rendered cookies as 曲奇饼,
and entries that called archive scripts 存档 where the catalog says 归档.
The worktree cards "New" badge keeps 新功能 via a key override, mobile
"Start workspace" matches the desktop wording, and an automation's Active
status and list group read 已启用 (paired with 已暂停) instead of 当前.

Co-authored-by: x-Ai <5061489+x-Ai@users.noreply.github.com>
Co-authored-by: Neil <neil@stably.ai>
2026-11-16 00:27:44 -08:00
Neil e075db6f19 refactor: group shared runtime and computer owners (#42972)
* refactor: group shared runtime and computer owners

* refactor: follow computer owners in workflow triggers

* test: account for unmasked existing title-test clock call
2026-11-15 23:46:34 -08:00
Kelvin Amoaba a2d17f8208 fix(native-chat): Skip and agent messages agree with the Codex question card (#42946)
* fix(native-chat): make Skip and agent messages agree with the async question card

Skip on a Codex async question card now saves the skipped row on the chat's host
record (agentSession.skipAsyncQuestions, modelled on cancelUsageLimitContinue), so
the status, the desktop card and the phone card all honour it. The host status read
no longer ends at another agent's message, matching the card's rule from #35758;
two partial indexes, created without a schema version bump, keep that read bounded.

* fix(native-chat): gate phone Skip on relay support; roll back only its own hide
2026-11-16 06:36:09 +00:00
OrcaWinandOrcaWin 19aa1251dd test: remove 20 low-value suites and trim six others (#42978)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 22:15:36 -08:00
Kelvin Amoaba f375aba997 fix(mobile): make chat report buttons work in an isolated frame (#42954)
* fix(mobile): run chat report scripts in an isolated shell frame

* fix(mobile): theme chat visuals at handoff and pin the iOS frame to Android's

* test(mobile): probe the page origin by absolute URL from the visual
2026-11-16 06:12:04 +00:00
Neil 1541d55d9f fix(mobile): keep the Copy menu for selected chat text on the phone's web pages (#42965)
Gesture handler 3 defaults enableContextMenu to false on web, so the
transcript's pinch detector cancelled every contextmenu event. Android
WebView shows the selection's Copy / Select all menu through that event,
so long-pressing transcript text left bare selection handles with no way
to copy. Gesture handler 2 attached no listener when the flag was unset.

Opt the detector into the browser context menu, next to the existing
touch-action override, and pin it in the transcript render check.

Fixes #42939
2026-11-15 21:16:35 -08:00
Neil 3cfd47e1a0 refactor: group shared workspace and transport owners (#42945) 2026-11-15 21:01:55 -08:00
OrcaWinandOrcaWin e9b1aabe73 test: remove 48 low-value suites (#42951)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 20:30:40 -08:00
OrcaWinandOrcaWin 36bdeabc1d test: remove 55 low-value suites (#42931)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 20:18:27 -08:00
Kelvin Amoaba 20366fa992 fix(native-chat): show the reply before a background task hand-back in terminal chats (#42932)
* fix(native-chat): keep the reply before a background task hand-back in terminal chats

Claude's task-notification record opens a new turn, but the chat transcript
decoder dropped it, so the hand-back reply joined the prompt's turn and the
turn fold hid the reply before it. Chat reads now keep a wordless turn marker
there, and journal-less turn grouping and timing start a turn at it.

* fix(native-chat): keep tool results a task notification delivers mid-turn

* fix(native-chat): draw only the bar for the turn marker on mobile, not every empty system row
2026-11-16 03:18:07 +00:00
Neil 61ae9700f2 refactor: organize shared foundation modules by owner (#42914) 2026-11-15 19:09:38 -08:00
Brennan Benson 91393b0dc2 fix(chat): show deferred Claude permission picks (#42217)
* fix(chat): show deferred Claude permission picks

* fix(chat): clarify deferred permission picks

* fix(mobile): keep deferred permission picks readable on phones

Narrow mobile values show a compact 'saved · next message' label, accessible
names keep the full saved/running sentence, and the permission drill-in
explains the running mode in a wrapping caption.

* fix(mobile): narrow deferred permission summary and drop contradictory full-access name

Narrow to select options inside the deferred summary for the mobile typecheck,
use the plain model label while a pick is deferred, and assert labels instead
of English copy in the picker tests.

* fix(mobile): explain a deferred permission pick in the home row subtitle

QA on a 402 pt iPhone still clipped the one-line 180 pt row value. Show the
saved mode as the value and wrap the running mode in the row's subtitle.

* test(mobile): drop a type assertion in the picker test
2026-11-15 18:06:10 -08:00
Kelvin Amoaba 69edf46ec8 fix(mobile): keep a chat code block's wrap choice when its prose redraws (#42908)
MobileNativeChatMessage keyed each prose block by a running offset that its proseRow closure advanced. Paced prose calls that closure from its own renders (reveal steps, the scroll growth hold), so every such render continued from the last total and handed the code block a new row key, which dropped its wrap choice. Key the block by its index instead.
2026-11-16 01:52:24 +00:00
Brennan BensonandWooseong Kim 8515c1eb92 Name saved Claude and Codex accounts (#41824)
Let users name, rename and reset labels for saved Claude and Codex accounts without changing credentials or restarting agents. Keep the sign-in email visible across Settings, account switchers, chat usage, CLI and phone surfaces, and identify the account in removal confirmations.

Tracked in #21182.

Co-authored-by: Wooseong Kim <innocarpe@gmail.com>
2026-11-15 17:20:35 -08:00
Neil aed7718884 refactor: organize shared editor and feature contracts (#42832)
* refactor: group shared editor and feature contracts

* test: retain WSL phone refusal semantics without copy checks
2026-11-15 17:13:07 -08:00
Kelvin Amoaba 9b499bbd30 feat(native-chat): show Grok's /goal in the goal banner (#42840)
Grok reports goal state as goal_updated events, so the banner shows it and offers Resume and Clear through Grok's own /goal.
2026-11-16 01:04:25 +00:00
Neil a13016fff1 chore(deps): upgrade vulnerable transitive packages and enforce 3-day release cooldown (#42868) 2026-11-15 16:54:04 -08:00
Brennan Benson ca18e4f771 fix(native-chat): start the working clock when "Sending…" clears (#42880)
The turn bar appeared and ticked while the user's message still said
"Sending…", because the host reports working as soon as it owes a send.
Once the turn opened, its clock also counted from the send press
(requestedAt), so the bar settled already showing the send time.

The live clock and "Worked for" now count from the provider turn start,
and neither the bar nor the activity line shows while the live turn's
opening message is still sending. Mobile has no "Sending…" label, so it
waits on the same pending submission to keep live and settled times equal.
2026-11-15 16:40:05 -08:00
OrcaWinandOrcaWin 2dadb11039 test: remove 46 low-value suites (#42874)
Co-authored-by: OrcaWin <293788423+OrcaWin@users.noreply.github.com>
2026-11-15 15:58:18 -08:00