feat(browser,web2cli): managed tabs, multi-operation CLI, and cdp-headless#301
Merged
Merged
Conversation
Track agent-created tabs in the daemon, expose open_or_attach_tab and managed_tabs helpers, and refuse closing unmanaged tabs by default. Extend web2cli spec/CLI generators for multi-operation captures with subcommands, and restart stale daemons when the IPC protocol is outdated. Co-authored-by: Cursor <cursoragent@cursor.com>
…-managed-tabs-web2cli-multi-op
Document headless CDP workflow in browser-use skill, treat BU_CDP_WS and BU_CDP_URL as explicit remote endpoints in setup/doctor, and improve handshake errors for dedicated headless Chromium instances. Co-authored-by: Cursor <cursoragent@cursor.com>
Require dedicated remote-debugging ports, background browser startup so the process outlives the shell, and explicit cleanup rules for task-owned headless Chromium instances. Co-authored-by: Cursor <cursoragent@cursor.com>
Restart the daemon when setup runs with BU_CDP_WS/BU_CDP_URL while an old daemon is still alive, document PowerShell -c quoting guidance, and remove the background agent-browser npm auto-update from installation. Co-authored-by: Cursor <cursoragent@cursor.com>
duguwanglong
approved these changes
May 21, 2026
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.
Summary
open_or_attach_tab,managed_tabs, and saferclose_tabdefaults that refuse closing unmanaged user tabs.flocks service stop-all.cdp-headlessmode in browser-use, support explicitBU_CDP_WS/BU_CDP_URLendpoints in setup/doctor, and improve headless CDP handshake errors.