Support parallelism (via Subagents)
Before submitting
- [x] I searched existing issues and discussions.
- [x] This is a feature request, not a bug.
Problem
I wanted to scrape the menus of the top 300 Restaurants in Zurich (according to TripAdvisor) and use Claude Code Sub-Agents for this task, because it's easily parallizable. Each Restaurant website is independent from the others.
Currently, this is not possible, with browser-harness: Subagent's (in Claude Code) would spawn a new tab and then fighting over tabs.
Proposal
I am not sure, but i think browser-harness does only use 1 port for the CDP connection. See: https://github.com/obra/superpowers-chrome/issues/24
Alternatives considered
The current alternative is to do it sequentially, which takes 10x more time.
PR #616 addresses the tab-clobbering half of this: each named daemon (BU_NAME != default) now creates and owns its own tab on a shared local/CDP browser instead of attaching to the first page. With that, parallel subagents each pass a distinct BU_NAME and get socket + tab isolation. Live-verified with two concurrent named daemons on one headless Chrome.