mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 12:46:55 +00:00
* fix(desktop): isolate browser webview focus during agent automation Prevent Electron browser guests from stealing keyboard focus from the chat composer while an agent drives parked or visible split-pane tabs: - Gate BrowserPane's webview focus/mousedown promoter so non-presented panes and agent-guarded presses never call onFocusPane, webview.focus, or paseo:browser:focus; mark parked 1x1 surfaces inert with tabindex=-1. - Focus browser_type and browser_keypress targets via DOM element.focus plus caret-to-end positioning instead of CDP mousePressed. - Bracket CDP pointer presses (browser_click, browser_drag) with a ref-counted host focus guard (including IME composition protection, 50ms late-focus recheck, and Emulation.setFocusEmulationEnabled(true)). Closes #4679 Supersedes #10603 Co-authored-by: Oleg Puchkov <puchkoff@gmail.com> * fix(desktop): verify DOM focus in browser_type and require host focus guard in ipc --------- Co-authored-by: Oleg Puchkov <puchkoff@gmail.com>
desktop
Electron desktop app for Paseo.