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 <[email protected]>
This commit is contained in:
Mitch McAlister
2026-02-24 04:22:43 +00:00
committed by Peter Steinberger
co-authored by Claude Opus 4.6
parent 5710d72527
commit 8bcd405b1c
+1 -1
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()