orca/mobile/app/h/[hostId]
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
files Open terminal file links on mobile (#7134) 2026-07-02 18:17:47 -07:00
history Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
pr Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
review Show the git primary action on mobile Source Control (#6659) 2026-06-29 22:30:46 -07:00
session Fix mobile terminal query reply authority (#8227) 2026-07-11 02:13:15 -07:00
source-control Consolidate mobile source control into a single tabbed hub (#7923) 2026-07-09 19:23:36 -07:00
accounts-screen-styles.ts fix(mobile): show usage bars for system-default login (#5499) 2026-06-16 13:29:45 -07:00
accounts.tsx fix(mobile): show usage bars for system-default login (#5499) 2026-06-16 13:29:45 -07:00
index.tsx Improve search box on mobile (#8187) 2026-07-10 19:40:40 -07:00
tasks.tsx Improve search box on mobile (#8187) 2026-07-10 19:40:40 -07:00