Release @browserbasehq/browse-cli@0.4.0

Merged
GI
8mo ago
+15-21

Prepare the next browse-cli release by versioning the package on main.

What this PR does:

  • bumps packages/cli/package.json to 0.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 --connect to attach to an existing Browserbase session by ID.
    • browse env local auto-discovers debuggable Chrome and attaches when found (falls back to isolated). Adds --isolated, positional CDP target, and --ws accepts bare port numbers.
  • 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.