You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 00852f7
Browse filesBrowse the repository at this point in the historyBrowse files
fix(desktop): agents see visible:true while the desktop shows their tab
The server counted a tab as visible only when a client streamed its frames.
The desktop draws server tabs in its own webview and never streams them, so
preview_status and tabs[].visible said false while the tab was on screen, and
tabs picked without a tabId fell back to recency.
The desktop renderer now reports when a server-driven webview is on screen
(Browser panel or picture-in-picture). Electron's main process sends that over
the existing desktop browser channel as a "shown" event, re-sends it when the
backend reconnects or the tab attaches again, and clears it when the tab's
webview is destroyed. The server counts a shown, attached desktop tab as
visible.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments