Skip to content

Conversation

@pkiv
Copy link

@pkiv pkiv commented Jan 11, 2026

Summary

  • Adds unified session commands to manage both local daemon sessions and Browserbase cloud sessions
  • Auto-detects local vs cloud based on ID format (UUID = cloud, name = local)
  • Local session management is handled directly in Rust CLI (no daemon needed)
  • Cloud session management requires daemon with BROWSERBASE_API_KEY set

Commands

Command Description
session list Lists all active sessions (local + cloud)
session Shows current session info
session info <name|id> Shows session details
session kill <name|id> Stops/kills a session
session debug <id> Gets debug URLs (cloud only)

Test plan

  • Test session list with local sessions
  • Test session list with Browserbase sessions (requires API key)
  • Test session info with local session name
  • Test session info with cloud session UUID
  • Test session kill for local session
  • Test session kill for cloud session
  • Test session debug for cloud session

🤖 Generated with Claude Code

pkiv and others added 2 commits January 11, 2026 15:11
When BROWSERBASE_API_KEY and BROWSERBASE_PROJECT_ID env vars are set,
connect to a Browserbase session via CDP instead of launching a local browser.
- session list: Lists both local daemon sessions and Browserbase cloud sessions
- session: Shows current session info
- session info <name|id>: Shows details (auto-detects local vs cloud by UUID format)
- session kill <name|id>: Stops session (auto-detects local vs cloud)
- session debug <id>: Gets debug URLs for cloud sessions

Local sessions are managed directly in Rust CLI (no daemon needed).
Cloud sessions require daemon with BROWSERBASE_API_KEY set.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants