Skip to content

feat(browser,web2cli): managed tabs, multi-operation CLI, and cdp-headless#301

Merged
duguwanglong merged 5 commits into
devfrom
feat/browser-managed-tabs-web2cli-multi-op
May 21, 2026
Merged

feat(browser,web2cli): managed tabs, multi-operation CLI, and cdp-headless#301
duguwanglong merged 5 commits into
devfrom
feat/browser-managed-tabs-web2cli-multi-op

Conversation

@xiami762

@xiami762 xiami762 commented May 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Add daemon-side managed tab registry with open_or_attach_tab, managed_tabs, and safer close_tab defaults that refuse closing unmanaged user tabs.
  • Restart stale browser daemons when the IPC protocol is outdated, and stop all daemons from flocks service stop-all.
  • Extend web2cli spec/CLI generators for multi-operation captures with argparse subcommands and updated skill docs.
  • Document cdp-headless mode in browser-use, support explicit BU_CDP_WS / BU_CDP_URL endpoints in setup/doctor, and improve headless CDP handshake errors.

xiami762 and others added 5 commits May 21, 2026 09:34
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>
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 duguwanglong merged commit 6871aa4 into dev May 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants