feat: zero-config cloud connect with auto-managed profile

cloud connect now works with no flags. On first use, creates a
"Browser Use CLI" profile via the Cloud API and saves the ID to
config.json. Subsequent connects reuse it (validates on each call,
recreates if deleted).

Removed --timeout, --proxy-country, --profile-id flags and their
plumbing through daemon/sessions. Power users who need custom browser
settings use cloud v2 POST /browsers directly.
This commit is contained in:
ShawnPana
2026-03-31 12:28:42 -07:00
parent 04ca40c3af
commit b4b2a4c18d
6 changed files with 41 additions and 40 deletions

View File

@@ -205,10 +205,7 @@ Generic REST passthrough to the Browser-Use Cloud API, plus cloud browser provis
| Command | Description |
|---------|-------------|
| `cloud connect` | Provision cloud browser and connect |
| `cloud connect --timeout 120` | Cloud browser with custom timeout |
| `cloud connect --proxy-country US` | Cloud browser with proxy |
| `cloud connect --profile-id <id>` | Cloud browser with profile |
| `cloud connect` | Provision cloud browser and connect (zero-config, auto-manages profile) |
| `cloud login <api-key>` | Save API key |
| `cloud logout` | Remove API key |
| `cloud v2 GET <path>` | GET request to API v2 |