mirror of
https://github.com/stablyai/orca.git
synced 2026-11-14 01:47:24 +00:00
* fix(terminal): keep remote-viewer clipboard env on command-less creates (#39852) A paired viewer's plain terminal reaches the host renderer's tab-create bridge with spawn env (ORCA_REMOTE_VIEWER_CLIPBOARD, PI_CLIPBOARD_OSC52) but no startup command. The bridge queued pendingStartup only when a command existed, dropping the env, so the spawned shell never saw the remote-viewer clipboard marker and copied text stayed on the host clipboard (#39852). - Queue the startup whenever the request carries launch material (env/envToDelete/launchConfig/resume), not only a command. - PtyPaneStartup.command becomes optional for env-only startups; spawn options already tolerate a missing command. - Keep the plain-shell pre-bind input hold for startups that plan no post-bind work, so an env-only startup types as a plain shell does. Co-Authored-By: Claude Code <noreply@anthropic.com> * test(e2e): layout oracle marks only panes the user can see A hidden tab with a queued startup is laid out at opacity 0 so it spawns at real geometry. The marker check counted it as visible because it has a size, then waited for output that the hidden-delivery gate correctly withholds. Paired-client creates now queue spawn env, so their background tabs hit this. --------- Co-authored-by: Chen <zwq19980411@gmail.com> Co-authored-by: Claude Code <noreply@anthropic.com>