orca/mobile/src
Neil fd6805a299
Fix mobile terminal query reply authority (#8227)
* Fix mobile terminal query reply authority

* fix(terminal): harden mobile query reply handoffs

* fix(terminal): exclude passive mobile query responders

* fix(terminal): gate mobile query replies on host capability

Older hosts strip terminal.send's inputKind (zod drops unknown keys), so a
forwarded xterm reply would land as ordinary floor-taking shell input. Hosts
now advertise terminal.query-reply-input.v1 via status.get and mobile drops
replies unless the host advertises it (pre-fix behavior). Also documents the
bounded desktop-to-mobile handoff double-reply residual.

Co-authored-by: Orca <help@stably.ai>

* fix(terminal): advance snapshot seq across recovery snapshots

The pending-overflow recovery loop trims buffered output against
recovery.seq while query replay and boundary strips kept using the
initial snapshot seq. Unreachable under today's control flow (no await
separates the initial-overflow consume from the loop), but the stale
seq would silently drop covered query replies if that ordering ever
changes. Track the seq that actually covered the buffered chunks.

Co-authored-by: Orca <help@stably.ai>

---------

Co-authored-by: Orca <help@stably.ai>
2026-07-11 02:13:15 -07:00
..
agent-history Show agent session history on mobile (#6786) 2026-07-10 13:48:10 -07:00
browser fix(mobile): import Buffer from 'buffer', not 'node:buffer' 2026-06-30 01:15:56 -07:00
cache feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
components the-sandbox-flag-is-2 (#8236) 2026-07-10 23:04:38 -07:00
constants
diagnostics mobile: per-host connection log screen with copy-diagnostics (#7984) 2026-07-09 16:20:07 -07:00
dictation Allow deleting downloaded speech models on desktop and mobile (#5794) 2026-06-19 12:31:11 -07:00
files Mobile file tree follow-ups: reconnect no-blank + old-desktop files.list fallback (#7599) 2026-07-06 17:13:21 -07:00
hooks Prevent mobile screen locking during voice dictation. (#7746) 2026-07-10 23:31:56 -07:00
layout
mobile-release fix(mobile): keep Android release versionCode committed (#7271) 2026-07-03 15:26:11 -07:00
notifications perf(mobile): cap the scheduled-notification map + tap-dedup set (#7646) 2026-07-06 21:28:09 -07:00
platform
session Fix mobile terminal query reply authority (#8227) 2026-07-11 02:13:15 -07:00
source-control the-sandbox-flag-is-2 (#8236) 2026-07-10 23:04:38 -07:00
storage fix(mobile): preserve terminal input mode on reentry (#7129) 2026-07-02 23:22:30 -07:00
tasks chore(lint): adopt unicorn/prefer-import-meta-properties (error) (#6847) 2026-06-29 23:37:30 -07:00
terminal Fix mobile terminal query reply authority (#8227) 2026-07-11 02:13:15 -07:00
theme Fix mobile Source Control primary action styling (#6918) 2026-06-30 11:26:20 -07:00
transport perf(mobile): stop polling live worktree names (#8051) 2026-07-10 22:44:59 -07:00
worktree Show agent session history on mobile (#6786) 2026-07-10 13:48:10 -07:00
host-route-action-state.test.ts
host-route-action-state.ts
host-route-exit.test.ts Mobile: worktree-list sidebar for tablet/foldable layouts (#5505) 2026-06-16 16:50:38 -07:00
host-route-exit.ts Mobile: worktree-list sidebar for tablet/foldable layouts (#5505) 2026-06-16 16:50:38 -07:00