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 4fda09e
Browse filesBrowse the repository at this point in the historyBrowse files
fix(desktop): yield the page only for background calls that act on it
- Only a call from the background executor yields the page to the user.
A call from the chat view the user is watching acts exactly as before:
there the user steers the agent directly.
- A background call that only reads the page (snapshot, read text, list
tabs) never waits for the user, since it cannot collide with their input.
- Which browser tools only observe the page now lives in
@sim/browser-protocol, shared by the chat view's replay policy and the
driver.
- The prevent-sleep switch shows only when Sim runs chats on this device
in the background.
- Tests: a chat-view call acts at once under user input; a background call
waits, and a background read does not; a user who starts working
mid-action stops it before its next input; sign-out releases the sleep
blocker while a call is still running.
0 commit comments