feat(agent): add navigation url restrictions

This commit is contained in:
Cynthia Long
2026-03-09 17:57:32 +00:00
parent 743d05b37f
commit 1608302fa3
8 changed files with 221 additions and 3 deletions

View File

@@ -1095,6 +1095,19 @@ const SETTINGS_SCHEMA = {
description: 'Model override for the visual agent.',
showInDialog: false,
},
allowedDomains: {
type: 'array',
label: 'Allowed Domains',
category: 'Advanced',
requiresRestart: true,
default: ['github.com', '*.google.com'] as string[],
description: oneLine`
A list of allowed domains for the browser agent
(e.g., ["github.com", "*.google.com"]).
`,
showInDialog: false,
items: { type: 'string' },
},
},
},
},