fix: add .int() to runTimeoutSeconds zod schema for consistency

Matches convention used by all other *Seconds/*Ms timeout fields.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Mitch McAlister
2026-02-23 17:33:58 +00:00
committed by Peter Steinberger
parent 5710d72527
commit 8bcd405b1c

View File

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