chore(cli): prepare browse 0.9.7 from v3
Closed
SH
2mo ago+126+126+012345678901234567890123456789-6-6-0123456789
Summary
- version Browse from
0.9.6to0.9.7and consume the Functions parity changeset - add a
v3-cli-only trusted-publishing job for Browse - keep the existing monorepo release job restricted to
main - lint, test, pack, inspect, install-smoke, publish with npm provenance, and tag the exact Browse artifact
This is stacked on #2704 and supersedes #2703, whose v4-spike-cli base contains unrelated CLI migration work.
Why this release path
v3-cli starts at the last pre-v4 main commit, and its packages/cli tree is identical to the published browse@0.9.6 tag. This lets 0.9.7 contain the tactical Functions fix without also shipping unreleased v4-branch CLI changes.
The workflow publishes only packages/cli; it does not run the monorepo-wide Changesets publish path. npm authentication remains the repository's existing OIDC/trusted-publishing flow with provenance.
E2E Test Matrix
| Command / flow | Observed output | Confidence / sufficiency |
|---|---|---|
actionlint .github/workflows/release.yml | Passed with no findings | Validates workflow syntax and expressions |
pnpm --filter browse lint | Formatting, ESLint, and TypeScript checks passed for browse@0.9.7 | Proves the exact release tree is statically valid |
pnpm --filter browse test under the CI-standard umask | 25 files and 369/369 tests passed | Proves the exact versioned release tree is green |
pnpm --dir packages/cli pack --pack-destination <temp> | Produced browse-0.9.7.tgz with 142 entries | Exercises the exact v3-compatible pack command used by CI |
Inspect packed package/package.json | Name/version are browse@0.9.7; workspace dependency resolves to @browserbasehq/stagehand@3.7.1 | Proves no v4 Stagehand dependency leaks into the artifact |
| Install tarball into a clean temp prefix | browse/0.9.7; browse functions --help exposes functions publish | Proves the packed artifact installs and its CLI entry point runs |
npm view browse@0.9.7 | Version is not published | Confirms merging this PR will create, not overwrite, the release |
Merge and publish order
- Merge #2704 into
v3-cli. - Retarget this PR from
agent/fix-functions-parity-v3tov3-cli. - Merge this PR. The push to
v3-clitriggers the Browse-only job and publishesbrowse@0.9.7.