feat: add Browser Use cloud browser as available provider (#138)

* feat: add Browser Use cloud browser
  integration

* feat: enhance Browser Use integration with provider flag support

- Updated README to reflect new usage instructions for enabling Browser Use with the `-p` flag.
- Modified CLI to parse and handle the `-p` flag for specifying the provider.
- Implemented logic in the main application to launch with the specified cloud provider.
- Adjusted BrowserManager to connect to Browser Use based on the provider flag or environment variable.
- Updated types and protocol schemas to include provider information.

* feat: add validation for mutually exclusive CLI options

- Implemented checks to prevent the use of both --cdp and --provider flags simultaneously.
- Added validation to ensure --extension cannot be used with the --provider flag.
- Enhanced error handling to provide clear feedback in both JSON and console output formats.
This commit is contained in:
Aitor
2026-01-21 18:01:19 -06:00
committed by GitHub
parent 7123d46e7f
commit c4139fa389
6 changed files with 194 additions and 7 deletions
+1
View File
@@ -30,6 +30,7 @@ const launchSchema = baseCommandSchema.extend({
password: z.string().optional(),
})
.optional(),
provider: z.string().optional(),
});
const navigateSchema = baseCommandSchema.extend({