orca/src/main/pty
Jinwoo Hong 7850cfa16f
Fix web remote client workspace switching loop (#4771) (#4825)
* Fix web remote client workspace switching and terminal wake regressions.

Stop activation echo loops between paired web clients and the host runtime, and harden web terminal overlay sizing so slept workspaces wake with full-width PTY dimensions.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix web agent tab close and update tests for host-backed worktree selection.

Route agent quick launches through the host in paired web clients so tab close works, and align runtime/web IPC tests with setActiveWorktree plus notifyHostRuntime: false.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix typecheck for host-backed agent launches and address review feedback.

Guard null tab ids from web host routing, narrow runtime environment ids for tab close, and respect mobile resize locks in web refit retries.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix web tab close and respawn terminals when waking slept workspaces.

Route tab close through host-backed vs local fallback logic, scope title tooltips away from the close button, and create host terminals when woke workspaces still have dead PTY rows.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Fix web terminal fit on worktree switch and harden paired tab lifecycle.

Guard against sub-minimum xterm fits during overlay resume, route agent tab closes through unified/runtime helpers, and dedupe wake-time terminal respawns.

Co-authored-by: Cursor <cursoragent@cursor.com>

---------

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-07 16:51:10 -04:00
..
codex-home-wsl-env.test.ts Make WSL first-class for local agents and provider accounts (#2649) 2026-05-29 16:06:33 -07:00
codex-home-wsl-env.ts Make WSL first-class for local agents and provider accounts (#2649) 2026-05-29 16:06:33 -07:00
omp-shell-wrapper.node-pty.test.ts
omp-shell-wrapper.ts
overlay-mirror.test.ts Guard overlay cleanup across Windows drives 2026-05-31 02:18:20 -07:00
overlay-mirror.ts fix: remove dotdot-prefixed overlay children (#3726) 2026-05-30 11:51:09 -07:00
shell-startup-env.test.ts
shell-startup-env.ts
terminal-color-env.test.ts Fix web remote client workspace switching loop (#4771) (#4825) 2026-06-07 16:51:10 -04:00
terminal-color-env.ts Fix web remote client workspace switching loop (#4771) (#4825) 2026-06-07 16:51:10 -04:00
windows-environment-path.test.ts Fix orchestration mail from WSL and SSH terminals (#3918) 2026-05-31 15:13:15 -04:00
windows-environment-path.ts perf: cache Windows PATH registry probes (#4284) 2026-05-31 11:05:08 -07:00
wsl-orca-env.test.ts Fix orchestration mail from WSL and SSH terminals (#3918) 2026-05-31 15:13:15 -04:00
wsl-orca-env.ts Fix orchestration mail from WSL and SSH terminals (#3918) 2026-05-31 15:13:15 -04:00