feat(browser): add browser agent settings schema

Add extensible browser agent configuration using the agents.overrides pattern:
- Extended AgentOverride interface with customConfig field for agent-specific settings
- Added BrowserAgentCustomConfig type for browser-specific configuration
- Added getAgentOverride() and getBrowserAgentConfig() methods to Config class
- Settings configured via agents.overrides.browser_agent.customConfig
- Updated settings schema with customConfig in AgentOverride definition

This establishes the foundational pattern for configuring the browser agent
through the standard agents.overrides infrastructure.
This commit is contained in:
Gaurav Ghosh
2026-01-06 05:10:59 +00:00
parent 7cfbb6fb71
commit 0b93c868e9
3 changed files with 135 additions and 0 deletions
@@ -2275,6 +2275,12 @@ export const SETTINGS_SCHEMA_DEFINITIONS: Record<
type: 'boolean',
description: 'Whether to enable the agent.',
},
customConfig: {
type: 'object',
description:
'Agent-specific custom configuration. Each agent defines its own schema.',
additionalProperties: true,
},
},
},
CustomTheme: {