feat(agent): add allowed domain restrictions for browser agent (#21775)

This commit is contained in:
cynthialong0-0
2026-03-13 12:41:40 -07:00
committed by GitHub
parent dd8d4c98b3
commit bfbd3c40a7
8 changed files with 283 additions and 3 deletions

View File

@@ -706,6 +706,17 @@ their corresponding top-level category object in your `settings.json` file.
- **Default:** `undefined`
- **Requires restart:** Yes
- **`agents.browser.allowedDomains`** (array):
- **Description:** A list of allowed domains for the browser agent (e.g.,
["github.com", "*.google.com"]).
- **Default:**
```json
["github.com", "*.google.com", "localhost"]
```
- **Requires restart:** Yes
- **`agents.browser.disableUserInput`** (boolean):
- **Description:** Disable user input on browser window during automation.
- **Default:** `true`