feat(agents): register team-mode in builtin and general agent definitions

This commit is contained in:
YeonGyu-Kim
2026-04-28 10:47:51 +09:00
parent 6327a7aca7
commit a110c739e1
2 changed files with 10 additions and 6 deletions
+4 -2
View File
@@ -25,6 +25,7 @@ export function collectPendingBuiltinAgents(input: {
availableModels: Set<string>
isFirstRunNoCache: boolean
disabledSkills?: Set<string>
teamModeEnabled?: boolean
useTaskSystem?: boolean
disableOmoEnv?: boolean
}): { pendingAgentConfigs: Map<string, AgentConfig>; availableAgents: AvailableAgent[] } {
@@ -40,8 +41,9 @@ export function collectPendingBuiltinAgents(input: {
browserProvider,
uiSelectedModel,
availableModels,
isFirstRunNoCache,
isFirstRunNoCache: _isFirstRunNoCache,
disabledSkills,
teamModeEnabled,
disableOmoEnv = false,
} = input
@@ -105,7 +107,7 @@ export function collectPendingBuiltinAgents(input: {
}
config = applyOverrides(config, override, mergedCategories, directory)
config = resolveAgentSkills(config, { gitMasterConfig, browserProvider, disabledSkills })
config = resolveAgentSkills(config, { gitMasterConfig, browserProvider, disabledSkills, teamModeEnabled })
// Store for later - will be added after sisyphus and hephaestus
pendingAgentConfigs.set(name, config)