mirror of
https://github.com/stablyai/orca.git
synced 2026-10-19 08:03:13 +00:00
* fix(browser): keep webview guests alive across worktree switches Electron <webview> guests are destroyed when their DOM parent is removed. When switching worktrees, BrowserPane chrome unmounts and previously tore down the webview, forcing a reload on return. Introduce persistent page viewports inside overlay slots so webviews stay in a stable parent without keeping the full React chrome mounted. On worktree switch, park hidden viewports instead of destroying guests; explicit close paths still call destroyPersistentWebview. Fixes stablyai/orca#6385 Co-authored-by: Cursor <cursoragent@cursor.com> * fix(browser): harden persistent webview viewports --------- Co-authored-by: Cursor <cursoragent@cursor.com> Co-authored-by: Jinjing <6427696+AmethystLiang@users.noreply.github.com>