feat: automate bounded image-sharing conversations

This commit is contained in:
jjbrunton committed 2026-08-08 23:10:52 +01:00
1 parent dcf57273e2
commit 3beb8aada2
15 files changed
+477 -19

No files matched your search

+6
View File
@@ -69,6 +69,12 @@ export const ConversationDetailResponseSchema = ActiveChatSchema.extend({
imageUrl: z.string().nullable().optional(),
sentAt: z.number(),
}).nullable(),
automation: z.strictObject({
turnsUsed: z.number().int().min(0).max(3),
remainingTurns: z.number().int().min(0).max(3),
status: z.enum(['active', 'image-received', 'human-required', 'boundary', 'user-overridden']),
handoffReason: z.string().nullable(),
}),
syncInProgress: z.strictObject({
kind: SyncKindSchema.nullable(),
progress: SyncProgressSchema.nullable(),