mirror of
https://github.com/browser-use/browser-use
synced 2026-05-06 17:52:15 +02:00
- Added `run_auth_command` to handle user authentication via the CLI, allowing users to authenticate with Browser Use Cloud. - Updated `main` function to trigger authentication when the `--auth` option is used. - Introduced `authenticate_cloud_sync` method in `CloudSync` to facilitate authentication after task completion. - Modified `DeviceAuthClient` to handle empty agent session IDs gracefully. - Updated documentation to include instructions for cloud authentication setup and usage. - Enhanced tests to verify authentication flow and event handling based on authentication status.