core: reorganize agent configuration to separate primary agents (build, plan) from subagents

This commit is contained in:
Dax Raad
2025-12-15 09:58:23 -05:00
parent 274b86b19b
commit b0f77da56c
3 changed files with 25 additions and 19 deletions

View File

@@ -668,10 +668,16 @@ export namespace Config {
.describe("@deprecated Use `agent` field instead."),
agent: z
.object({
// primary
plan: Agent.optional(),
build: Agent.optional(),
// subagent
general: Agent.optional(),
explore: Agent.optional(),
// specialized
title: Agent.optional(),
summary: Agent.optional(),
compaction: Agent.optional(),
})
.catchall(Agent)
.optional()