Repository navigation
feat(browser): open the bot's closed browser for yourself, without the bot - #183
Merged
Merged
Conversation
A closed browser now has "Open it for me". browser.start brings up the bot's browser without the bot, which is neither woken nor told, on the page it showed last (kept in memory per bot), and the app takes it into the owner's hands as soon as it is open. Given back, it rests again as after anything the owner does outside a turn. Refused while the bot or its crew is paused.
httpsphl
enabled auto-merge
October 5, 2026 00:31
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The owner asked to open a bot's closed browser just to look and use it themselves, without waking the bot or sending it anything (spec 21.2, 21.7, 21.8, 21.10).
What changes
browser.start {botId}comes from the connection watching that bot and answers at once.browser_open, then opens the last page it showed.about:blank.browser.start, thenbrowser.takeas soon as the state isopen, so it lands in the owner's hands.Tests
tests/browser_owner_open.rs):/loginand closes the browser;/login;Manual