fix(subagents): restore configurable announce timeout

Co-authored-by: Valadon <20071960+Valadon@users.noreply.github.com>
This commit is contained in:
Peter Steinberger
2026-02-22 21:36:43 +01:00
parent 3820ad77ba
commit 320cf8eb3e
5 changed files with 184 additions and 3 deletions

View File

@@ -247,6 +247,8 @@ export type AgentDefaultsConfig = {
model?: AgentModelConfig;
/** Default thinking level for spawned sub-agents (e.g. "off", "low", "medium", "high"). */
thinking?: string;
/** Gateway timeout in ms for sub-agent announce delivery calls (default: 60000). */
announceTimeoutMs?: number;
};
/** Optional sandbox settings for non-main sessions. */
sandbox?: AgentSandboxConfig;

View File

@@ -164,6 +164,7 @@ export const AgentDefaultsSchema = z
archiveAfterMinutes: z.number().int().positive().optional(),
model: AgentModelSchema.optional(),
thinking: z.string().optional(),
announceTimeoutMs: z.number().int().positive().optional(),
})
.strict()
.optional(),