feat(cli): support Authenticated Fetch with saved contexts

SH
2d ago
+325-183

browse cloud fetch can now reuse a saved Browserbase login with --context-id <id|name>. Context names resolve through the existing local aliases; requests without the flag keep their current behavior. Raw, Markdown, JSON extraction, and file output all remain available.

Uses Browserbase SDK 2.23.0, updates CLI help and the bundled Browse skill, and includes a minor changeset. The SDK's exact release is included in the workspace's release-age exceptions so the new dependency can install.

Validation:

  • CLI build, type check, changed-file formatting and ESLint pass.
  • All 511 CLI tests pass, including context UUIDs, aliases, typo handling, default omission, and output formats/files.
  • Live smoke against the public The Internet login demo: anonymous raw/Markdown/JSON requests returned the login page; requests using the saved context returned protected content. Tested a UUID and saved aliases. Temporary session/context cleaned up.

Public feature reference: Authenticated Fetch.