Release @browserbasehq/browse-cli@0.4.0
Merged
GI
8mo ago+15+15+01234567890123456789-21-21-01234567890123456789
Prepare the next browse-cli release by versioning the package on main.
What this PR does:
- bumps
packages/cli/package.jsonto0.4.0 - updates the browse-cli changelog
- consumes the pending browse-cli changesets
After this PR merges, the Release workflow on main will publish @browserbasehq/browse-cli@0.4.0 from that exact commit using pnpm pack + npm publish --provenance.
Summary by cubic
Release @browserbasehq/browse-cli 0.4.0 with new session attach and smarter local Chrome discovery, plus stability fixes. Bumps the package version and updates the changelog; the Release workflow will publish from this commit.
-
New Features
- Add
--connectto attach to an existing Browserbase session by ID. browse env localauto-discovers debuggable Chrome and attaches when found (falls back to isolated). Adds--isolated, positional CDP target, and--wsaccepts bare port numbers.
- Add
-
Bug Fixes
- Add CLI metadata to Browserbase sessions created via the CLI.
- Clear cached browser state when CDP connection drops to prevent “awaitActivePage: no page available” errors.