From fd4dc67891491c4f2092c81a6a4348aebf019cc2 Mon Sep 17 00:00:00 2001 From: Jeff Haynie Date: Thu, 23 Apr 2026 10:51:37 -0400 Subject: [PATCH] relax stream namespace timestamp fields --- packages/core/src/services/stream/namespaces.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/services/stream/namespaces.ts b/packages/core/src/services/stream/namespaces.ts index dd102bcc1..81c318e54 100644 --- a/packages/core/src/services/stream/namespaces.ts +++ b/packages/core/src/services/stream/namespaces.ts @@ -40,11 +40,11 @@ export const StreamNamespaceEntrySchema = z.object({ chunks: z.number().describe('number of chunks'), completed: z.boolean().describe('whether the stream upload is completed'), size_bytes: z.number().describe('size in bytes'), - started_at: z.string().nullable().describe('ISO 8601 stream start timestamp'), + started_at: z.string().nullable().optional().describe('ISO 8601 stream start timestamp'), ended_at: z.string().nullable().describe('ISO 8601 stream end timestamp'), headers: z.record(z.string(), z.string()).nullable().optional().describe('stream headers'), metadata: z.record(z.string(), z.string()).nullable().optional().describe('stream metadata'), - expires_at: z.string().nullable().describe('ISO 8601 expiration timestamp or null'), + expires_at: z.string().nullable().optional().describe('ISO 8601 expiration timestamp or null'), url: z.string().describe('public URL to access the stream'), });