orca/mobile/app/h/[hostId]/session
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
..
[worktreeId].tsx Fix mobile terminal query reply authority (#8227) 2026-07-11 02:13:15 -07:00
mobile-session-command-input-styles.ts feat(mobile): add explicit keyboard dismiss control to terminal command dock (#5917) 2026-07-08 17:18:16 -07:00
mobile-session-frame-styles.ts feat(mobile): combine PR sidebar and checks parity (#5641) 2026-06-17 22:52:12 -07:00
mobile-session-reader-styles.ts feat(mobile): pickers, workspace parity, active-workspace focus, tap-to-open, source-control parity, artifact viewing (#5330) 2026-06-15 22:02:51 -07:00
mobile-session-review-comment-styles.ts Fix Windows multiline terminal paste (#5291) 2026-06-12 19:12:08 -04:00
mobile-session-route-types.ts fix(mobile): recover terminal WebView/WebGL/viewport/theme state after iOS resume (#8196) 2026-07-10 20:22:16 -07:00
mobile-session-styles.ts Fix Windows multiline terminal paste (#5291) 2026-06-12 19:12:08 -04:00