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 9b6e4be2b5
commit 5589aac742
8 changed files with 283 additions and 3 deletions
+11
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`