@convex-dev/agent 0.7.0 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -8
- package/dist/client/messages.d.ts +10 -0
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/messages.js +1 -0
- package/dist/client/messages.js.map +1 -1
- package/dist/component/_generated/component.d.ts +15 -8
- package/dist/component/_generated/component.d.ts.map +1 -1
- package/dist/component/files.d.ts +6 -4
- package/dist/component/files.d.ts.map +1 -1
- package/dist/component/files.js +53 -42
- package/dist/component/files.js.map +1 -1
- package/dist/component/messages.d.ts +340 -338
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/messages.js +80 -16
- package/dist/component/messages.js.map +1 -1
- package/dist/component/schema.d.ts +782 -626
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/component/schema.js +12 -2
- package/dist/component/schema.js.map +1 -1
- package/dist/component/streams.d.ts +16 -2
- package/dist/component/streams.d.ts.map +1 -1
- package/dist/component/streams.js +86 -30
- package/dist/component/streams.js.map +1 -1
- package/dist/component/vector/index.d.ts +9 -9
- package/dist/component/vector/index.d.ts.map +1 -1
- package/dist/component/vector/tables.d.ts +5 -5
- package/dist/component/vector/tables.d.ts.map +1 -1
- package/dist/component/vector/tables.js +1 -1
- package/dist/component/vector/tables.js.map +1 -1
- package/dist/errors.d.ts +2 -0
- package/dist/errors.d.ts.map +1 -0
- package/dist/errors.js +106 -0
- package/dist/errors.js.map +1 -0
- package/dist/streaming/materializePersistedUIMessageChunks.d.ts +8 -2
- package/dist/streaming/materializePersistedUIMessageChunks.d.ts.map +1 -1
- package/dist/streaming/materializePersistedUIMessageChunks.js +34 -3
- package/dist/streaming/materializePersistedUIMessageChunks.js.map +1 -1
- package/dist/validators.d.ts +1952 -1952
- package/dist/vercel/UIMessages.js +1 -1
- package/dist/vercel/UIMessages.js.map +1 -1
- package/dist/vercel/client/definePlaygroundAPI.d.ts +132 -132
- package/dist/vercel/client/files.d.ts.map +1 -1
- package/dist/vercel/client/files.js +51 -27
- package/dist/vercel/client/files.js.map +1 -1
- package/dist/vercel/client/messages.d.ts +50 -32
- package/dist/vercel/client/messages.d.ts.map +1 -1
- package/dist/vercel/client/messages.js +2 -0
- package/dist/vercel/client/messages.js.map +1 -1
- package/dist/vercel/client/search.d.ts +475 -32
- package/dist/vercel/client/search.d.ts.map +1 -1
- package/dist/vercel/client/search.js +34 -9
- package/dist/vercel/client/search.js.map +1 -1
- package/dist/vercel/client/start.d.ts.map +1 -1
- package/dist/vercel/client/start.js +1 -0
- package/dist/vercel/client/start.js.map +1 -1
- package/dist/vercel/client/streamText.d.ts +1 -2
- package/dist/vercel/client/streamText.d.ts.map +1 -1
- package/dist/vercel/client/streamText.js +49 -17
- package/dist/vercel/client/streamText.js.map +1 -1
- package/dist/vercel/client/streaming.d.ts +318 -301
- package/dist/vercel/client/streaming.d.ts.map +1 -1
- package/dist/vercel/client/streaming.js +56 -21
- package/dist/vercel/client/streaming.js.map +1 -1
- package/dist/vercel/client/types.d.ts +2 -0
- package/dist/vercel/client/types.d.ts.map +1 -1
- package/dist/vercel/client/types.js.map +1 -1
- package/dist/vercel/client/utils.d.ts +9 -5
- package/dist/vercel/client/utils.d.ts.map +1 -1
- package/dist/vercel/client/utils.js +13 -13
- package/dist/vercel/client/utils.js.map +1 -1
- package/dist/vercel/fileMaterialization.d.ts +24 -0
- package/dist/vercel/fileMaterialization.d.ts.map +1 -0
- package/dist/vercel/fileMaterialization.js +118 -0
- package/dist/vercel/fileMaterialization.js.map +1 -0
- package/dist/vercel/index.d.ts +91 -90
- package/dist/vercel/index.d.ts.map +1 -1
- package/dist/vercel/index.js +2 -0
- package/dist/vercel/index.js.map +1 -1
- package/dist/vercel/mapping.d.ts.map +1 -1
- package/dist/vercel/mapping.js +7 -1
- package/dist/vercel/mapping.js.map +1 -1
- package/package.json +16 -9
- package/src/client/messages.ts +12 -0
- package/src/component/_generated/component.ts +18 -2
- package/src/component/files.test.ts +81 -6
- package/src/component/files.ts +69 -41
- package/src/component/messages.test.ts +496 -0
- package/src/component/messages.ts +105 -15
- package/src/component/schema.ts +16 -2
- package/src/component/streams.test.ts +109 -0
- package/src/component/streams.ts +123 -35
- package/src/component/vector/tables.ts +1 -1
- package/src/errors.test.ts +76 -0
- package/src/errors.ts +113 -0
- package/src/streaming/materializePersistedUIMessageChunks.test.ts +33 -0
- package/src/streaming/materializePersistedUIMessageChunks.ts +37 -0
- package/src/vercel/UIMessages.ts +1 -1
- package/src/vercel/client/files.test.ts +56 -0
- package/src/vercel/client/files.ts +53 -28
- package/src/vercel/client/index.test.ts +47 -0
- package/src/vercel/client/messages.ts +20 -0
- package/src/vercel/client/search.test.ts +183 -8
- package/src/vercel/client/search.ts +46 -12
- package/src/vercel/client/start.ts +1 -0
- package/src/vercel/client/streamText.test.ts +113 -17
- package/src/vercel/client/streamText.ts +55 -28
- package/src/vercel/client/streaming.test.ts +142 -7
- package/src/vercel/client/streaming.ts +73 -19
- package/src/vercel/client/types.ts +2 -0
- package/src/vercel/client/utils.test.ts +97 -0
- package/src/vercel/client/utils.ts +15 -15
- package/src/vercel/fileMaterialization.ts +174 -0
- package/src/vercel/index.ts +2 -0
- package/src/vercel/mapping.test.ts +117 -0
- package/src/vercel/mapping.ts +15 -1
- package/src/vercel/toUIMessages.test.ts +7 -1
|
@@ -28,17 +28,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
28
28
|
}[];
|
|
29
29
|
} | undefined;
|
|
30
30
|
page: {
|
|
31
|
-
text?: string | undefined;
|
|
32
|
-
reasoning?: string | undefined;
|
|
33
|
-
id?: string | undefined;
|
|
34
|
-
userId?: string | undefined;
|
|
35
|
-
embeddingId?: string | undefined;
|
|
36
|
-
fileIds?: string[] | undefined;
|
|
37
|
-
error?: string | undefined;
|
|
38
|
-
agentName?: string | undefined;
|
|
39
|
-
model?: string | undefined;
|
|
40
|
-
provider?: string | undefined;
|
|
41
|
-
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
42
31
|
message?: {
|
|
43
32
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
44
33
|
role: "user";
|
|
@@ -62,11 +51,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
62
51
|
mediaType?: string | undefined;
|
|
63
52
|
mimeType?: string | undefined;
|
|
64
53
|
filename?: string | undefined;
|
|
65
|
-
type: "file";
|
|
66
54
|
data: string | ArrayBuffer | {
|
|
67
55
|
type: "reference";
|
|
68
56
|
reference: Record<string, string>;
|
|
69
57
|
};
|
|
58
|
+
type: "file";
|
|
70
59
|
})[];
|
|
71
60
|
} | {
|
|
72
61
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -82,11 +71,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
82
71
|
mediaType?: string | undefined;
|
|
83
72
|
mimeType?: string | undefined;
|
|
84
73
|
filename?: string | undefined;
|
|
85
|
-
type: "file";
|
|
86
74
|
data: string | ArrayBuffer | {
|
|
87
75
|
type: "reference";
|
|
88
76
|
reference: Record<string, string>;
|
|
89
77
|
};
|
|
78
|
+
type: "file";
|
|
90
79
|
} | {
|
|
91
80
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
92
81
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -94,9 +83,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
94
83
|
text: string;
|
|
95
84
|
type: "reasoning";
|
|
96
85
|
} | {
|
|
86
|
+
data?: string | ArrayBuffer | undefined;
|
|
97
87
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
98
88
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
99
|
-
data?: string | ArrayBuffer | undefined;
|
|
100
89
|
url?: string | undefined;
|
|
101
90
|
type: "reasoning-file";
|
|
102
91
|
mediaType: string;
|
|
@@ -108,8 +97,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
108
97
|
} | {
|
|
109
98
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
110
99
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
111
|
-
type: "redacted-reasoning";
|
|
112
100
|
data: string;
|
|
101
|
+
type: "redacted-reasoning";
|
|
113
102
|
} | {
|
|
114
103
|
title?: string | undefined;
|
|
115
104
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -166,8 +155,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
166
155
|
} | {
|
|
167
156
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
168
157
|
filename?: string | undefined;
|
|
169
|
-
type: "file";
|
|
170
|
-
mediaType: string;
|
|
171
158
|
data: {
|
|
172
159
|
type: "reference";
|
|
173
160
|
reference: Record<string, string>;
|
|
@@ -175,22 +162,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
175
162
|
type: "url";
|
|
176
163
|
url: string;
|
|
177
164
|
} | {
|
|
178
|
-
type: "data";
|
|
179
165
|
data: string | ArrayBuffer;
|
|
166
|
+
type: "data";
|
|
180
167
|
} | {
|
|
181
168
|
text: string;
|
|
182
169
|
type: "text";
|
|
183
170
|
};
|
|
171
|
+
type: "file";
|
|
172
|
+
mediaType: string;
|
|
184
173
|
} | {
|
|
174
|
+
data: string;
|
|
185
175
|
type: "media";
|
|
186
176
|
mediaType: string;
|
|
187
|
-
data: string;
|
|
188
177
|
} | {
|
|
189
178
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
190
179
|
filename?: string | undefined;
|
|
180
|
+
data: string;
|
|
191
181
|
type: "file-data";
|
|
192
182
|
mediaType: string;
|
|
193
|
-
data: string;
|
|
194
183
|
} | {
|
|
195
184
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
196
185
|
mediaType?: string | undefined;
|
|
@@ -206,9 +195,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
206
195
|
providerReference: Record<string, string>;
|
|
207
196
|
} | {
|
|
208
197
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
198
|
+
data: string;
|
|
209
199
|
type: "image-data";
|
|
210
200
|
mediaType: string;
|
|
211
|
-
data: string;
|
|
212
201
|
} | {
|
|
213
202
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
214
203
|
type: "image-file-reference";
|
|
@@ -233,8 +222,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
233
222
|
type: "text";
|
|
234
223
|
} | {
|
|
235
224
|
mimeType?: string | undefined;
|
|
236
|
-
type: "image";
|
|
237
225
|
data: string;
|
|
226
|
+
type: "image";
|
|
238
227
|
})[] | undefined;
|
|
239
228
|
type: "tool-result";
|
|
240
229
|
toolCallId: string;
|
|
@@ -302,8 +291,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
302
291
|
} | {
|
|
303
292
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
304
293
|
filename?: string | undefined;
|
|
305
|
-
type: "file";
|
|
306
|
-
mediaType: string;
|
|
307
294
|
data: {
|
|
308
295
|
type: "reference";
|
|
309
296
|
reference: Record<string, string>;
|
|
@@ -311,22 +298,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
311
298
|
type: "url";
|
|
312
299
|
url: string;
|
|
313
300
|
} | {
|
|
314
|
-
type: "data";
|
|
315
301
|
data: string | ArrayBuffer;
|
|
302
|
+
type: "data";
|
|
316
303
|
} | {
|
|
317
304
|
text: string;
|
|
318
305
|
type: "text";
|
|
319
306
|
};
|
|
307
|
+
type: "file";
|
|
308
|
+
mediaType: string;
|
|
320
309
|
} | {
|
|
310
|
+
data: string;
|
|
321
311
|
type: "media";
|
|
322
312
|
mediaType: string;
|
|
323
|
-
data: string;
|
|
324
313
|
} | {
|
|
325
314
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
326
315
|
filename?: string | undefined;
|
|
316
|
+
data: string;
|
|
327
317
|
type: "file-data";
|
|
328
318
|
mediaType: string;
|
|
329
|
-
data: string;
|
|
330
319
|
} | {
|
|
331
320
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
332
321
|
mediaType?: string | undefined;
|
|
@@ -342,9 +331,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
342
331
|
providerReference: Record<string, string>;
|
|
343
332
|
} | {
|
|
344
333
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
334
|
+
data: string;
|
|
345
335
|
type: "image-data";
|
|
346
336
|
mediaType: string;
|
|
347
|
-
data: string;
|
|
348
337
|
} | {
|
|
349
338
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
350
339
|
type: "image-file-reference";
|
|
@@ -369,8 +358,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
369
358
|
type: "text";
|
|
370
359
|
} | {
|
|
371
360
|
mimeType?: string | undefined;
|
|
372
|
-
type: "image";
|
|
373
361
|
data: string;
|
|
362
|
+
type: "image";
|
|
374
363
|
})[] | undefined;
|
|
375
364
|
type: "tool-result";
|
|
376
365
|
toolCallId: string;
|
|
@@ -389,6 +378,17 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
389
378
|
role: "system";
|
|
390
379
|
content: string;
|
|
391
380
|
} | undefined;
|
|
381
|
+
error?: string | undefined;
|
|
382
|
+
text?: string | undefined;
|
|
383
|
+
reasoning?: string | undefined;
|
|
384
|
+
id?: string | undefined;
|
|
385
|
+
userId?: string | undefined;
|
|
386
|
+
embeddingId?: string | undefined;
|
|
387
|
+
fileIds?: string[] | undefined;
|
|
388
|
+
agentName?: string | undefined;
|
|
389
|
+
model?: string | undefined;
|
|
390
|
+
provider?: string | undefined;
|
|
391
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
392
392
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
393
393
|
usage?: {
|
|
394
394
|
promptTokens?: number | undefined;
|
|
@@ -428,8 +428,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
428
428
|
type: "compatibility";
|
|
429
429
|
feature: string;
|
|
430
430
|
} | {
|
|
431
|
-
type: "deprecated";
|
|
432
431
|
message: string;
|
|
432
|
+
type: "deprecated";
|
|
433
433
|
setting: string;
|
|
434
434
|
} | {
|
|
435
435
|
details?: string | undefined;
|
|
@@ -440,8 +440,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
440
440
|
tool: any;
|
|
441
441
|
type: "unsupported-tool";
|
|
442
442
|
} | {
|
|
443
|
-
type: "other";
|
|
444
443
|
message: string;
|
|
444
|
+
type: "other";
|
|
445
445
|
})[] | undefined;
|
|
446
446
|
finishReason?: "error" | "length" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
447
447
|
reasoningDetails?: ({
|
|
@@ -455,8 +455,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
455
455
|
text: string;
|
|
456
456
|
type: "text";
|
|
457
457
|
} | {
|
|
458
|
-
type: "redacted";
|
|
459
458
|
data: string;
|
|
459
|
+
type: "redacted";
|
|
460
460
|
})[] | undefined;
|
|
461
461
|
tool: boolean;
|
|
462
462
|
status: "pending" | "success" | "failed";
|
|
@@ -569,17 +569,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
569
569
|
}, "required", "streamId" | "start" | "end" | "parts">, "required">;
|
|
570
570
|
}, "required", "kind" | "deltas">], "optional", "kind" | "messages" | "deltas">;
|
|
571
571
|
page: import("convex/values").VArray<{
|
|
572
|
-
text?: string | undefined;
|
|
573
|
-
reasoning?: string | undefined;
|
|
574
|
-
id?: string | undefined;
|
|
575
|
-
userId?: string | undefined;
|
|
576
|
-
embeddingId?: string | undefined;
|
|
577
|
-
fileIds?: string[] | undefined;
|
|
578
|
-
error?: string | undefined;
|
|
579
|
-
agentName?: string | undefined;
|
|
580
|
-
model?: string | undefined;
|
|
581
|
-
provider?: string | undefined;
|
|
582
|
-
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
583
572
|
message?: {
|
|
584
573
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
585
574
|
role: "user";
|
|
@@ -603,11 +592,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
603
592
|
mediaType?: string | undefined;
|
|
604
593
|
mimeType?: string | undefined;
|
|
605
594
|
filename?: string | undefined;
|
|
606
|
-
type: "file";
|
|
607
595
|
data: string | ArrayBuffer | {
|
|
608
596
|
type: "reference";
|
|
609
597
|
reference: Record<string, string>;
|
|
610
598
|
};
|
|
599
|
+
type: "file";
|
|
611
600
|
})[];
|
|
612
601
|
} | {
|
|
613
602
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -623,11 +612,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
623
612
|
mediaType?: string | undefined;
|
|
624
613
|
mimeType?: string | undefined;
|
|
625
614
|
filename?: string | undefined;
|
|
626
|
-
type: "file";
|
|
627
615
|
data: string | ArrayBuffer | {
|
|
628
616
|
type: "reference";
|
|
629
617
|
reference: Record<string, string>;
|
|
630
618
|
};
|
|
619
|
+
type: "file";
|
|
631
620
|
} | {
|
|
632
621
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
633
622
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -635,9 +624,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
635
624
|
text: string;
|
|
636
625
|
type: "reasoning";
|
|
637
626
|
} | {
|
|
627
|
+
data?: string | ArrayBuffer | undefined;
|
|
638
628
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
639
629
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
640
|
-
data?: string | ArrayBuffer | undefined;
|
|
641
630
|
url?: string | undefined;
|
|
642
631
|
type: "reasoning-file";
|
|
643
632
|
mediaType: string;
|
|
@@ -649,8 +638,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
649
638
|
} | {
|
|
650
639
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
651
640
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
652
|
-
type: "redacted-reasoning";
|
|
653
641
|
data: string;
|
|
642
|
+
type: "redacted-reasoning";
|
|
654
643
|
} | {
|
|
655
644
|
title?: string | undefined;
|
|
656
645
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -707,8 +696,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
707
696
|
} | {
|
|
708
697
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
709
698
|
filename?: string | undefined;
|
|
710
|
-
type: "file";
|
|
711
|
-
mediaType: string;
|
|
712
699
|
data: {
|
|
713
700
|
type: "reference";
|
|
714
701
|
reference: Record<string, string>;
|
|
@@ -716,22 +703,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
716
703
|
type: "url";
|
|
717
704
|
url: string;
|
|
718
705
|
} | {
|
|
719
|
-
type: "data";
|
|
720
706
|
data: string | ArrayBuffer;
|
|
707
|
+
type: "data";
|
|
721
708
|
} | {
|
|
722
709
|
text: string;
|
|
723
710
|
type: "text";
|
|
724
711
|
};
|
|
712
|
+
type: "file";
|
|
713
|
+
mediaType: string;
|
|
725
714
|
} | {
|
|
715
|
+
data: string;
|
|
726
716
|
type: "media";
|
|
727
717
|
mediaType: string;
|
|
728
|
-
data: string;
|
|
729
718
|
} | {
|
|
730
719
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
731
720
|
filename?: string | undefined;
|
|
721
|
+
data: string;
|
|
732
722
|
type: "file-data";
|
|
733
723
|
mediaType: string;
|
|
734
|
-
data: string;
|
|
735
724
|
} | {
|
|
736
725
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
737
726
|
mediaType?: string | undefined;
|
|
@@ -747,9 +736,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
747
736
|
providerReference: Record<string, string>;
|
|
748
737
|
} | {
|
|
749
738
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
739
|
+
data: string;
|
|
750
740
|
type: "image-data";
|
|
751
741
|
mediaType: string;
|
|
752
|
-
data: string;
|
|
753
742
|
} | {
|
|
754
743
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
755
744
|
type: "image-file-reference";
|
|
@@ -774,8 +763,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
774
763
|
type: "text";
|
|
775
764
|
} | {
|
|
776
765
|
mimeType?: string | undefined;
|
|
777
|
-
type: "image";
|
|
778
766
|
data: string;
|
|
767
|
+
type: "image";
|
|
779
768
|
})[] | undefined;
|
|
780
769
|
type: "tool-result";
|
|
781
770
|
toolCallId: string;
|
|
@@ -843,8 +832,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
843
832
|
} | {
|
|
844
833
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
845
834
|
filename?: string | undefined;
|
|
846
|
-
type: "file";
|
|
847
|
-
mediaType: string;
|
|
848
835
|
data: {
|
|
849
836
|
type: "reference";
|
|
850
837
|
reference: Record<string, string>;
|
|
@@ -852,22 +839,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
852
839
|
type: "url";
|
|
853
840
|
url: string;
|
|
854
841
|
} | {
|
|
855
|
-
type: "data";
|
|
856
842
|
data: string | ArrayBuffer;
|
|
843
|
+
type: "data";
|
|
857
844
|
} | {
|
|
858
845
|
text: string;
|
|
859
846
|
type: "text";
|
|
860
847
|
};
|
|
848
|
+
type: "file";
|
|
849
|
+
mediaType: string;
|
|
861
850
|
} | {
|
|
851
|
+
data: string;
|
|
862
852
|
type: "media";
|
|
863
853
|
mediaType: string;
|
|
864
|
-
data: string;
|
|
865
854
|
} | {
|
|
866
855
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
867
856
|
filename?: string | undefined;
|
|
857
|
+
data: string;
|
|
868
858
|
type: "file-data";
|
|
869
859
|
mediaType: string;
|
|
870
|
-
data: string;
|
|
871
860
|
} | {
|
|
872
861
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
873
862
|
mediaType?: string | undefined;
|
|
@@ -883,9 +872,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
883
872
|
providerReference: Record<string, string>;
|
|
884
873
|
} | {
|
|
885
874
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
875
|
+
data: string;
|
|
886
876
|
type: "image-data";
|
|
887
877
|
mediaType: string;
|
|
888
|
-
data: string;
|
|
889
878
|
} | {
|
|
890
879
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
891
880
|
type: "image-file-reference";
|
|
@@ -910,8 +899,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
910
899
|
type: "text";
|
|
911
900
|
} | {
|
|
912
901
|
mimeType?: string | undefined;
|
|
913
|
-
type: "image";
|
|
914
902
|
data: string;
|
|
903
|
+
type: "image";
|
|
915
904
|
})[] | undefined;
|
|
916
905
|
type: "tool-result";
|
|
917
906
|
toolCallId: string;
|
|
@@ -930,6 +919,17 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
930
919
|
role: "system";
|
|
931
920
|
content: string;
|
|
932
921
|
} | undefined;
|
|
922
|
+
error?: string | undefined;
|
|
923
|
+
text?: string | undefined;
|
|
924
|
+
reasoning?: string | undefined;
|
|
925
|
+
id?: string | undefined;
|
|
926
|
+
userId?: string | undefined;
|
|
927
|
+
embeddingId?: string | undefined;
|
|
928
|
+
fileIds?: string[] | undefined;
|
|
929
|
+
agentName?: string | undefined;
|
|
930
|
+
model?: string | undefined;
|
|
931
|
+
provider?: string | undefined;
|
|
932
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
933
933
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
934
934
|
usage?: {
|
|
935
935
|
promptTokens?: number | undefined;
|
|
@@ -969,8 +969,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
969
969
|
type: "compatibility";
|
|
970
970
|
feature: string;
|
|
971
971
|
} | {
|
|
972
|
-
type: "deprecated";
|
|
973
972
|
message: string;
|
|
973
|
+
type: "deprecated";
|
|
974
974
|
setting: string;
|
|
975
975
|
} | {
|
|
976
976
|
details?: string | undefined;
|
|
@@ -981,8 +981,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
981
981
|
tool: any;
|
|
982
982
|
type: "unsupported-tool";
|
|
983
983
|
} | {
|
|
984
|
-
type: "other";
|
|
985
984
|
message: string;
|
|
985
|
+
type: "other";
|
|
986
986
|
})[] | undefined;
|
|
987
987
|
finishReason?: "error" | "length" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
988
988
|
reasoningDetails?: ({
|
|
@@ -996,8 +996,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
996
996
|
text: string;
|
|
997
997
|
type: "text";
|
|
998
998
|
} | {
|
|
999
|
-
type: "redacted";
|
|
1000
999
|
data: string;
|
|
1000
|
+
type: "redacted";
|
|
1001
1001
|
})[] | undefined;
|
|
1002
1002
|
tool: boolean;
|
|
1003
1003
|
status: "pending" | "success" | "failed";
|
|
@@ -1007,17 +1007,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1007
1007
|
stepOrder: number;
|
|
1008
1008
|
_id: string;
|
|
1009
1009
|
}[], import("convex/values").VObject<{
|
|
1010
|
-
text?: string | undefined;
|
|
1011
|
-
reasoning?: string | undefined;
|
|
1012
|
-
id?: string | undefined;
|
|
1013
|
-
userId?: string | undefined;
|
|
1014
|
-
embeddingId?: string | undefined;
|
|
1015
|
-
fileIds?: string[] | undefined;
|
|
1016
|
-
error?: string | undefined;
|
|
1017
|
-
agentName?: string | undefined;
|
|
1018
|
-
model?: string | undefined;
|
|
1019
|
-
provider?: string | undefined;
|
|
1020
|
-
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1021
1010
|
message?: {
|
|
1022
1011
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1023
1012
|
role: "user";
|
|
@@ -1041,11 +1030,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1041
1030
|
mediaType?: string | undefined;
|
|
1042
1031
|
mimeType?: string | undefined;
|
|
1043
1032
|
filename?: string | undefined;
|
|
1044
|
-
type: "file";
|
|
1045
1033
|
data: string | ArrayBuffer | {
|
|
1046
1034
|
type: "reference";
|
|
1047
1035
|
reference: Record<string, string>;
|
|
1048
1036
|
};
|
|
1037
|
+
type: "file";
|
|
1049
1038
|
})[];
|
|
1050
1039
|
} | {
|
|
1051
1040
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1061,11 +1050,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1061
1050
|
mediaType?: string | undefined;
|
|
1062
1051
|
mimeType?: string | undefined;
|
|
1063
1052
|
filename?: string | undefined;
|
|
1064
|
-
type: "file";
|
|
1065
1053
|
data: string | ArrayBuffer | {
|
|
1066
1054
|
type: "reference";
|
|
1067
1055
|
reference: Record<string, string>;
|
|
1068
1056
|
};
|
|
1057
|
+
type: "file";
|
|
1069
1058
|
} | {
|
|
1070
1059
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1071
1060
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1073,9 +1062,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1073
1062
|
text: string;
|
|
1074
1063
|
type: "reasoning";
|
|
1075
1064
|
} | {
|
|
1065
|
+
data?: string | ArrayBuffer | undefined;
|
|
1076
1066
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1077
1067
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1078
|
-
data?: string | ArrayBuffer | undefined;
|
|
1079
1068
|
url?: string | undefined;
|
|
1080
1069
|
type: "reasoning-file";
|
|
1081
1070
|
mediaType: string;
|
|
@@ -1087,8 +1076,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1087
1076
|
} | {
|
|
1088
1077
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1089
1078
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1090
|
-
type: "redacted-reasoning";
|
|
1091
1079
|
data: string;
|
|
1080
|
+
type: "redacted-reasoning";
|
|
1092
1081
|
} | {
|
|
1093
1082
|
title?: string | undefined;
|
|
1094
1083
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1145,8 +1134,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1145
1134
|
} | {
|
|
1146
1135
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1147
1136
|
filename?: string | undefined;
|
|
1148
|
-
type: "file";
|
|
1149
|
-
mediaType: string;
|
|
1150
1137
|
data: {
|
|
1151
1138
|
type: "reference";
|
|
1152
1139
|
reference: Record<string, string>;
|
|
@@ -1154,22 +1141,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1154
1141
|
type: "url";
|
|
1155
1142
|
url: string;
|
|
1156
1143
|
} | {
|
|
1157
|
-
type: "data";
|
|
1158
1144
|
data: string | ArrayBuffer;
|
|
1145
|
+
type: "data";
|
|
1159
1146
|
} | {
|
|
1160
1147
|
text: string;
|
|
1161
1148
|
type: "text";
|
|
1162
1149
|
};
|
|
1150
|
+
type: "file";
|
|
1151
|
+
mediaType: string;
|
|
1163
1152
|
} | {
|
|
1153
|
+
data: string;
|
|
1164
1154
|
type: "media";
|
|
1165
1155
|
mediaType: string;
|
|
1166
|
-
data: string;
|
|
1167
1156
|
} | {
|
|
1168
1157
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1169
1158
|
filename?: string | undefined;
|
|
1159
|
+
data: string;
|
|
1170
1160
|
type: "file-data";
|
|
1171
1161
|
mediaType: string;
|
|
1172
|
-
data: string;
|
|
1173
1162
|
} | {
|
|
1174
1163
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1175
1164
|
mediaType?: string | undefined;
|
|
@@ -1185,9 +1174,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1185
1174
|
providerReference: Record<string, string>;
|
|
1186
1175
|
} | {
|
|
1187
1176
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1177
|
+
data: string;
|
|
1188
1178
|
type: "image-data";
|
|
1189
1179
|
mediaType: string;
|
|
1190
|
-
data: string;
|
|
1191
1180
|
} | {
|
|
1192
1181
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1193
1182
|
type: "image-file-reference";
|
|
@@ -1212,8 +1201,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1212
1201
|
type: "text";
|
|
1213
1202
|
} | {
|
|
1214
1203
|
mimeType?: string | undefined;
|
|
1215
|
-
type: "image";
|
|
1216
1204
|
data: string;
|
|
1205
|
+
type: "image";
|
|
1217
1206
|
})[] | undefined;
|
|
1218
1207
|
type: "tool-result";
|
|
1219
1208
|
toolCallId: string;
|
|
@@ -1281,8 +1270,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1281
1270
|
} | {
|
|
1282
1271
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1283
1272
|
filename?: string | undefined;
|
|
1284
|
-
type: "file";
|
|
1285
|
-
mediaType: string;
|
|
1286
1273
|
data: {
|
|
1287
1274
|
type: "reference";
|
|
1288
1275
|
reference: Record<string, string>;
|
|
@@ -1290,22 +1277,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1290
1277
|
type: "url";
|
|
1291
1278
|
url: string;
|
|
1292
1279
|
} | {
|
|
1293
|
-
type: "data";
|
|
1294
1280
|
data: string | ArrayBuffer;
|
|
1281
|
+
type: "data";
|
|
1295
1282
|
} | {
|
|
1296
1283
|
text: string;
|
|
1297
1284
|
type: "text";
|
|
1298
1285
|
};
|
|
1286
|
+
type: "file";
|
|
1287
|
+
mediaType: string;
|
|
1299
1288
|
} | {
|
|
1289
|
+
data: string;
|
|
1300
1290
|
type: "media";
|
|
1301
1291
|
mediaType: string;
|
|
1302
|
-
data: string;
|
|
1303
1292
|
} | {
|
|
1304
1293
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1305
1294
|
filename?: string | undefined;
|
|
1295
|
+
data: string;
|
|
1306
1296
|
type: "file-data";
|
|
1307
1297
|
mediaType: string;
|
|
1308
|
-
data: string;
|
|
1309
1298
|
} | {
|
|
1310
1299
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1311
1300
|
mediaType?: string | undefined;
|
|
@@ -1321,9 +1310,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1321
1310
|
providerReference: Record<string, string>;
|
|
1322
1311
|
} | {
|
|
1323
1312
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1313
|
+
data: string;
|
|
1324
1314
|
type: "image-data";
|
|
1325
1315
|
mediaType: string;
|
|
1326
|
-
data: string;
|
|
1327
1316
|
} | {
|
|
1328
1317
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1329
1318
|
type: "image-file-reference";
|
|
@@ -1348,8 +1337,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1348
1337
|
type: "text";
|
|
1349
1338
|
} | {
|
|
1350
1339
|
mimeType?: string | undefined;
|
|
1351
|
-
type: "image";
|
|
1352
1340
|
data: string;
|
|
1341
|
+
type: "image";
|
|
1353
1342
|
})[] | undefined;
|
|
1354
1343
|
type: "tool-result";
|
|
1355
1344
|
toolCallId: string;
|
|
@@ -1368,6 +1357,17 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1368
1357
|
role: "system";
|
|
1369
1358
|
content: string;
|
|
1370
1359
|
} | undefined;
|
|
1360
|
+
error?: string | undefined;
|
|
1361
|
+
text?: string | undefined;
|
|
1362
|
+
reasoning?: string | undefined;
|
|
1363
|
+
id?: string | undefined;
|
|
1364
|
+
userId?: string | undefined;
|
|
1365
|
+
embeddingId?: string | undefined;
|
|
1366
|
+
fileIds?: string[] | undefined;
|
|
1367
|
+
agentName?: string | undefined;
|
|
1368
|
+
model?: string | undefined;
|
|
1369
|
+
provider?: string | undefined;
|
|
1370
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1371
1371
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1372
1372
|
usage?: {
|
|
1373
1373
|
promptTokens?: number | undefined;
|
|
@@ -1407,8 +1407,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1407
1407
|
type: "compatibility";
|
|
1408
1408
|
feature: string;
|
|
1409
1409
|
} | {
|
|
1410
|
-
type: "deprecated";
|
|
1411
1410
|
message: string;
|
|
1411
|
+
type: "deprecated";
|
|
1412
1412
|
setting: string;
|
|
1413
1413
|
} | {
|
|
1414
1414
|
details?: string | undefined;
|
|
@@ -1419,8 +1419,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1419
1419
|
tool: any;
|
|
1420
1420
|
type: "unsupported-tool";
|
|
1421
1421
|
} | {
|
|
1422
|
-
type: "other";
|
|
1423
1422
|
message: string;
|
|
1423
|
+
type: "other";
|
|
1424
1424
|
})[] | undefined;
|
|
1425
1425
|
finishReason?: "error" | "length" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined;
|
|
1426
1426
|
reasoningDetails?: ({
|
|
@@ -1434,8 +1434,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1434
1434
|
text: string;
|
|
1435
1435
|
type: "text";
|
|
1436
1436
|
} | {
|
|
1437
|
-
type: "redacted";
|
|
1438
1437
|
data: string;
|
|
1438
|
+
type: "redacted";
|
|
1439
1439
|
})[] | undefined;
|
|
1440
1440
|
tool: boolean;
|
|
1441
1441
|
status: "pending" | "success" | "failed";
|
|
@@ -1482,11 +1482,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1482
1482
|
mediaType?: string | undefined;
|
|
1483
1483
|
mimeType?: string | undefined;
|
|
1484
1484
|
filename?: string | undefined;
|
|
1485
|
-
type: "file";
|
|
1486
1485
|
data: string | ArrayBuffer | {
|
|
1487
1486
|
type: "reference";
|
|
1488
1487
|
reference: Record<string, string>;
|
|
1489
1488
|
};
|
|
1489
|
+
type: "file";
|
|
1490
1490
|
})[];
|
|
1491
1491
|
} | {
|
|
1492
1492
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1502,11 +1502,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1502
1502
|
mediaType?: string | undefined;
|
|
1503
1503
|
mimeType?: string | undefined;
|
|
1504
1504
|
filename?: string | undefined;
|
|
1505
|
-
type: "file";
|
|
1506
1505
|
data: string | ArrayBuffer | {
|
|
1507
1506
|
type: "reference";
|
|
1508
1507
|
reference: Record<string, string>;
|
|
1509
1508
|
};
|
|
1509
|
+
type: "file";
|
|
1510
1510
|
} | {
|
|
1511
1511
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1512
1512
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1514,9 +1514,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1514
1514
|
text: string;
|
|
1515
1515
|
type: "reasoning";
|
|
1516
1516
|
} | {
|
|
1517
|
+
data?: string | ArrayBuffer | undefined;
|
|
1517
1518
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1518
1519
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1519
|
-
data?: string | ArrayBuffer | undefined;
|
|
1520
1520
|
url?: string | undefined;
|
|
1521
1521
|
type: "reasoning-file";
|
|
1522
1522
|
mediaType: string;
|
|
@@ -1528,8 +1528,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1528
1528
|
} | {
|
|
1529
1529
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1530
1530
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1531
|
-
type: "redacted-reasoning";
|
|
1532
1531
|
data: string;
|
|
1532
|
+
type: "redacted-reasoning";
|
|
1533
1533
|
} | {
|
|
1534
1534
|
title?: string | undefined;
|
|
1535
1535
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1586,8 +1586,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1586
1586
|
} | {
|
|
1587
1587
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1588
1588
|
filename?: string | undefined;
|
|
1589
|
-
type: "file";
|
|
1590
|
-
mediaType: string;
|
|
1591
1589
|
data: {
|
|
1592
1590
|
type: "reference";
|
|
1593
1591
|
reference: Record<string, string>;
|
|
@@ -1595,22 +1593,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1595
1593
|
type: "url";
|
|
1596
1594
|
url: string;
|
|
1597
1595
|
} | {
|
|
1598
|
-
type: "data";
|
|
1599
1596
|
data: string | ArrayBuffer;
|
|
1597
|
+
type: "data";
|
|
1600
1598
|
} | {
|
|
1601
1599
|
text: string;
|
|
1602
1600
|
type: "text";
|
|
1603
1601
|
};
|
|
1602
|
+
type: "file";
|
|
1603
|
+
mediaType: string;
|
|
1604
1604
|
} | {
|
|
1605
|
+
data: string;
|
|
1605
1606
|
type: "media";
|
|
1606
1607
|
mediaType: string;
|
|
1607
|
-
data: string;
|
|
1608
1608
|
} | {
|
|
1609
1609
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1610
1610
|
filename?: string | undefined;
|
|
1611
|
+
data: string;
|
|
1611
1612
|
type: "file-data";
|
|
1612
1613
|
mediaType: string;
|
|
1613
|
-
data: string;
|
|
1614
1614
|
} | {
|
|
1615
1615
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1616
1616
|
mediaType?: string | undefined;
|
|
@@ -1626,9 +1626,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1626
1626
|
providerReference: Record<string, string>;
|
|
1627
1627
|
} | {
|
|
1628
1628
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1629
|
+
data: string;
|
|
1629
1630
|
type: "image-data";
|
|
1630
1631
|
mediaType: string;
|
|
1631
|
-
data: string;
|
|
1632
1632
|
} | {
|
|
1633
1633
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1634
1634
|
type: "image-file-reference";
|
|
@@ -1653,8 +1653,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1653
1653
|
type: "text";
|
|
1654
1654
|
} | {
|
|
1655
1655
|
mimeType?: string | undefined;
|
|
1656
|
-
type: "image";
|
|
1657
1656
|
data: string;
|
|
1657
|
+
type: "image";
|
|
1658
1658
|
})[] | undefined;
|
|
1659
1659
|
type: "tool-result";
|
|
1660
1660
|
toolCallId: string;
|
|
@@ -1722,8 +1722,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1722
1722
|
} | {
|
|
1723
1723
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1724
1724
|
filename?: string | undefined;
|
|
1725
|
-
type: "file";
|
|
1726
|
-
mediaType: string;
|
|
1727
1725
|
data: {
|
|
1728
1726
|
type: "reference";
|
|
1729
1727
|
reference: Record<string, string>;
|
|
@@ -1731,22 +1729,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1731
1729
|
type: "url";
|
|
1732
1730
|
url: string;
|
|
1733
1731
|
} | {
|
|
1734
|
-
type: "data";
|
|
1735
1732
|
data: string | ArrayBuffer;
|
|
1733
|
+
type: "data";
|
|
1736
1734
|
} | {
|
|
1737
1735
|
text: string;
|
|
1738
1736
|
type: "text";
|
|
1739
1737
|
};
|
|
1738
|
+
type: "file";
|
|
1739
|
+
mediaType: string;
|
|
1740
1740
|
} | {
|
|
1741
|
+
data: string;
|
|
1741
1742
|
type: "media";
|
|
1742
1743
|
mediaType: string;
|
|
1743
|
-
data: string;
|
|
1744
1744
|
} | {
|
|
1745
1745
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1746
1746
|
filename?: string | undefined;
|
|
1747
|
+
data: string;
|
|
1747
1748
|
type: "file-data";
|
|
1748
1749
|
mediaType: string;
|
|
1749
|
-
data: string;
|
|
1750
1750
|
} | {
|
|
1751
1751
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1752
1752
|
mediaType?: string | undefined;
|
|
@@ -1762,9 +1762,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1762
1762
|
providerReference: Record<string, string>;
|
|
1763
1763
|
} | {
|
|
1764
1764
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1765
|
+
data: string;
|
|
1765
1766
|
type: "image-data";
|
|
1766
1767
|
mediaType: string;
|
|
1767
|
-
data: string;
|
|
1768
1768
|
} | {
|
|
1769
1769
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1770
1770
|
type: "image-file-reference";
|
|
@@ -1789,8 +1789,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1789
1789
|
type: "text";
|
|
1790
1790
|
} | {
|
|
1791
1791
|
mimeType?: string | undefined;
|
|
1792
|
-
type: "image";
|
|
1793
1792
|
data: string;
|
|
1793
|
+
type: "image";
|
|
1794
1794
|
})[] | undefined;
|
|
1795
1795
|
type: "tool-result";
|
|
1796
1796
|
toolCallId: string;
|
|
@@ -1831,11 +1831,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1831
1831
|
mediaType?: string | undefined;
|
|
1832
1832
|
mimeType?: string | undefined;
|
|
1833
1833
|
filename?: string | undefined;
|
|
1834
|
-
type: "file";
|
|
1835
1834
|
data: string | ArrayBuffer | {
|
|
1836
1835
|
type: "reference";
|
|
1837
1836
|
reference: Record<string, string>;
|
|
1838
1837
|
};
|
|
1838
|
+
type: "file";
|
|
1839
1839
|
})[];
|
|
1840
1840
|
}, {
|
|
1841
1841
|
role: import("convex/values").VLiteral<"user", "required">;
|
|
@@ -1859,11 +1859,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1859
1859
|
mediaType?: string | undefined;
|
|
1860
1860
|
mimeType?: string | undefined;
|
|
1861
1861
|
filename?: string | undefined;
|
|
1862
|
-
type: "file";
|
|
1863
1862
|
data: string | ArrayBuffer | {
|
|
1864
1863
|
type: "reference";
|
|
1865
1864
|
reference: Record<string, string>;
|
|
1866
1865
|
};
|
|
1866
|
+
type: "file";
|
|
1867
1867
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1868
1868
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1869
1869
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1884,11 +1884,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1884
1884
|
mediaType?: string | undefined;
|
|
1885
1885
|
mimeType?: string | undefined;
|
|
1886
1886
|
filename?: string | undefined;
|
|
1887
|
-
type: "file";
|
|
1888
1887
|
data: string | ArrayBuffer | {
|
|
1889
1888
|
type: "reference";
|
|
1890
1889
|
reference: Record<string, string>;
|
|
1891
1890
|
};
|
|
1891
|
+
type: "file";
|
|
1892
1892
|
})[], import("convex/values").VUnion<{
|
|
1893
1893
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1894
1894
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1909,11 +1909,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1909
1909
|
mediaType?: string | undefined;
|
|
1910
1910
|
mimeType?: string | undefined;
|
|
1911
1911
|
filename?: string | undefined;
|
|
1912
|
-
type: "file";
|
|
1913
1912
|
data: string | ArrayBuffer | {
|
|
1914
1913
|
type: "reference";
|
|
1915
1914
|
reference: Record<string, string>;
|
|
1916
1915
|
};
|
|
1916
|
+
type: "file";
|
|
1917
1917
|
}, [import("convex/values").VObject<{
|
|
1918
1918
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1919
1919
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1954,11 +1954,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1954
1954
|
mediaType?: string | undefined;
|
|
1955
1955
|
mimeType?: string | undefined;
|
|
1956
1956
|
filename?: string | undefined;
|
|
1957
|
-
type: "file";
|
|
1958
1957
|
data: string | ArrayBuffer | {
|
|
1959
1958
|
type: "reference";
|
|
1960
1959
|
reference: Record<string, string>;
|
|
1961
1960
|
};
|
|
1961
|
+
type: "file";
|
|
1962
1962
|
}, {
|
|
1963
1963
|
type: import("convex/values").VLiteral<"file", "required">;
|
|
1964
1964
|
data: import("convex/values").VUnion<string | ArrayBuffer | {
|
|
@@ -1976,7 +1976,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1976
1976
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1977
1977
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1978
1978
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1979
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "
|
|
1979
|
+
}, "required", "data" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}`>], "required", "data" | "text" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "image" | "mediaType" | "mimeType" | "image.type" | "image.reference" | `image.reference.${string}` | "filename" | "data.type" | "data.reference" | `data.reference.${string}`>, "required">], "required", never>;
|
|
1980
1980
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
1981
1981
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1982
1982
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1992,11 +1992,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
1992
1992
|
mediaType?: string | undefined;
|
|
1993
1993
|
mimeType?: string | undefined;
|
|
1994
1994
|
filename?: string | undefined;
|
|
1995
|
-
type: "file";
|
|
1996
1995
|
data: string | ArrayBuffer | {
|
|
1997
1996
|
type: "reference";
|
|
1998
1997
|
reference: Record<string, string>;
|
|
1999
1998
|
};
|
|
1999
|
+
type: "file";
|
|
2000
2000
|
} | {
|
|
2001
2001
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2002
2002
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2004,9 +2004,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2004
2004
|
text: string;
|
|
2005
2005
|
type: "reasoning";
|
|
2006
2006
|
} | {
|
|
2007
|
+
data?: string | ArrayBuffer | undefined;
|
|
2007
2008
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2008
2009
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2009
|
-
data?: string | ArrayBuffer | undefined;
|
|
2010
2010
|
url?: string | undefined;
|
|
2011
2011
|
type: "reasoning-file";
|
|
2012
2012
|
mediaType: string;
|
|
@@ -2018,8 +2018,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2018
2018
|
} | {
|
|
2019
2019
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2020
2020
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2021
|
-
type: "redacted-reasoning";
|
|
2022
2021
|
data: string;
|
|
2022
|
+
type: "redacted-reasoning";
|
|
2023
2023
|
} | {
|
|
2024
2024
|
title?: string | undefined;
|
|
2025
2025
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2076,8 +2076,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2076
2076
|
} | {
|
|
2077
2077
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2078
2078
|
filename?: string | undefined;
|
|
2079
|
-
type: "file";
|
|
2080
|
-
mediaType: string;
|
|
2081
2079
|
data: {
|
|
2082
2080
|
type: "reference";
|
|
2083
2081
|
reference: Record<string, string>;
|
|
@@ -2085,22 +2083,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2085
2083
|
type: "url";
|
|
2086
2084
|
url: string;
|
|
2087
2085
|
} | {
|
|
2088
|
-
type: "data";
|
|
2089
2086
|
data: string | ArrayBuffer;
|
|
2087
|
+
type: "data";
|
|
2090
2088
|
} | {
|
|
2091
2089
|
text: string;
|
|
2092
2090
|
type: "text";
|
|
2093
2091
|
};
|
|
2092
|
+
type: "file";
|
|
2093
|
+
mediaType: string;
|
|
2094
2094
|
} | {
|
|
2095
|
+
data: string;
|
|
2095
2096
|
type: "media";
|
|
2096
2097
|
mediaType: string;
|
|
2097
|
-
data: string;
|
|
2098
2098
|
} | {
|
|
2099
2099
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2100
2100
|
filename?: string | undefined;
|
|
2101
|
+
data: string;
|
|
2101
2102
|
type: "file-data";
|
|
2102
2103
|
mediaType: string;
|
|
2103
|
-
data: string;
|
|
2104
2104
|
} | {
|
|
2105
2105
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2106
2106
|
mediaType?: string | undefined;
|
|
@@ -2116,9 +2116,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2116
2116
|
providerReference: Record<string, string>;
|
|
2117
2117
|
} | {
|
|
2118
2118
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2119
|
+
data: string;
|
|
2119
2120
|
type: "image-data";
|
|
2120
2121
|
mediaType: string;
|
|
2121
|
-
data: string;
|
|
2122
2122
|
} | {
|
|
2123
2123
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2124
2124
|
type: "image-file-reference";
|
|
@@ -2143,8 +2143,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2143
2143
|
type: "text";
|
|
2144
2144
|
} | {
|
|
2145
2145
|
mimeType?: string | undefined;
|
|
2146
|
-
type: "image";
|
|
2147
2146
|
data: string;
|
|
2147
|
+
type: "image";
|
|
2148
2148
|
})[] | undefined;
|
|
2149
2149
|
type: "tool-result";
|
|
2150
2150
|
toolCallId: string;
|
|
@@ -2188,11 +2188,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2188
2188
|
mediaType?: string | undefined;
|
|
2189
2189
|
mimeType?: string | undefined;
|
|
2190
2190
|
filename?: string | undefined;
|
|
2191
|
-
type: "file";
|
|
2192
2191
|
data: string | ArrayBuffer | {
|
|
2193
2192
|
type: "reference";
|
|
2194
2193
|
reference: Record<string, string>;
|
|
2195
2194
|
};
|
|
2195
|
+
type: "file";
|
|
2196
2196
|
} | {
|
|
2197
2197
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2198
2198
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2200,9 +2200,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2200
2200
|
text: string;
|
|
2201
2201
|
type: "reasoning";
|
|
2202
2202
|
} | {
|
|
2203
|
+
data?: string | ArrayBuffer | undefined;
|
|
2203
2204
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2204
2205
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2205
|
-
data?: string | ArrayBuffer | undefined;
|
|
2206
2206
|
url?: string | undefined;
|
|
2207
2207
|
type: "reasoning-file";
|
|
2208
2208
|
mediaType: string;
|
|
@@ -2214,8 +2214,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2214
2214
|
} | {
|
|
2215
2215
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2216
2216
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2217
|
-
type: "redacted-reasoning";
|
|
2218
2217
|
data: string;
|
|
2218
|
+
type: "redacted-reasoning";
|
|
2219
2219
|
} | {
|
|
2220
2220
|
title?: string | undefined;
|
|
2221
2221
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2272,8 +2272,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2272
2272
|
} | {
|
|
2273
2273
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2274
2274
|
filename?: string | undefined;
|
|
2275
|
-
type: "file";
|
|
2276
|
-
mediaType: string;
|
|
2277
2275
|
data: {
|
|
2278
2276
|
type: "reference";
|
|
2279
2277
|
reference: Record<string, string>;
|
|
@@ -2281,22 +2279,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2281
2279
|
type: "url";
|
|
2282
2280
|
url: string;
|
|
2283
2281
|
} | {
|
|
2284
|
-
type: "data";
|
|
2285
2282
|
data: string | ArrayBuffer;
|
|
2283
|
+
type: "data";
|
|
2286
2284
|
} | {
|
|
2287
2285
|
text: string;
|
|
2288
2286
|
type: "text";
|
|
2289
2287
|
};
|
|
2288
|
+
type: "file";
|
|
2289
|
+
mediaType: string;
|
|
2290
2290
|
} | {
|
|
2291
|
+
data: string;
|
|
2291
2292
|
type: "media";
|
|
2292
2293
|
mediaType: string;
|
|
2293
|
-
data: string;
|
|
2294
2294
|
} | {
|
|
2295
2295
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2296
2296
|
filename?: string | undefined;
|
|
2297
|
+
data: string;
|
|
2297
2298
|
type: "file-data";
|
|
2298
2299
|
mediaType: string;
|
|
2299
|
-
data: string;
|
|
2300
2300
|
} | {
|
|
2301
2301
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2302
2302
|
mediaType?: string | undefined;
|
|
@@ -2312,9 +2312,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2312
2312
|
providerReference: Record<string, string>;
|
|
2313
2313
|
} | {
|
|
2314
2314
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2315
|
+
data: string;
|
|
2315
2316
|
type: "image-data";
|
|
2316
2317
|
mediaType: string;
|
|
2317
|
-
data: string;
|
|
2318
2318
|
} | {
|
|
2319
2319
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2320
2320
|
type: "image-file-reference";
|
|
@@ -2339,8 +2339,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2339
2339
|
type: "text";
|
|
2340
2340
|
} | {
|
|
2341
2341
|
mimeType?: string | undefined;
|
|
2342
|
-
type: "image";
|
|
2343
2342
|
data: string;
|
|
2343
|
+
type: "image";
|
|
2344
2344
|
})[] | undefined;
|
|
2345
2345
|
type: "tool-result";
|
|
2346
2346
|
toolCallId: string;
|
|
@@ -2381,11 +2381,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2381
2381
|
mediaType?: string | undefined;
|
|
2382
2382
|
mimeType?: string | undefined;
|
|
2383
2383
|
filename?: string | undefined;
|
|
2384
|
-
type: "file";
|
|
2385
2384
|
data: string | ArrayBuffer | {
|
|
2386
2385
|
type: "reference";
|
|
2387
2386
|
reference: Record<string, string>;
|
|
2388
2387
|
};
|
|
2388
|
+
type: "file";
|
|
2389
2389
|
} | {
|
|
2390
2390
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2391
2391
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2393,9 +2393,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2393
2393
|
text: string;
|
|
2394
2394
|
type: "reasoning";
|
|
2395
2395
|
} | {
|
|
2396
|
+
data?: string | ArrayBuffer | undefined;
|
|
2396
2397
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2397
2398
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2398
|
-
data?: string | ArrayBuffer | undefined;
|
|
2399
2399
|
url?: string | undefined;
|
|
2400
2400
|
type: "reasoning-file";
|
|
2401
2401
|
mediaType: string;
|
|
@@ -2407,8 +2407,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2407
2407
|
} | {
|
|
2408
2408
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2409
2409
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2410
|
-
type: "redacted-reasoning";
|
|
2411
2410
|
data: string;
|
|
2411
|
+
type: "redacted-reasoning";
|
|
2412
2412
|
} | {
|
|
2413
2413
|
title?: string | undefined;
|
|
2414
2414
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2465,8 +2465,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2465
2465
|
} | {
|
|
2466
2466
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2467
2467
|
filename?: string | undefined;
|
|
2468
|
-
type: "file";
|
|
2469
|
-
mediaType: string;
|
|
2470
2468
|
data: {
|
|
2471
2469
|
type: "reference";
|
|
2472
2470
|
reference: Record<string, string>;
|
|
@@ -2474,22 +2472,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2474
2472
|
type: "url";
|
|
2475
2473
|
url: string;
|
|
2476
2474
|
} | {
|
|
2477
|
-
type: "data";
|
|
2478
2475
|
data: string | ArrayBuffer;
|
|
2476
|
+
type: "data";
|
|
2479
2477
|
} | {
|
|
2480
2478
|
text: string;
|
|
2481
2479
|
type: "text";
|
|
2482
2480
|
};
|
|
2481
|
+
type: "file";
|
|
2482
|
+
mediaType: string;
|
|
2483
2483
|
} | {
|
|
2484
|
+
data: string;
|
|
2484
2485
|
type: "media";
|
|
2485
2486
|
mediaType: string;
|
|
2486
|
-
data: string;
|
|
2487
2487
|
} | {
|
|
2488
2488
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2489
2489
|
filename?: string | undefined;
|
|
2490
|
+
data: string;
|
|
2490
2491
|
type: "file-data";
|
|
2491
2492
|
mediaType: string;
|
|
2492
|
-
data: string;
|
|
2493
2493
|
} | {
|
|
2494
2494
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2495
2495
|
mediaType?: string | undefined;
|
|
@@ -2505,9 +2505,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2505
2505
|
providerReference: Record<string, string>;
|
|
2506
2506
|
} | {
|
|
2507
2507
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2508
|
+
data: string;
|
|
2508
2509
|
type: "image-data";
|
|
2509
2510
|
mediaType: string;
|
|
2510
|
-
data: string;
|
|
2511
2511
|
} | {
|
|
2512
2512
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2513
2513
|
type: "image-file-reference";
|
|
@@ -2532,8 +2532,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2532
2532
|
type: "text";
|
|
2533
2533
|
} | {
|
|
2534
2534
|
mimeType?: string | undefined;
|
|
2535
|
-
type: "image";
|
|
2536
2535
|
data: string;
|
|
2536
|
+
type: "image";
|
|
2537
2537
|
})[] | undefined;
|
|
2538
2538
|
type: "tool-result";
|
|
2539
2539
|
toolCallId: string;
|
|
@@ -2574,11 +2574,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2574
2574
|
mediaType?: string | undefined;
|
|
2575
2575
|
mimeType?: string | undefined;
|
|
2576
2576
|
filename?: string | undefined;
|
|
2577
|
-
type: "file";
|
|
2578
2577
|
data: string | ArrayBuffer | {
|
|
2579
2578
|
type: "reference";
|
|
2580
2579
|
reference: Record<string, string>;
|
|
2581
2580
|
};
|
|
2581
|
+
type: "file";
|
|
2582
2582
|
} | {
|
|
2583
2583
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2584
2584
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2586,9 +2586,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2586
2586
|
text: string;
|
|
2587
2587
|
type: "reasoning";
|
|
2588
2588
|
} | {
|
|
2589
|
+
data?: string | ArrayBuffer | undefined;
|
|
2589
2590
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2590
2591
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2591
|
-
data?: string | ArrayBuffer | undefined;
|
|
2592
2592
|
url?: string | undefined;
|
|
2593
2593
|
type: "reasoning-file";
|
|
2594
2594
|
mediaType: string;
|
|
@@ -2600,8 +2600,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2600
2600
|
} | {
|
|
2601
2601
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2602
2602
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2603
|
-
type: "redacted-reasoning";
|
|
2604
2603
|
data: string;
|
|
2604
|
+
type: "redacted-reasoning";
|
|
2605
2605
|
} | {
|
|
2606
2606
|
title?: string | undefined;
|
|
2607
2607
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2658,8 +2658,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2658
2658
|
} | {
|
|
2659
2659
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2660
2660
|
filename?: string | undefined;
|
|
2661
|
-
type: "file";
|
|
2662
|
-
mediaType: string;
|
|
2663
2661
|
data: {
|
|
2664
2662
|
type: "reference";
|
|
2665
2663
|
reference: Record<string, string>;
|
|
@@ -2667,22 +2665,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2667
2665
|
type: "url";
|
|
2668
2666
|
url: string;
|
|
2669
2667
|
} | {
|
|
2670
|
-
type: "data";
|
|
2671
2668
|
data: string | ArrayBuffer;
|
|
2669
|
+
type: "data";
|
|
2672
2670
|
} | {
|
|
2673
2671
|
text: string;
|
|
2674
2672
|
type: "text";
|
|
2675
2673
|
};
|
|
2674
|
+
type: "file";
|
|
2675
|
+
mediaType: string;
|
|
2676
2676
|
} | {
|
|
2677
|
+
data: string;
|
|
2677
2678
|
type: "media";
|
|
2678
2679
|
mediaType: string;
|
|
2679
|
-
data: string;
|
|
2680
2680
|
} | {
|
|
2681
2681
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2682
2682
|
filename?: string | undefined;
|
|
2683
|
+
data: string;
|
|
2683
2684
|
type: "file-data";
|
|
2684
2685
|
mediaType: string;
|
|
2685
|
-
data: string;
|
|
2686
2686
|
} | {
|
|
2687
2687
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2688
2688
|
mediaType?: string | undefined;
|
|
@@ -2698,9 +2698,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2698
2698
|
providerReference: Record<string, string>;
|
|
2699
2699
|
} | {
|
|
2700
2700
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2701
|
+
data: string;
|
|
2701
2702
|
type: "image-data";
|
|
2702
2703
|
mediaType: string;
|
|
2703
|
-
data: string;
|
|
2704
2704
|
} | {
|
|
2705
2705
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2706
2706
|
type: "image-file-reference";
|
|
@@ -2725,8 +2725,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2725
2725
|
type: "text";
|
|
2726
2726
|
} | {
|
|
2727
2727
|
mimeType?: string | undefined;
|
|
2728
|
-
type: "image";
|
|
2729
2728
|
data: string;
|
|
2729
|
+
type: "image";
|
|
2730
2730
|
})[] | undefined;
|
|
2731
2731
|
type: "tool-result";
|
|
2732
2732
|
toolCallId: string;
|
|
@@ -2772,11 +2772,11 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2772
2772
|
mediaType?: string | undefined;
|
|
2773
2773
|
mimeType?: string | undefined;
|
|
2774
2774
|
filename?: string | undefined;
|
|
2775
|
-
type: "file";
|
|
2776
2775
|
data: string | ArrayBuffer | {
|
|
2777
2776
|
type: "reference";
|
|
2778
2777
|
reference: Record<string, string>;
|
|
2779
2778
|
};
|
|
2779
|
+
type: "file";
|
|
2780
2780
|
}, {
|
|
2781
2781
|
type: import("convex/values").VLiteral<"file", "required">;
|
|
2782
2782
|
data: import("convex/values").VUnion<string | ArrayBuffer | {
|
|
@@ -2794,7 +2794,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2794
2794
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2795
2795
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2796
2796
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2797
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "
|
|
2797
|
+
}, "required", "data" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}`>, import("convex/values").VObject<{
|
|
2798
2798
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2799
2799
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2800
2800
|
signature?: string | undefined;
|
|
@@ -2807,9 +2807,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2807
2807
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2808
2808
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2809
2809
|
}, "required", "text" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, import("convex/values").VObject<{
|
|
2810
|
+
data?: string | ArrayBuffer | undefined;
|
|
2810
2811
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2811
2812
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2812
|
-
data?: string | ArrayBuffer | undefined;
|
|
2813
2813
|
url?: string | undefined;
|
|
2814
2814
|
type: "reasoning-file";
|
|
2815
2815
|
mediaType: string;
|
|
@@ -2820,7 +2820,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2820
2820
|
mediaType: import("convex/values").VString<string, "required">;
|
|
2821
2821
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2822
2822
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2823
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "
|
|
2823
|
+
}, "required", "data" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "url">, import("convex/values").VObject<{
|
|
2824
2824
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2825
2825
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2826
2826
|
type: "custom";
|
|
@@ -2833,14 +2833,14 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2833
2833
|
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "kind">, import("convex/values").VObject<{
|
|
2834
2834
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2835
2835
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2836
|
-
type: "redacted-reasoning";
|
|
2837
2836
|
data: string;
|
|
2837
|
+
type: "redacted-reasoning";
|
|
2838
2838
|
}, {
|
|
2839
2839
|
type: import("convex/values").VLiteral<"redacted-reasoning", "required">;
|
|
2840
2840
|
data: import("convex/values").VString<string, "required">;
|
|
2841
2841
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2842
2842
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
2843
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}
|
|
2843
|
+
}, "required", "data" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}`>, import("convex/values").VUnion<{
|
|
2844
2844
|
title?: string | undefined;
|
|
2845
2845
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2846
2846
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2940,8 +2940,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2940
2940
|
} | {
|
|
2941
2941
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2942
2942
|
filename?: string | undefined;
|
|
2943
|
-
type: "file";
|
|
2944
|
-
mediaType: string;
|
|
2945
2943
|
data: {
|
|
2946
2944
|
type: "reference";
|
|
2947
2945
|
reference: Record<string, string>;
|
|
@@ -2949,22 +2947,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2949
2947
|
type: "url";
|
|
2950
2948
|
url: string;
|
|
2951
2949
|
} | {
|
|
2952
|
-
type: "data";
|
|
2953
2950
|
data: string | ArrayBuffer;
|
|
2951
|
+
type: "data";
|
|
2954
2952
|
} | {
|
|
2955
2953
|
text: string;
|
|
2956
2954
|
type: "text";
|
|
2957
2955
|
};
|
|
2956
|
+
type: "file";
|
|
2957
|
+
mediaType: string;
|
|
2958
2958
|
} | {
|
|
2959
|
+
data: string;
|
|
2959
2960
|
type: "media";
|
|
2960
2961
|
mediaType: string;
|
|
2961
|
-
data: string;
|
|
2962
2962
|
} | {
|
|
2963
2963
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2964
2964
|
filename?: string | undefined;
|
|
2965
|
+
data: string;
|
|
2965
2966
|
type: "file-data";
|
|
2966
2967
|
mediaType: string;
|
|
2967
|
-
data: string;
|
|
2968
2968
|
} | {
|
|
2969
2969
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2970
2970
|
mediaType?: string | undefined;
|
|
@@ -2980,9 +2980,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
2980
2980
|
providerReference: Record<string, string>;
|
|
2981
2981
|
} | {
|
|
2982
2982
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2983
|
+
data: string;
|
|
2983
2984
|
type: "image-data";
|
|
2984
2985
|
mediaType: string;
|
|
2985
|
-
data: string;
|
|
2986
2986
|
} | {
|
|
2987
2987
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2988
2988
|
type: "image-file-reference";
|
|
@@ -3007,8 +3007,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3007
3007
|
type: "text";
|
|
3008
3008
|
} | {
|
|
3009
3009
|
mimeType?: string | undefined;
|
|
3010
|
-
type: "image";
|
|
3011
3010
|
data: string;
|
|
3011
|
+
type: "image";
|
|
3012
3012
|
})[] | undefined;
|
|
3013
3013
|
type: "tool-result";
|
|
3014
3014
|
toolCallId: string;
|
|
@@ -3046,8 +3046,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3046
3046
|
} | {
|
|
3047
3047
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3048
3048
|
filename?: string | undefined;
|
|
3049
|
-
type: "file";
|
|
3050
|
-
mediaType: string;
|
|
3051
3049
|
data: {
|
|
3052
3050
|
type: "reference";
|
|
3053
3051
|
reference: Record<string, string>;
|
|
@@ -3055,22 +3053,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3055
3053
|
type: "url";
|
|
3056
3054
|
url: string;
|
|
3057
3055
|
} | {
|
|
3058
|
-
type: "data";
|
|
3059
3056
|
data: string | ArrayBuffer;
|
|
3057
|
+
type: "data";
|
|
3060
3058
|
} | {
|
|
3061
3059
|
text: string;
|
|
3062
3060
|
type: "text";
|
|
3063
3061
|
};
|
|
3062
|
+
type: "file";
|
|
3063
|
+
mediaType: string;
|
|
3064
3064
|
} | {
|
|
3065
|
+
data: string;
|
|
3065
3066
|
type: "media";
|
|
3066
3067
|
mediaType: string;
|
|
3067
|
-
data: string;
|
|
3068
3068
|
} | {
|
|
3069
3069
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3070
3070
|
filename?: string | undefined;
|
|
3071
|
+
data: string;
|
|
3071
3072
|
type: "file-data";
|
|
3072
3073
|
mediaType: string;
|
|
3073
|
-
data: string;
|
|
3074
3074
|
} | {
|
|
3075
3075
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3076
3076
|
mediaType?: string | undefined;
|
|
@@ -3086,9 +3086,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3086
3086
|
providerReference: Record<string, string>;
|
|
3087
3087
|
} | {
|
|
3088
3088
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3089
|
+
data: string;
|
|
3089
3090
|
type: "image-data";
|
|
3090
3091
|
mediaType: string;
|
|
3091
|
-
data: string;
|
|
3092
3092
|
} | {
|
|
3093
3093
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3094
3094
|
type: "image-file-reference";
|
|
@@ -3154,8 +3154,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3154
3154
|
} | {
|
|
3155
3155
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3156
3156
|
filename?: string | undefined;
|
|
3157
|
-
type: "file";
|
|
3158
|
-
mediaType: string;
|
|
3159
3157
|
data: {
|
|
3160
3158
|
type: "reference";
|
|
3161
3159
|
reference: Record<string, string>;
|
|
@@ -3163,22 +3161,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3163
3161
|
type: "url";
|
|
3164
3162
|
url: string;
|
|
3165
3163
|
} | {
|
|
3166
|
-
type: "data";
|
|
3167
3164
|
data: string | ArrayBuffer;
|
|
3165
|
+
type: "data";
|
|
3168
3166
|
} | {
|
|
3169
3167
|
text: string;
|
|
3170
3168
|
type: "text";
|
|
3171
3169
|
};
|
|
3170
|
+
type: "file";
|
|
3171
|
+
mediaType: string;
|
|
3172
3172
|
} | {
|
|
3173
|
+
data: string;
|
|
3173
3174
|
type: "media";
|
|
3174
3175
|
mediaType: string;
|
|
3175
|
-
data: string;
|
|
3176
3176
|
} | {
|
|
3177
3177
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3178
3178
|
filename?: string | undefined;
|
|
3179
|
+
data: string;
|
|
3179
3180
|
type: "file-data";
|
|
3180
3181
|
mediaType: string;
|
|
3181
|
-
data: string;
|
|
3182
3182
|
} | {
|
|
3183
3183
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3184
3184
|
mediaType?: string | undefined;
|
|
@@ -3194,9 +3194,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3194
3194
|
providerReference: Record<string, string>;
|
|
3195
3195
|
} | {
|
|
3196
3196
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3197
|
+
data: string;
|
|
3197
3198
|
type: "image-data";
|
|
3198
3199
|
mediaType: string;
|
|
3199
|
-
data: string;
|
|
3200
3200
|
} | {
|
|
3201
3201
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3202
3202
|
type: "image-file-reference";
|
|
@@ -3222,8 +3222,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3222
3222
|
} | {
|
|
3223
3223
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3224
3224
|
filename?: string | undefined;
|
|
3225
|
-
type: "file";
|
|
3226
|
-
mediaType: string;
|
|
3227
3225
|
data: {
|
|
3228
3226
|
type: "reference";
|
|
3229
3227
|
reference: Record<string, string>;
|
|
@@ -3231,22 +3229,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3231
3229
|
type: "url";
|
|
3232
3230
|
url: string;
|
|
3233
3231
|
} | {
|
|
3234
|
-
type: "data";
|
|
3235
3232
|
data: string | ArrayBuffer;
|
|
3233
|
+
type: "data";
|
|
3236
3234
|
} | {
|
|
3237
3235
|
text: string;
|
|
3238
3236
|
type: "text";
|
|
3239
3237
|
};
|
|
3238
|
+
type: "file";
|
|
3239
|
+
mediaType: string;
|
|
3240
3240
|
} | {
|
|
3241
|
+
data: string;
|
|
3241
3242
|
type: "media";
|
|
3242
3243
|
mediaType: string;
|
|
3243
|
-
data: string;
|
|
3244
3244
|
} | {
|
|
3245
3245
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3246
3246
|
filename?: string | undefined;
|
|
3247
|
+
data: string;
|
|
3247
3248
|
type: "file-data";
|
|
3248
3249
|
mediaType: string;
|
|
3249
|
-
data: string;
|
|
3250
3250
|
} | {
|
|
3251
3251
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3252
3252
|
mediaType?: string | undefined;
|
|
@@ -3262,9 +3262,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3262
3262
|
providerReference: Record<string, string>;
|
|
3263
3263
|
} | {
|
|
3264
3264
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3265
|
+
data: string;
|
|
3265
3266
|
type: "image-data";
|
|
3266
3267
|
mediaType: string;
|
|
3267
|
-
data: string;
|
|
3268
3268
|
} | {
|
|
3269
3269
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3270
3270
|
type: "image-file-reference";
|
|
@@ -3287,8 +3287,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3287
3287
|
} | {
|
|
3288
3288
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3289
3289
|
filename?: string | undefined;
|
|
3290
|
-
type: "file";
|
|
3291
|
-
mediaType: string;
|
|
3292
3290
|
data: {
|
|
3293
3291
|
type: "reference";
|
|
3294
3292
|
reference: Record<string, string>;
|
|
@@ -3296,22 +3294,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3296
3294
|
type: "url";
|
|
3297
3295
|
url: string;
|
|
3298
3296
|
} | {
|
|
3299
|
-
type: "data";
|
|
3300
3297
|
data: string | ArrayBuffer;
|
|
3298
|
+
type: "data";
|
|
3301
3299
|
} | {
|
|
3302
3300
|
text: string;
|
|
3303
3301
|
type: "text";
|
|
3304
3302
|
};
|
|
3303
|
+
type: "file";
|
|
3304
|
+
mediaType: string;
|
|
3305
3305
|
} | {
|
|
3306
|
+
data: string;
|
|
3306
3307
|
type: "media";
|
|
3307
3308
|
mediaType: string;
|
|
3308
|
-
data: string;
|
|
3309
3309
|
} | {
|
|
3310
3310
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3311
3311
|
filename?: string | undefined;
|
|
3312
|
+
data: string;
|
|
3312
3313
|
type: "file-data";
|
|
3313
3314
|
mediaType: string;
|
|
3314
|
-
data: string;
|
|
3315
3315
|
} | {
|
|
3316
3316
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3317
3317
|
mediaType?: string | undefined;
|
|
@@ -3327,9 +3327,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3327
3327
|
providerReference: Record<string, string>;
|
|
3328
3328
|
} | {
|
|
3329
3329
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3330
|
+
data: string;
|
|
3330
3331
|
type: "image-data";
|
|
3331
3332
|
mediaType: string;
|
|
3332
|
-
data: string;
|
|
3333
3333
|
} | {
|
|
3334
3334
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3335
3335
|
type: "image-file-reference";
|
|
@@ -3356,8 +3356,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3356
3356
|
}, "required", "text" | "type" | "providerOptions" | `providerOptions.${string}`>, import("convex/values").VObject<{
|
|
3357
3357
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3358
3358
|
filename?: string | undefined;
|
|
3359
|
-
type: "file";
|
|
3360
|
-
mediaType: string;
|
|
3361
3359
|
data: {
|
|
3362
3360
|
type: "reference";
|
|
3363
3361
|
reference: Record<string, string>;
|
|
@@ -3365,12 +3363,14 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3365
3363
|
type: "url";
|
|
3366
3364
|
url: string;
|
|
3367
3365
|
} | {
|
|
3368
|
-
type: "data";
|
|
3369
3366
|
data: string | ArrayBuffer;
|
|
3367
|
+
type: "data";
|
|
3370
3368
|
} | {
|
|
3371
3369
|
text: string;
|
|
3372
3370
|
type: "text";
|
|
3373
3371
|
};
|
|
3372
|
+
type: "file";
|
|
3373
|
+
mediaType: string;
|
|
3374
3374
|
}, {
|
|
3375
3375
|
type: import("convex/values").VLiteral<"file", "required">;
|
|
3376
3376
|
data: import("convex/values").VUnion<{
|
|
@@ -3380,8 +3380,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3380
3380
|
type: "url";
|
|
3381
3381
|
url: string;
|
|
3382
3382
|
} | {
|
|
3383
|
-
type: "data";
|
|
3384
3383
|
data: string | ArrayBuffer;
|
|
3384
|
+
type: "data";
|
|
3385
3385
|
} | {
|
|
3386
3386
|
text: string;
|
|
3387
3387
|
type: "text";
|
|
@@ -3398,42 +3398,42 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3398
3398
|
type: import("convex/values").VLiteral<"reference", "required">;
|
|
3399
3399
|
reference: import("convex/values").VRecord<Record<string, string>, import("convex/values").VString<string, "required">, import("convex/values").VString<string, "required">, "required", string>;
|
|
3400
3400
|
}, "required", "type" | "reference" | `reference.${string}`>, import("convex/values").VObject<{
|
|
3401
|
-
type: "data";
|
|
3402
3401
|
data: string | ArrayBuffer;
|
|
3402
|
+
type: "data";
|
|
3403
3403
|
}, {
|
|
3404
3404
|
type: import("convex/values").VLiteral<"data", "required">;
|
|
3405
3405
|
data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
|
|
3406
|
-
}, "required", "
|
|
3406
|
+
}, "required", "data" | "type">, import("convex/values").VObject<{
|
|
3407
3407
|
text: string;
|
|
3408
3408
|
type: "text";
|
|
3409
3409
|
}, {
|
|
3410
3410
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
3411
3411
|
text: import("convex/values").VString<string, "required">;
|
|
3412
|
-
}, "required", "text" | "type">], "required", "text" | "type" | "reference" | `reference.${string}` | "
|
|
3412
|
+
}, "required", "text" | "type">], "required", "data" | "text" | "type" | "reference" | `reference.${string}` | "url">;
|
|
3413
3413
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3414
3414
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3415
3415
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3416
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
3416
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}` | "data.data" | "data.text" | "data.url">, import("convex/values").VObject<{
|
|
3417
|
+
data: string;
|
|
3417
3418
|
type: "media";
|
|
3418
3419
|
mediaType: string;
|
|
3419
|
-
data: string;
|
|
3420
3420
|
}, {
|
|
3421
3421
|
type: import("convex/values").VLiteral<"media", "required">;
|
|
3422
3422
|
data: import("convex/values").VString<string, "required">;
|
|
3423
3423
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3424
|
-
}, "required", "
|
|
3424
|
+
}, "required", "data" | "type" | "mediaType">, import("convex/values").VObject<{
|
|
3425
3425
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3426
3426
|
filename?: string | undefined;
|
|
3427
|
+
data: string;
|
|
3427
3428
|
type: "file-data";
|
|
3428
3429
|
mediaType: string;
|
|
3429
|
-
data: string;
|
|
3430
3430
|
}, {
|
|
3431
3431
|
type: import("convex/values").VLiteral<"file-data", "required">;
|
|
3432
3432
|
data: import("convex/values").VString<string, "required">;
|
|
3433
3433
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3434
3434
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3435
3435
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3436
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
3436
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename">, import("convex/values").VObject<{
|
|
3437
3437
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3438
3438
|
mediaType?: string | undefined;
|
|
3439
3439
|
type: "file-url";
|
|
@@ -3461,15 +3461,15 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3461
3461
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3462
3462
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "providerReference" | `providerReference.${string}`>, import("convex/values").VObject<{
|
|
3463
3463
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3464
|
+
data: string;
|
|
3464
3465
|
type: "image-data";
|
|
3465
3466
|
mediaType: string;
|
|
3466
|
-
data: string;
|
|
3467
3467
|
}, {
|
|
3468
3468
|
type: import("convex/values").VLiteral<"image-data", "required">;
|
|
3469
3469
|
data: import("convex/values").VString<string, "required">;
|
|
3470
3470
|
mediaType: import("convex/values").VString<string, "required">;
|
|
3471
3471
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3472
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType"
|
|
3472
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType">, import("convex/values").VObject<{
|
|
3473
3473
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3474
3474
|
type: "image-file-reference";
|
|
3475
3475
|
providerReference: Record<string, string>;
|
|
@@ -3499,7 +3499,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3499
3499
|
}, {
|
|
3500
3500
|
type: import("convex/values").VLiteral<"custom", "required">;
|
|
3501
3501
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3502
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}`>], "required", "text" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
3502
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}`>], "required", "data" | "text" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}` | "url" | "data.data" | "data.text" | "data.url" | "fileId" | `fileId.${string}` | "providerReference" | `providerReference.${string}`>, "required">;
|
|
3503
3503
|
}, "required", "type" | "value">], "optional", "type" | "providerOptions" | `providerOptions.${string}` | "value" | `value.${string}` | "reason">;
|
|
3504
3504
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3505
3505
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
@@ -3512,15 +3512,15 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3512
3512
|
type: "text";
|
|
3513
3513
|
} | {
|
|
3514
3514
|
mimeType?: string | undefined;
|
|
3515
|
-
type: "image";
|
|
3516
3515
|
data: string;
|
|
3516
|
+
type: "image";
|
|
3517
3517
|
})[] | undefined, import("convex/values").VUnion<{
|
|
3518
3518
|
text: string;
|
|
3519
3519
|
type: "text";
|
|
3520
3520
|
} | {
|
|
3521
3521
|
mimeType?: string | undefined;
|
|
3522
|
-
type: "image";
|
|
3523
3522
|
data: string;
|
|
3523
|
+
type: "image";
|
|
3524
3524
|
}, [import("convex/values").VObject<{
|
|
3525
3525
|
text: string;
|
|
3526
3526
|
type: "text";
|
|
@@ -3529,13 +3529,13 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3529
3529
|
text: import("convex/values").VString<string, "required">;
|
|
3530
3530
|
}, "required", "text" | "type">, import("convex/values").VObject<{
|
|
3531
3531
|
mimeType?: string | undefined;
|
|
3532
|
-
type: "image";
|
|
3533
3532
|
data: string;
|
|
3533
|
+
type: "image";
|
|
3534
3534
|
}, {
|
|
3535
3535
|
type: import("convex/values").VLiteral<"image", "required">;
|
|
3536
3536
|
data: import("convex/values").VString<string, "required">;
|
|
3537
3537
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3538
|
-
}, "required", "
|
|
3538
|
+
}, "required", "data" | "type" | "mimeType">], "required", "data" | "text" | "type" | "mimeType">, "optional">;
|
|
3539
3539
|
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.providerOptions" | `output.providerOptions.${string}` | "output.value" | `output.value.${string}` | "output.reason" | `result.${string}`>, import("convex/values").VUnion<{
|
|
3540
3540
|
title?: string | undefined;
|
|
3541
3541
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3603,7 +3603,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3603
3603
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
3604
3604
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3605
3605
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3606
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature" | "toolCallId" | "approvalId" | "isAutomatic">], "required", "text" | "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "
|
|
3606
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature" | "toolCallId" | "approvalId" | "isAutomatic">], "required", "data" | "text" | "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mediaType" | "mimeType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}` | "signature" | "url" | "kind" | "toolCallId" | "toolName" | "input" | "args" | "providerExecuted" | "toolMetadata" | `input.${string}` | `args.${string}` | `toolMetadata.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.providerOptions" | `output.providerOptions.${string}` | "output.value" | `output.value.${string}` | "output.reason" | `result.${string}` | "sourceType" | "approvalId" | "isAutomatic">, "required">], "required", never>;
|
|
3607
3607
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
3608
3608
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3609
3609
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3642,8 +3642,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3642
3642
|
} | {
|
|
3643
3643
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3644
3644
|
filename?: string | undefined;
|
|
3645
|
-
type: "file";
|
|
3646
|
-
mediaType: string;
|
|
3647
3645
|
data: {
|
|
3648
3646
|
type: "reference";
|
|
3649
3647
|
reference: Record<string, string>;
|
|
@@ -3651,22 +3649,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3651
3649
|
type: "url";
|
|
3652
3650
|
url: string;
|
|
3653
3651
|
} | {
|
|
3654
|
-
type: "data";
|
|
3655
3652
|
data: string | ArrayBuffer;
|
|
3653
|
+
type: "data";
|
|
3656
3654
|
} | {
|
|
3657
3655
|
text: string;
|
|
3658
3656
|
type: "text";
|
|
3659
3657
|
};
|
|
3658
|
+
type: "file";
|
|
3659
|
+
mediaType: string;
|
|
3660
3660
|
} | {
|
|
3661
|
+
data: string;
|
|
3661
3662
|
type: "media";
|
|
3662
3663
|
mediaType: string;
|
|
3663
|
-
data: string;
|
|
3664
3664
|
} | {
|
|
3665
3665
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3666
3666
|
filename?: string | undefined;
|
|
3667
|
+
data: string;
|
|
3667
3668
|
type: "file-data";
|
|
3668
3669
|
mediaType: string;
|
|
3669
|
-
data: string;
|
|
3670
3670
|
} | {
|
|
3671
3671
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3672
3672
|
mediaType?: string | undefined;
|
|
@@ -3682,9 +3682,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3682
3682
|
providerReference: Record<string, string>;
|
|
3683
3683
|
} | {
|
|
3684
3684
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3685
|
+
data: string;
|
|
3685
3686
|
type: "image-data";
|
|
3686
3687
|
mediaType: string;
|
|
3687
|
-
data: string;
|
|
3688
3688
|
} | {
|
|
3689
3689
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3690
3690
|
type: "image-file-reference";
|
|
@@ -3709,8 +3709,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3709
3709
|
type: "text";
|
|
3710
3710
|
} | {
|
|
3711
3711
|
mimeType?: string | undefined;
|
|
3712
|
-
type: "image";
|
|
3713
3712
|
data: string;
|
|
3713
|
+
type: "image";
|
|
3714
3714
|
})[] | undefined;
|
|
3715
3715
|
type: "tool-result";
|
|
3716
3716
|
toolCallId: string;
|
|
@@ -3760,8 +3760,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3760
3760
|
} | {
|
|
3761
3761
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3762
3762
|
filename?: string | undefined;
|
|
3763
|
-
type: "file";
|
|
3764
|
-
mediaType: string;
|
|
3765
3763
|
data: {
|
|
3766
3764
|
type: "reference";
|
|
3767
3765
|
reference: Record<string, string>;
|
|
@@ -3769,22 +3767,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3769
3767
|
type: "url";
|
|
3770
3768
|
url: string;
|
|
3771
3769
|
} | {
|
|
3772
|
-
type: "data";
|
|
3773
3770
|
data: string | ArrayBuffer;
|
|
3771
|
+
type: "data";
|
|
3774
3772
|
} | {
|
|
3775
3773
|
text: string;
|
|
3776
3774
|
type: "text";
|
|
3777
3775
|
};
|
|
3776
|
+
type: "file";
|
|
3777
|
+
mediaType: string;
|
|
3778
3778
|
} | {
|
|
3779
|
+
data: string;
|
|
3779
3780
|
type: "media";
|
|
3780
3781
|
mediaType: string;
|
|
3781
|
-
data: string;
|
|
3782
3782
|
} | {
|
|
3783
3783
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3784
3784
|
filename?: string | undefined;
|
|
3785
|
+
data: string;
|
|
3785
3786
|
type: "file-data";
|
|
3786
3787
|
mediaType: string;
|
|
3787
|
-
data: string;
|
|
3788
3788
|
} | {
|
|
3789
3789
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3790
3790
|
mediaType?: string | undefined;
|
|
@@ -3800,9 +3800,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3800
3800
|
providerReference: Record<string, string>;
|
|
3801
3801
|
} | {
|
|
3802
3802
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3803
|
+
data: string;
|
|
3803
3804
|
type: "image-data";
|
|
3804
3805
|
mediaType: string;
|
|
3805
|
-
data: string;
|
|
3806
3806
|
} | {
|
|
3807
3807
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3808
3808
|
type: "image-file-reference";
|
|
@@ -3827,8 +3827,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3827
3827
|
type: "text";
|
|
3828
3828
|
} | {
|
|
3829
3829
|
mimeType?: string | undefined;
|
|
3830
|
-
type: "image";
|
|
3831
3830
|
data: string;
|
|
3831
|
+
type: "image";
|
|
3832
3832
|
})[] | undefined;
|
|
3833
3833
|
type: "tool-result";
|
|
3834
3834
|
toolCallId: string;
|
|
@@ -3875,8 +3875,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3875
3875
|
} | {
|
|
3876
3876
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3877
3877
|
filename?: string | undefined;
|
|
3878
|
-
type: "file";
|
|
3879
|
-
mediaType: string;
|
|
3880
3878
|
data: {
|
|
3881
3879
|
type: "reference";
|
|
3882
3880
|
reference: Record<string, string>;
|
|
@@ -3884,22 +3882,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3884
3882
|
type: "url";
|
|
3885
3883
|
url: string;
|
|
3886
3884
|
} | {
|
|
3887
|
-
type: "data";
|
|
3888
3885
|
data: string | ArrayBuffer;
|
|
3886
|
+
type: "data";
|
|
3889
3887
|
} | {
|
|
3890
3888
|
text: string;
|
|
3891
3889
|
type: "text";
|
|
3892
3890
|
};
|
|
3891
|
+
type: "file";
|
|
3892
|
+
mediaType: string;
|
|
3893
3893
|
} | {
|
|
3894
|
+
data: string;
|
|
3894
3895
|
type: "media";
|
|
3895
3896
|
mediaType: string;
|
|
3896
|
-
data: string;
|
|
3897
3897
|
} | {
|
|
3898
3898
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3899
3899
|
filename?: string | undefined;
|
|
3900
|
+
data: string;
|
|
3900
3901
|
type: "file-data";
|
|
3901
3902
|
mediaType: string;
|
|
3902
|
-
data: string;
|
|
3903
3903
|
} | {
|
|
3904
3904
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3905
3905
|
mediaType?: string | undefined;
|
|
@@ -3915,9 +3915,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3915
3915
|
providerReference: Record<string, string>;
|
|
3916
3916
|
} | {
|
|
3917
3917
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3918
|
+
data: string;
|
|
3918
3919
|
type: "image-data";
|
|
3919
3920
|
mediaType: string;
|
|
3920
|
-
data: string;
|
|
3921
3921
|
} | {
|
|
3922
3922
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3923
3923
|
type: "image-file-reference";
|
|
@@ -3942,8 +3942,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3942
3942
|
type: "text";
|
|
3943
3943
|
} | {
|
|
3944
3944
|
mimeType?: string | undefined;
|
|
3945
|
-
type: "image";
|
|
3946
3945
|
data: string;
|
|
3946
|
+
type: "image";
|
|
3947
3947
|
})[] | undefined;
|
|
3948
3948
|
type: "tool-result";
|
|
3949
3949
|
toolCallId: string;
|
|
@@ -3990,8 +3990,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3990
3990
|
} | {
|
|
3991
3991
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3992
3992
|
filename?: string | undefined;
|
|
3993
|
-
type: "file";
|
|
3994
|
-
mediaType: string;
|
|
3995
3993
|
data: {
|
|
3996
3994
|
type: "reference";
|
|
3997
3995
|
reference: Record<string, string>;
|
|
@@ -3999,22 +3997,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
3999
3997
|
type: "url";
|
|
4000
3998
|
url: string;
|
|
4001
3999
|
} | {
|
|
4002
|
-
type: "data";
|
|
4003
4000
|
data: string | ArrayBuffer;
|
|
4001
|
+
type: "data";
|
|
4004
4002
|
} | {
|
|
4005
4003
|
text: string;
|
|
4006
4004
|
type: "text";
|
|
4007
4005
|
};
|
|
4006
|
+
type: "file";
|
|
4007
|
+
mediaType: string;
|
|
4008
4008
|
} | {
|
|
4009
|
+
data: string;
|
|
4009
4010
|
type: "media";
|
|
4010
4011
|
mediaType: string;
|
|
4011
|
-
data: string;
|
|
4012
4012
|
} | {
|
|
4013
4013
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4014
4014
|
filename?: string | undefined;
|
|
4015
|
+
data: string;
|
|
4015
4016
|
type: "file-data";
|
|
4016
4017
|
mediaType: string;
|
|
4017
|
-
data: string;
|
|
4018
4018
|
} | {
|
|
4019
4019
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4020
4020
|
mediaType?: string | undefined;
|
|
@@ -4030,9 +4030,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4030
4030
|
providerReference: Record<string, string>;
|
|
4031
4031
|
} | {
|
|
4032
4032
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4033
|
+
data: string;
|
|
4033
4034
|
type: "image-data";
|
|
4034
4035
|
mediaType: string;
|
|
4035
|
-
data: string;
|
|
4036
4036
|
} | {
|
|
4037
4037
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4038
4038
|
type: "image-file-reference";
|
|
@@ -4057,8 +4057,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4057
4057
|
type: "text";
|
|
4058
4058
|
} | {
|
|
4059
4059
|
mimeType?: string | undefined;
|
|
4060
|
-
type: "image";
|
|
4061
4060
|
data: string;
|
|
4061
|
+
type: "image";
|
|
4062
4062
|
})[] | undefined;
|
|
4063
4063
|
type: "tool-result";
|
|
4064
4064
|
toolCallId: string;
|
|
@@ -4096,8 +4096,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4096
4096
|
} | {
|
|
4097
4097
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4098
4098
|
filename?: string | undefined;
|
|
4099
|
-
type: "file";
|
|
4100
|
-
mediaType: string;
|
|
4101
4099
|
data: {
|
|
4102
4100
|
type: "reference";
|
|
4103
4101
|
reference: Record<string, string>;
|
|
@@ -4105,22 +4103,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4105
4103
|
type: "url";
|
|
4106
4104
|
url: string;
|
|
4107
4105
|
} | {
|
|
4108
|
-
type: "data";
|
|
4109
4106
|
data: string | ArrayBuffer;
|
|
4107
|
+
type: "data";
|
|
4110
4108
|
} | {
|
|
4111
4109
|
text: string;
|
|
4112
4110
|
type: "text";
|
|
4113
4111
|
};
|
|
4112
|
+
type: "file";
|
|
4113
|
+
mediaType: string;
|
|
4114
4114
|
} | {
|
|
4115
|
+
data: string;
|
|
4115
4116
|
type: "media";
|
|
4116
4117
|
mediaType: string;
|
|
4117
|
-
data: string;
|
|
4118
4118
|
} | {
|
|
4119
4119
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4120
4120
|
filename?: string | undefined;
|
|
4121
|
+
data: string;
|
|
4121
4122
|
type: "file-data";
|
|
4122
4123
|
mediaType: string;
|
|
4123
|
-
data: string;
|
|
4124
4124
|
} | {
|
|
4125
4125
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4126
4126
|
mediaType?: string | undefined;
|
|
@@ -4136,9 +4136,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4136
4136
|
providerReference: Record<string, string>;
|
|
4137
4137
|
} | {
|
|
4138
4138
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4139
|
+
data: string;
|
|
4139
4140
|
type: "image-data";
|
|
4140
4141
|
mediaType: string;
|
|
4141
|
-
data: string;
|
|
4142
4142
|
} | {
|
|
4143
4143
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4144
4144
|
type: "image-file-reference";
|
|
@@ -4204,8 +4204,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4204
4204
|
} | {
|
|
4205
4205
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4206
4206
|
filename?: string | undefined;
|
|
4207
|
-
type: "file";
|
|
4208
|
-
mediaType: string;
|
|
4209
4207
|
data: {
|
|
4210
4208
|
type: "reference";
|
|
4211
4209
|
reference: Record<string, string>;
|
|
@@ -4213,22 +4211,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4213
4211
|
type: "url";
|
|
4214
4212
|
url: string;
|
|
4215
4213
|
} | {
|
|
4216
|
-
type: "data";
|
|
4217
4214
|
data: string | ArrayBuffer;
|
|
4215
|
+
type: "data";
|
|
4218
4216
|
} | {
|
|
4219
4217
|
text: string;
|
|
4220
4218
|
type: "text";
|
|
4221
4219
|
};
|
|
4220
|
+
type: "file";
|
|
4221
|
+
mediaType: string;
|
|
4222
4222
|
} | {
|
|
4223
|
+
data: string;
|
|
4223
4224
|
type: "media";
|
|
4224
4225
|
mediaType: string;
|
|
4225
|
-
data: string;
|
|
4226
4226
|
} | {
|
|
4227
4227
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4228
4228
|
filename?: string | undefined;
|
|
4229
|
+
data: string;
|
|
4229
4230
|
type: "file-data";
|
|
4230
4231
|
mediaType: string;
|
|
4231
|
-
data: string;
|
|
4232
4232
|
} | {
|
|
4233
4233
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4234
4234
|
mediaType?: string | undefined;
|
|
@@ -4244,9 +4244,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4244
4244
|
providerReference: Record<string, string>;
|
|
4245
4245
|
} | {
|
|
4246
4246
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4247
|
+
data: string;
|
|
4247
4248
|
type: "image-data";
|
|
4248
4249
|
mediaType: string;
|
|
4249
|
-
data: string;
|
|
4250
4250
|
} | {
|
|
4251
4251
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4252
4252
|
type: "image-file-reference";
|
|
@@ -4272,8 +4272,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4272
4272
|
} | {
|
|
4273
4273
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4274
4274
|
filename?: string | undefined;
|
|
4275
|
-
type: "file";
|
|
4276
|
-
mediaType: string;
|
|
4277
4275
|
data: {
|
|
4278
4276
|
type: "reference";
|
|
4279
4277
|
reference: Record<string, string>;
|
|
@@ -4281,22 +4279,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4281
4279
|
type: "url";
|
|
4282
4280
|
url: string;
|
|
4283
4281
|
} | {
|
|
4284
|
-
type: "data";
|
|
4285
4282
|
data: string | ArrayBuffer;
|
|
4283
|
+
type: "data";
|
|
4286
4284
|
} | {
|
|
4287
4285
|
text: string;
|
|
4288
4286
|
type: "text";
|
|
4289
4287
|
};
|
|
4288
|
+
type: "file";
|
|
4289
|
+
mediaType: string;
|
|
4290
4290
|
} | {
|
|
4291
|
+
data: string;
|
|
4291
4292
|
type: "media";
|
|
4292
4293
|
mediaType: string;
|
|
4293
|
-
data: string;
|
|
4294
4294
|
} | {
|
|
4295
4295
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4296
4296
|
filename?: string | undefined;
|
|
4297
|
+
data: string;
|
|
4297
4298
|
type: "file-data";
|
|
4298
4299
|
mediaType: string;
|
|
4299
|
-
data: string;
|
|
4300
4300
|
} | {
|
|
4301
4301
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4302
4302
|
mediaType?: string | undefined;
|
|
@@ -4312,9 +4312,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4312
4312
|
providerReference: Record<string, string>;
|
|
4313
4313
|
} | {
|
|
4314
4314
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4315
|
+
data: string;
|
|
4315
4316
|
type: "image-data";
|
|
4316
4317
|
mediaType: string;
|
|
4317
|
-
data: string;
|
|
4318
4318
|
} | {
|
|
4319
4319
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4320
4320
|
type: "image-file-reference";
|
|
@@ -4337,8 +4337,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4337
4337
|
} | {
|
|
4338
4338
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4339
4339
|
filename?: string | undefined;
|
|
4340
|
-
type: "file";
|
|
4341
|
-
mediaType: string;
|
|
4342
4340
|
data: {
|
|
4343
4341
|
type: "reference";
|
|
4344
4342
|
reference: Record<string, string>;
|
|
@@ -4346,22 +4344,24 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4346
4344
|
type: "url";
|
|
4347
4345
|
url: string;
|
|
4348
4346
|
} | {
|
|
4349
|
-
type: "data";
|
|
4350
4347
|
data: string | ArrayBuffer;
|
|
4348
|
+
type: "data";
|
|
4351
4349
|
} | {
|
|
4352
4350
|
text: string;
|
|
4353
4351
|
type: "text";
|
|
4354
4352
|
};
|
|
4353
|
+
type: "file";
|
|
4354
|
+
mediaType: string;
|
|
4355
4355
|
} | {
|
|
4356
|
+
data: string;
|
|
4356
4357
|
type: "media";
|
|
4357
4358
|
mediaType: string;
|
|
4358
|
-
data: string;
|
|
4359
4359
|
} | {
|
|
4360
4360
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4361
4361
|
filename?: string | undefined;
|
|
4362
|
+
data: string;
|
|
4362
4363
|
type: "file-data";
|
|
4363
4364
|
mediaType: string;
|
|
4364
|
-
data: string;
|
|
4365
4365
|
} | {
|
|
4366
4366
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4367
4367
|
mediaType?: string | undefined;
|
|
@@ -4377,9 +4377,9 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4377
4377
|
providerReference: Record<string, string>;
|
|
4378
4378
|
} | {
|
|
4379
4379
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4380
|
+
data: string;
|
|
4380
4381
|
type: "image-data";
|
|
4381
4382
|
mediaType: string;
|
|
4382
|
-
data: string;
|
|
4383
4383
|
} | {
|
|
4384
4384
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4385
4385
|
type: "image-file-reference";
|
|
@@ -4406,8 +4406,6 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4406
4406
|
}, "required", "text" | "type" | "providerOptions" | `providerOptions.${string}`>, import("convex/values").VObject<{
|
|
4407
4407
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4408
4408
|
filename?: string | undefined;
|
|
4409
|
-
type: "file";
|
|
4410
|
-
mediaType: string;
|
|
4411
4409
|
data: {
|
|
4412
4410
|
type: "reference";
|
|
4413
4411
|
reference: Record<string, string>;
|
|
@@ -4415,12 +4413,14 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4415
4413
|
type: "url";
|
|
4416
4414
|
url: string;
|
|
4417
4415
|
} | {
|
|
4418
|
-
type: "data";
|
|
4419
4416
|
data: string | ArrayBuffer;
|
|
4417
|
+
type: "data";
|
|
4420
4418
|
} | {
|
|
4421
4419
|
text: string;
|
|
4422
4420
|
type: "text";
|
|
4423
4421
|
};
|
|
4422
|
+
type: "file";
|
|
4423
|
+
mediaType: string;
|
|
4424
4424
|
}, {
|
|
4425
4425
|
type: import("convex/values").VLiteral<"file", "required">;
|
|
4426
4426
|
data: import("convex/values").VUnion<{
|
|
@@ -4430,8 +4430,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4430
4430
|
type: "url";
|
|
4431
4431
|
url: string;
|
|
4432
4432
|
} | {
|
|
4433
|
-
type: "data";
|
|
4434
4433
|
data: string | ArrayBuffer;
|
|
4434
|
+
type: "data";
|
|
4435
4435
|
} | {
|
|
4436
4436
|
text: string;
|
|
4437
4437
|
type: "text";
|
|
@@ -4448,42 +4448,42 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4448
4448
|
type: import("convex/values").VLiteral<"reference", "required">;
|
|
4449
4449
|
reference: import("convex/values").VRecord<Record<string, string>, import("convex/values").VString<string, "required">, import("convex/values").VString<string, "required">, "required", string>;
|
|
4450
4450
|
}, "required", "type" | "reference" | `reference.${string}`>, import("convex/values").VObject<{
|
|
4451
|
-
type: "data";
|
|
4452
4451
|
data: string | ArrayBuffer;
|
|
4452
|
+
type: "data";
|
|
4453
4453
|
}, {
|
|
4454
4454
|
type: import("convex/values").VLiteral<"data", "required">;
|
|
4455
4455
|
data: import("convex/values").VUnion<string | ArrayBuffer, [import("convex/values").VString<string, "required">, import("convex/values").VBytes<ArrayBuffer, "required">], "required", never>;
|
|
4456
|
-
}, "required", "
|
|
4456
|
+
}, "required", "data" | "type">, import("convex/values").VObject<{
|
|
4457
4457
|
text: string;
|
|
4458
4458
|
type: "text";
|
|
4459
4459
|
}, {
|
|
4460
4460
|
type: import("convex/values").VLiteral<"text", "required">;
|
|
4461
4461
|
text: import("convex/values").VString<string, "required">;
|
|
4462
|
-
}, "required", "text" | "type">], "required", "text" | "type" | "reference" | `reference.${string}` | "
|
|
4462
|
+
}, "required", "text" | "type">], "required", "data" | "text" | "type" | "reference" | `reference.${string}` | "url">;
|
|
4463
4463
|
mediaType: import("convex/values").VString<string, "required">;
|
|
4464
4464
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4465
4465
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4466
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
4466
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}` | "data.data" | "data.text" | "data.url">, import("convex/values").VObject<{
|
|
4467
|
+
data: string;
|
|
4467
4468
|
type: "media";
|
|
4468
4469
|
mediaType: string;
|
|
4469
|
-
data: string;
|
|
4470
4470
|
}, {
|
|
4471
4471
|
type: import("convex/values").VLiteral<"media", "required">;
|
|
4472
4472
|
data: import("convex/values").VString<string, "required">;
|
|
4473
4473
|
mediaType: import("convex/values").VString<string, "required">;
|
|
4474
|
-
}, "required", "
|
|
4474
|
+
}, "required", "data" | "type" | "mediaType">, import("convex/values").VObject<{
|
|
4475
4475
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4476
4476
|
filename?: string | undefined;
|
|
4477
|
+
data: string;
|
|
4477
4478
|
type: "file-data";
|
|
4478
4479
|
mediaType: string;
|
|
4479
|
-
data: string;
|
|
4480
4480
|
}, {
|
|
4481
4481
|
type: import("convex/values").VLiteral<"file-data", "required">;
|
|
4482
4482
|
data: import("convex/values").VString<string, "required">;
|
|
4483
4483
|
mediaType: import("convex/values").VString<string, "required">;
|
|
4484
4484
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4485
4485
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4486
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
4486
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename">, import("convex/values").VObject<{
|
|
4487
4487
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4488
4488
|
mediaType?: string | undefined;
|
|
4489
4489
|
type: "file-url";
|
|
@@ -4511,15 +4511,15 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4511
4511
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4512
4512
|
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "providerReference" | `providerReference.${string}`>, import("convex/values").VObject<{
|
|
4513
4513
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4514
|
+
data: string;
|
|
4514
4515
|
type: "image-data";
|
|
4515
4516
|
mediaType: string;
|
|
4516
|
-
data: string;
|
|
4517
4517
|
}, {
|
|
4518
4518
|
type: import("convex/values").VLiteral<"image-data", "required">;
|
|
4519
4519
|
data: import("convex/values").VString<string, "required">;
|
|
4520
4520
|
mediaType: import("convex/values").VString<string, "required">;
|
|
4521
4521
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4522
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}` | "mediaType"
|
|
4522
|
+
}, "required", "data" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType">, import("convex/values").VObject<{
|
|
4523
4523
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4524
4524
|
type: "image-file-reference";
|
|
4525
4525
|
providerReference: Record<string, string>;
|
|
@@ -4549,7 +4549,7 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4549
4549
|
}, {
|
|
4550
4550
|
type: import("convex/values").VLiteral<"custom", "required">;
|
|
4551
4551
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4552
|
-
}, "required", "type" | "providerOptions" | `providerOptions.${string}`>], "required", "text" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "
|
|
4552
|
+
}, "required", "type" | "providerOptions" | `providerOptions.${string}`>], "required", "data" | "text" | "type" | "providerOptions" | `providerOptions.${string}` | "mediaType" | "filename" | "data.type" | "data.reference" | `data.reference.${string}` | "url" | "data.data" | "data.text" | "data.url" | "fileId" | `fileId.${string}` | "providerReference" | `providerReference.${string}`>, "required">;
|
|
4553
4553
|
}, "required", "type" | "value">], "optional", "type" | "providerOptions" | `providerOptions.${string}` | "value" | `value.${string}` | "reason">;
|
|
4554
4554
|
providerOptions: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
4555
4555
|
providerMetadata: import("convex/values").VRecord<Record<string, Record<string, any>> | undefined, import("convex/values").VString<string, "required">, import("convex/values").VRecord<Record<string, any>, import("convex/values").VString<string, "required">, import("convex/values").VAny<any, "required", string>, "required", string>, "optional", string>;
|
|
@@ -4562,15 +4562,15 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4562
4562
|
type: "text";
|
|
4563
4563
|
} | {
|
|
4564
4564
|
mimeType?: string | undefined;
|
|
4565
|
-
type: "image";
|
|
4566
4565
|
data: string;
|
|
4566
|
+
type: "image";
|
|
4567
4567
|
})[] | undefined, import("convex/values").VUnion<{
|
|
4568
4568
|
text: string;
|
|
4569
4569
|
type: "text";
|
|
4570
4570
|
} | {
|
|
4571
4571
|
mimeType?: string | undefined;
|
|
4572
|
-
type: "image";
|
|
4573
4572
|
data: string;
|
|
4573
|
+
type: "image";
|
|
4574
4574
|
}, [import("convex/values").VObject<{
|
|
4575
4575
|
text: string;
|
|
4576
4576
|
type: "text";
|
|
@@ -4579,13 +4579,13 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4579
4579
|
text: import("convex/values").VString<string, "required">;
|
|
4580
4580
|
}, "required", "text" | "type">, import("convex/values").VObject<{
|
|
4581
4581
|
mimeType?: string | undefined;
|
|
4582
|
-
type: "image";
|
|
4583
4582
|
data: string;
|
|
4583
|
+
type: "image";
|
|
4584
4584
|
}, {
|
|
4585
4585
|
type: import("convex/values").VLiteral<"image", "required">;
|
|
4586
4586
|
data: import("convex/values").VString<string, "required">;
|
|
4587
4587
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4588
|
-
}, "required", "
|
|
4588
|
+
}, "required", "data" | "type" | "mimeType">], "required", "data" | "text" | "type" | "mimeType">, "optional">;
|
|
4589
4589
|
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.providerOptions" | `output.providerOptions.${string}` | "output.value" | `output.value.${string}` | "output.reason" | `result.${string}`>, import("convex/values").VObject<{
|
|
4590
4590
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4591
4591
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4715,8 +4715,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4715
4715
|
type: "compatibility";
|
|
4716
4716
|
feature: string;
|
|
4717
4717
|
} | {
|
|
4718
|
-
type: "deprecated";
|
|
4719
4718
|
message: string;
|
|
4719
|
+
type: "deprecated";
|
|
4720
4720
|
setting: string;
|
|
4721
4721
|
} | {
|
|
4722
4722
|
details?: string | undefined;
|
|
@@ -4727,8 +4727,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4727
4727
|
tool: any;
|
|
4728
4728
|
type: "unsupported-tool";
|
|
4729
4729
|
} | {
|
|
4730
|
-
type: "other";
|
|
4731
4730
|
message: string;
|
|
4731
|
+
type: "other";
|
|
4732
4732
|
})[] | undefined, import("convex/values").VUnion<{
|
|
4733
4733
|
details?: string | undefined;
|
|
4734
4734
|
type: "unsupported";
|
|
@@ -4738,8 +4738,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4738
4738
|
type: "compatibility";
|
|
4739
4739
|
feature: string;
|
|
4740
4740
|
} | {
|
|
4741
|
-
type: "deprecated";
|
|
4742
4741
|
message: string;
|
|
4742
|
+
type: "deprecated";
|
|
4743
4743
|
setting: string;
|
|
4744
4744
|
} | {
|
|
4745
4745
|
details?: string | undefined;
|
|
@@ -4750,8 +4750,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4750
4750
|
tool: any;
|
|
4751
4751
|
type: "unsupported-tool";
|
|
4752
4752
|
} | {
|
|
4753
|
-
type: "other";
|
|
4754
4753
|
message: string;
|
|
4754
|
+
type: "other";
|
|
4755
4755
|
}, [import("convex/values").VObject<{
|
|
4756
4756
|
details?: string | undefined;
|
|
4757
4757
|
type: "unsupported";
|
|
@@ -4769,14 +4769,14 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4769
4769
|
feature: import("convex/values").VString<string, "required">;
|
|
4770
4770
|
details: import("convex/values").VString<string | undefined, "optional">;
|
|
4771
4771
|
}, "required", "type" | "feature" | "details">, import("convex/values").VObject<{
|
|
4772
|
-
type: "deprecated";
|
|
4773
4772
|
message: string;
|
|
4773
|
+
type: "deprecated";
|
|
4774
4774
|
setting: string;
|
|
4775
4775
|
}, {
|
|
4776
4776
|
type: import("convex/values").VLiteral<"deprecated", "required">;
|
|
4777
4777
|
setting: import("convex/values").VString<string, "required">;
|
|
4778
4778
|
message: import("convex/values").VString<string, "required">;
|
|
4779
|
-
}, "required", "
|
|
4779
|
+
}, "required", "message" | "type" | "setting">, import("convex/values").VObject<{
|
|
4780
4780
|
details?: string | undefined;
|
|
4781
4781
|
type: "unsupported-setting";
|
|
4782
4782
|
setting: string;
|
|
@@ -4793,12 +4793,12 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4793
4793
|
tool: import("convex/values").VAny<any, "required", string>;
|
|
4794
4794
|
details: import("convex/values").VString<string | undefined, "optional">;
|
|
4795
4795
|
}, "required", "tool" | "type" | "details" | `tool.${string}`>, import("convex/values").VObject<{
|
|
4796
|
-
type: "other";
|
|
4797
4796
|
message: string;
|
|
4797
|
+
type: "other";
|
|
4798
4798
|
}, {
|
|
4799
4799
|
type: import("convex/values").VLiteral<"other", "required">;
|
|
4800
4800
|
message: import("convex/values").VString<string, "required">;
|
|
4801
|
-
}, "required", "
|
|
4801
|
+
}, "required", "message" | "type">], "required", "message" | "tool" | "type" | "feature" | "details" | "setting" | `tool.${string}`>, "optional">;
|
|
4802
4802
|
finishReason: import("convex/values").VUnion<"error" | "length" | "other" | "stop" | "content-filter" | "tool-calls" | "unknown" | undefined, [import("convex/values").VLiteral<"stop", "required">, import("convex/values").VLiteral<"length", "required">, import("convex/values").VLiteral<"content-filter", "required">, import("convex/values").VLiteral<"tool-calls", "required">, import("convex/values").VLiteral<"error", "required">, import("convex/values").VLiteral<"other", "required">, import("convex/values").VLiteral<"unknown", "required">], "optional", never>;
|
|
4803
4803
|
reasoning: import("convex/values").VString<string | undefined, "optional">;
|
|
4804
4804
|
reasoningDetails: import("convex/values").VArray<({
|
|
@@ -4812,8 +4812,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4812
4812
|
text: string;
|
|
4813
4813
|
type: "text";
|
|
4814
4814
|
} | {
|
|
4815
|
-
type: "redacted";
|
|
4816
4815
|
data: string;
|
|
4816
|
+
type: "redacted";
|
|
4817
4817
|
})[] | undefined, import("convex/values").VUnion<{
|
|
4818
4818
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4819
4819
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4825,8 +4825,8 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4825
4825
|
text: string;
|
|
4826
4826
|
type: "text";
|
|
4827
4827
|
} | {
|
|
4828
|
-
type: "redacted";
|
|
4829
4828
|
data: string;
|
|
4829
|
+
type: "redacted";
|
|
4830
4830
|
}, [import("convex/values").VObject<{
|
|
4831
4831
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4832
4832
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4848,14 +4848,14 @@ export declare const vStreamMessagesReturnValue: import("convex/values").VObject
|
|
|
4848
4848
|
text: import("convex/values").VString<string, "required">;
|
|
4849
4849
|
signature: import("convex/values").VString<string | undefined, "optional">;
|
|
4850
4850
|
}, "required", "text" | "type" | "signature">, import("convex/values").VObject<{
|
|
4851
|
-
type: "redacted";
|
|
4852
4851
|
data: string;
|
|
4852
|
+
type: "redacted";
|
|
4853
4853
|
}, {
|
|
4854
4854
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
4855
4855
|
data: import("convex/values").VString<string, "required">;
|
|
4856
|
-
}, "required", "
|
|
4856
|
+
}, "required", "data" | "type">], "required", "data" | "text" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "signature">, "optional">;
|
|
4857
4857
|
id: import("convex/values").VString<string | undefined, "optional">;
|
|
4858
|
-
}, "required", "tool" | "text" | "reasoning" | "id" | "status" | "userId" | "order" | "_creationTime" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "
|
|
4858
|
+
}, "required", "message" | "error" | "tool" | "text" | "reasoning" | "id" | "status" | "userId" | "order" | "_creationTime" | "threadId" | "stepOrder" | "embeddingId" | "fileIds" | "agentName" | "model" | "provider" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "usage" | "sources" | "warnings" | "finishReason" | "reasoningDetails" | "message.providerOptions" | "message.role" | `message.providerOptions.${string}` | "message.content" | "usage.promptTokens" | "usage.completionTokens" | "usage.totalTokens" | "usage.reasoningTokens" | "usage.cachedInputTokens" | "usage.nonCachedInputTokens" | "usage.cacheWriteInputTokens" | "usage.textOutputTokens" | "usage.raw" | `usage.raw.${string}` | "_id">, "required">;
|
|
4859
4859
|
continueCursor: import("convex/values").VString<string, "required">;
|
|
4860
4860
|
isDone: import("convex/values").VBoolean<boolean, "required">;
|
|
4861
4861
|
splitCursor: import("convex/values").VUnion<string | null | undefined, [import("convex/values").VString<string, "required">, import("convex/values").VNull<null, "required">], "optional", never>;
|
|
@@ -4962,6 +4962,13 @@ export declare class DeltaStreamer<T> {
|
|
|
4962
4962
|
throttleMs: number;
|
|
4963
4963
|
onAsyncAbort: (reason: string) => Promise<void>;
|
|
4964
4964
|
compress: ((parts: T[]) => T[]) | null;
|
|
4965
|
+
materialize: ((parts: T[]) => Promise<{
|
|
4966
|
+
parts: T[];
|
|
4967
|
+
fileRefs: Array<{
|
|
4968
|
+
url: string;
|
|
4969
|
+
fileId: string;
|
|
4970
|
+
}>;
|
|
4971
|
+
}>) | null;
|
|
4965
4972
|
};
|
|
4966
4973
|
abortController: AbortController;
|
|
4967
4974
|
constructor(component: AgentComponent, ctx: MutationCtx | ActionCtx, config: {
|
|
@@ -4969,6 +4976,13 @@ export declare class DeltaStreamer<T> {
|
|
|
4969
4976
|
onAsyncAbort: (reason: string) => Promise<void>;
|
|
4970
4977
|
abortSignal: AbortSignal | undefined;
|
|
4971
4978
|
compress: ((parts: T[]) => T[]) | null;
|
|
4979
|
+
materialize?: (parts: T[]) => Promise<{
|
|
4980
|
+
parts: T[];
|
|
4981
|
+
fileRefs: Array<{
|
|
4982
|
+
url: string;
|
|
4983
|
+
fileId: string;
|
|
4984
|
+
}>;
|
|
4985
|
+
}>;
|
|
4972
4986
|
}, metadata: {
|
|
4973
4987
|
threadId: string;
|
|
4974
4988
|
userId?: string;
|
|
@@ -4994,6 +5008,9 @@ export declare class DeltaStreamer<T> {
|
|
|
4994
5008
|
* Useful for passing to addMessages for atomic finish.
|
|
4995
5009
|
*/
|
|
4996
5010
|
getOrCreateStreamId(): Promise<string>;
|
|
5011
|
+
getOrCreateStreamId(options: {
|
|
5012
|
+
ifAborted: "returnUndefined";
|
|
5013
|
+
}): Promise<string | undefined>;
|
|
4997
5014
|
finish(): Promise<void>;
|
|
4998
5015
|
fail(reason: string): Promise<void>;
|
|
4999
5016
|
}
|