@convex-dev/agent 0.2.2-alpha.4 → 0.2.3-alpha.0
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/dist/client/definePlaygroundAPI.d.ts +85 -8
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/index.d.ts +84 -6
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +3 -1
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +18 -3
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/messages.js +7 -4
- package/dist/client/messages.js.map +1 -1
- package/dist/client/search.d.ts +17 -2
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/streaming.d.ts +195 -21
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/component/_generated/api.d.ts +112 -15
- package/dist/component/messages.d.ts +187 -21
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/schema.d.ts +517 -55
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +3 -4
- package/dist/mapping.js.map +1 -1
- package/dist/react/deltas.d.ts.map +1 -1
- package/dist/react/deltas.js +25 -4
- package/dist/react/deltas.js.map +1 -1
- package/dist/validators.d.ts +1257 -177
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +2 -3
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +20 -1
- package/src/client/messages.ts +12 -4
- package/src/component/_generated/api.d.ts +112 -15
- package/src/mapping.ts +8 -7
- package/src/react/deltas.ts +33 -8
- package/src/react/toUIMessages.test.ts +48 -4
- package/src/validators.ts +15 -15
|
@@ -76,7 +76,6 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
76
76
|
reasoningDetails?: ({
|
|
77
77
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
78
78
|
signature?: string | undefined;
|
|
79
|
-
state?: "streaming" | "done" | undefined;
|
|
80
79
|
type: "reasoning";
|
|
81
80
|
text: string;
|
|
82
81
|
} | {
|
|
@@ -122,7 +121,6 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
122
121
|
} | {
|
|
123
122
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
124
123
|
signature?: string | undefined;
|
|
125
|
-
state?: "streaming" | "done" | undefined;
|
|
126
124
|
type: "reasoning";
|
|
127
125
|
text: string;
|
|
128
126
|
} | {
|
|
@@ -136,6 +134,23 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
136
134
|
toolCallId: string;
|
|
137
135
|
toolName: string;
|
|
138
136
|
args: any;
|
|
137
|
+
} | {
|
|
138
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
139
|
+
args?: any;
|
|
140
|
+
providerExecuted?: boolean | undefined;
|
|
141
|
+
isError?: boolean | undefined;
|
|
142
|
+
experimental_content?: ({
|
|
143
|
+
type: "text";
|
|
144
|
+
text: string;
|
|
145
|
+
} | {
|
|
146
|
+
mimeType?: string | undefined;
|
|
147
|
+
type: "image";
|
|
148
|
+
data: string;
|
|
149
|
+
})[] | undefined;
|
|
150
|
+
type: "tool-result";
|
|
151
|
+
toolCallId: string;
|
|
152
|
+
toolName: string;
|
|
153
|
+
result: any;
|
|
139
154
|
})[];
|
|
140
155
|
} | {
|
|
141
156
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -210,7 +225,6 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
210
225
|
} | {
|
|
211
226
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
212
227
|
signature?: string | undefined;
|
|
213
|
-
state?: "streaming" | "done" | undefined;
|
|
214
228
|
type: "reasoning";
|
|
215
229
|
text: string;
|
|
216
230
|
} | {
|
|
@@ -224,6 +238,23 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
224
238
|
toolCallId: string;
|
|
225
239
|
toolName: string;
|
|
226
240
|
args: any;
|
|
241
|
+
} | {
|
|
242
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
243
|
+
args?: any;
|
|
244
|
+
providerExecuted?: boolean | undefined;
|
|
245
|
+
isError?: boolean | undefined;
|
|
246
|
+
experimental_content?: ({
|
|
247
|
+
type: "text";
|
|
248
|
+
text: string;
|
|
249
|
+
} | {
|
|
250
|
+
mimeType?: string | undefined;
|
|
251
|
+
type: "image";
|
|
252
|
+
data: string;
|
|
253
|
+
})[] | undefined;
|
|
254
|
+
type: "tool-result";
|
|
255
|
+
toolCallId: string;
|
|
256
|
+
toolName: string;
|
|
257
|
+
result: any;
|
|
227
258
|
})[];
|
|
228
259
|
} | {
|
|
229
260
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -293,7 +324,6 @@ export declare const addMessages: import("convex/server").RegisteredMutation<"pu
|
|
|
293
324
|
reasoningDetails?: ({
|
|
294
325
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
295
326
|
signature?: string | undefined;
|
|
296
|
-
state?: "streaming" | "done" | undefined;
|
|
297
327
|
type: "reasoning";
|
|
298
328
|
text: string;
|
|
299
329
|
} | {
|
|
@@ -361,7 +391,6 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
361
391
|
} | {
|
|
362
392
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
363
393
|
signature?: string | undefined;
|
|
364
|
-
state?: "streaming" | "done" | undefined;
|
|
365
394
|
type: "reasoning";
|
|
366
395
|
text: string;
|
|
367
396
|
} | {
|
|
@@ -375,6 +404,23 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
375
404
|
toolCallId: string;
|
|
376
405
|
toolName: string;
|
|
377
406
|
args: any;
|
|
407
|
+
} | {
|
|
408
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
409
|
+
args?: any;
|
|
410
|
+
providerExecuted?: boolean | undefined;
|
|
411
|
+
isError?: boolean | undefined;
|
|
412
|
+
experimental_content?: ({
|
|
413
|
+
type: "text";
|
|
414
|
+
text: string;
|
|
415
|
+
} | {
|
|
416
|
+
mimeType?: string | undefined;
|
|
417
|
+
type: "image";
|
|
418
|
+
data: string;
|
|
419
|
+
})[] | undefined;
|
|
420
|
+
type: "tool-result";
|
|
421
|
+
toolCallId: string;
|
|
422
|
+
toolName: string;
|
|
423
|
+
result: any;
|
|
378
424
|
})[];
|
|
379
425
|
} | {
|
|
380
426
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -444,7 +490,6 @@ export declare function getMaxMessage(ctx: QueryCtx, threadId: Id<"threads">, or
|
|
|
444
490
|
reasoningDetails?: ({
|
|
445
491
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
446
492
|
signature?: string | undefined;
|
|
447
|
-
state?: "streaming" | "done" | undefined;
|
|
448
493
|
type: "reasoning";
|
|
449
494
|
text: string;
|
|
450
495
|
} | {
|
|
@@ -516,7 +561,6 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
516
561
|
} | {
|
|
517
562
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
518
563
|
signature?: string | undefined;
|
|
519
|
-
state?: "streaming" | "done" | undefined;
|
|
520
564
|
type: "reasoning";
|
|
521
565
|
text: string;
|
|
522
566
|
} | {
|
|
@@ -530,6 +574,23 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
530
574
|
toolCallId: string;
|
|
531
575
|
toolName: string;
|
|
532
576
|
args: any;
|
|
577
|
+
} | {
|
|
578
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
579
|
+
args?: any;
|
|
580
|
+
providerExecuted?: boolean | undefined;
|
|
581
|
+
isError?: boolean | undefined;
|
|
582
|
+
experimental_content?: ({
|
|
583
|
+
type: "text";
|
|
584
|
+
text: string;
|
|
585
|
+
} | {
|
|
586
|
+
mimeType?: string | undefined;
|
|
587
|
+
type: "image";
|
|
588
|
+
data: string;
|
|
589
|
+
})[] | undefined;
|
|
590
|
+
type: "tool-result";
|
|
591
|
+
toolCallId: string;
|
|
592
|
+
toolName: string;
|
|
593
|
+
result: any;
|
|
533
594
|
})[];
|
|
534
595
|
} | {
|
|
535
596
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -604,7 +665,6 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
604
665
|
} | {
|
|
605
666
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
606
667
|
signature?: string | undefined;
|
|
607
|
-
state?: "streaming" | "done" | undefined;
|
|
608
668
|
type: "reasoning";
|
|
609
669
|
text: string;
|
|
610
670
|
} | {
|
|
@@ -618,6 +678,23 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
618
678
|
toolCallId: string;
|
|
619
679
|
toolName: string;
|
|
620
680
|
args: any;
|
|
681
|
+
} | {
|
|
682
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
683
|
+
args?: any;
|
|
684
|
+
providerExecuted?: boolean | undefined;
|
|
685
|
+
isError?: boolean | undefined;
|
|
686
|
+
experimental_content?: ({
|
|
687
|
+
type: "text";
|
|
688
|
+
text: string;
|
|
689
|
+
} | {
|
|
690
|
+
mimeType?: string | undefined;
|
|
691
|
+
type: "image";
|
|
692
|
+
data: string;
|
|
693
|
+
})[] | undefined;
|
|
694
|
+
type: "tool-result";
|
|
695
|
+
toolCallId: string;
|
|
696
|
+
toolName: string;
|
|
697
|
+
result: any;
|
|
621
698
|
})[];
|
|
622
699
|
} | {
|
|
623
700
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -687,7 +764,6 @@ export declare const updateMessage: import("convex/server").RegisteredMutation<"
|
|
|
687
764
|
reasoningDetails?: ({
|
|
688
765
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
689
766
|
signature?: string | undefined;
|
|
690
|
-
state?: "streaming" | "done" | undefined;
|
|
691
767
|
type: "reasoning";
|
|
692
768
|
text: string;
|
|
693
769
|
} | {
|
|
@@ -766,7 +842,6 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
766
842
|
} | {
|
|
767
843
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
768
844
|
signature?: string | undefined;
|
|
769
|
-
state?: "streaming" | "done" | undefined;
|
|
770
845
|
type: "reasoning";
|
|
771
846
|
text: string;
|
|
772
847
|
} | {
|
|
@@ -780,6 +855,23 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
780
855
|
toolCallId: string;
|
|
781
856
|
toolName: string;
|
|
782
857
|
args: any;
|
|
858
|
+
} | {
|
|
859
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
860
|
+
args?: any;
|
|
861
|
+
providerExecuted?: boolean | undefined;
|
|
862
|
+
isError?: boolean | undefined;
|
|
863
|
+
experimental_content?: ({
|
|
864
|
+
type: "text";
|
|
865
|
+
text: string;
|
|
866
|
+
} | {
|
|
867
|
+
mimeType?: string | undefined;
|
|
868
|
+
type: "image";
|
|
869
|
+
data: string;
|
|
870
|
+
})[] | undefined;
|
|
871
|
+
type: "tool-result";
|
|
872
|
+
toolCallId: string;
|
|
873
|
+
toolName: string;
|
|
874
|
+
result: any;
|
|
783
875
|
})[];
|
|
784
876
|
} | {
|
|
785
877
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -849,7 +941,6 @@ export declare const listMessagesByThreadId: import("convex/server").RegisteredQ
|
|
|
849
941
|
reasoningDetails?: ({
|
|
850
942
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
851
943
|
signature?: string | undefined;
|
|
852
|
-
state?: "streaming" | "done" | undefined;
|
|
853
944
|
type: "reasoning";
|
|
854
945
|
text: string;
|
|
855
946
|
} | {
|
|
@@ -920,7 +1011,6 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
920
1011
|
} | {
|
|
921
1012
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
922
1013
|
signature?: string | undefined;
|
|
923
|
-
state?: "streaming" | "done" | undefined;
|
|
924
1014
|
type: "reasoning";
|
|
925
1015
|
text: string;
|
|
926
1016
|
} | {
|
|
@@ -934,6 +1024,23 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
934
1024
|
toolCallId: string;
|
|
935
1025
|
toolName: string;
|
|
936
1026
|
args: any;
|
|
1027
|
+
} | {
|
|
1028
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1029
|
+
args?: any;
|
|
1030
|
+
providerExecuted?: boolean | undefined;
|
|
1031
|
+
isError?: boolean | undefined;
|
|
1032
|
+
experimental_content?: ({
|
|
1033
|
+
type: "text";
|
|
1034
|
+
text: string;
|
|
1035
|
+
} | {
|
|
1036
|
+
mimeType?: string | undefined;
|
|
1037
|
+
type: "image";
|
|
1038
|
+
data: string;
|
|
1039
|
+
})[] | undefined;
|
|
1040
|
+
type: "tool-result";
|
|
1041
|
+
toolCallId: string;
|
|
1042
|
+
toolName: string;
|
|
1043
|
+
result: any;
|
|
937
1044
|
})[];
|
|
938
1045
|
} | {
|
|
939
1046
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1003,7 +1110,6 @@ export declare const getMessagesByIds: import("convex/server").RegisteredQuery<"
|
|
|
1003
1110
|
reasoningDetails?: ({
|
|
1004
1111
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1005
1112
|
signature?: string | undefined;
|
|
1006
|
-
state?: "streaming" | "done" | undefined;
|
|
1007
1113
|
type: "reasoning";
|
|
1008
1114
|
text: string;
|
|
1009
1115
|
} | {
|
|
@@ -1080,7 +1186,6 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1080
1186
|
} | {
|
|
1081
1187
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1082
1188
|
signature?: string | undefined;
|
|
1083
|
-
state?: "streaming" | "done" | undefined;
|
|
1084
1189
|
type: "reasoning";
|
|
1085
1190
|
text: string;
|
|
1086
1191
|
} | {
|
|
@@ -1094,6 +1199,23 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1094
1199
|
toolCallId: string;
|
|
1095
1200
|
toolName: string;
|
|
1096
1201
|
args: any;
|
|
1202
|
+
} | {
|
|
1203
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1204
|
+
args?: any;
|
|
1205
|
+
providerExecuted?: boolean | undefined;
|
|
1206
|
+
isError?: boolean | undefined;
|
|
1207
|
+
experimental_content?: ({
|
|
1208
|
+
type: "text";
|
|
1209
|
+
text: string;
|
|
1210
|
+
} | {
|
|
1211
|
+
mimeType?: string | undefined;
|
|
1212
|
+
type: "image";
|
|
1213
|
+
data: string;
|
|
1214
|
+
})[] | undefined;
|
|
1215
|
+
type: "tool-result";
|
|
1216
|
+
toolCallId: string;
|
|
1217
|
+
toolName: string;
|
|
1218
|
+
result: any;
|
|
1097
1219
|
})[];
|
|
1098
1220
|
} | {
|
|
1099
1221
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1163,7 +1285,6 @@ export declare const searchMessages: import("convex/server").RegisteredAction<"p
|
|
|
1163
1285
|
reasoningDetails?: ({
|
|
1164
1286
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1165
1287
|
signature?: string | undefined;
|
|
1166
|
-
state?: "streaming" | "done" | undefined;
|
|
1167
1288
|
type: "reasoning";
|
|
1168
1289
|
text: string;
|
|
1169
1290
|
} | {
|
|
@@ -1231,7 +1352,6 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1231
1352
|
} | {
|
|
1232
1353
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1233
1354
|
signature?: string | undefined;
|
|
1234
|
-
state?: "streaming" | "done" | undefined;
|
|
1235
1355
|
type: "reasoning";
|
|
1236
1356
|
text: string;
|
|
1237
1357
|
} | {
|
|
@@ -1245,6 +1365,23 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1245
1365
|
toolCallId: string;
|
|
1246
1366
|
toolName: string;
|
|
1247
1367
|
args: any;
|
|
1368
|
+
} | {
|
|
1369
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1370
|
+
args?: any;
|
|
1371
|
+
providerExecuted?: boolean | undefined;
|
|
1372
|
+
isError?: boolean | undefined;
|
|
1373
|
+
experimental_content?: ({
|
|
1374
|
+
type: "text";
|
|
1375
|
+
text: string;
|
|
1376
|
+
} | {
|
|
1377
|
+
mimeType?: string | undefined;
|
|
1378
|
+
type: "image";
|
|
1379
|
+
data: string;
|
|
1380
|
+
})[] | undefined;
|
|
1381
|
+
type: "tool-result";
|
|
1382
|
+
toolCallId: string;
|
|
1383
|
+
toolName: string;
|
|
1384
|
+
result: any;
|
|
1248
1385
|
})[];
|
|
1249
1386
|
} | {
|
|
1250
1387
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1314,7 +1451,6 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1314
1451
|
reasoningDetails?: ({
|
|
1315
1452
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1316
1453
|
signature?: string | undefined;
|
|
1317
|
-
state?: "streaming" | "done" | undefined;
|
|
1318
1454
|
type: "reasoning";
|
|
1319
1455
|
text: string;
|
|
1320
1456
|
} | {
|
|
@@ -1384,7 +1520,6 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1384
1520
|
} | {
|
|
1385
1521
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1386
1522
|
signature?: string | undefined;
|
|
1387
|
-
state?: "streaming" | "done" | undefined;
|
|
1388
1523
|
type: "reasoning";
|
|
1389
1524
|
text: string;
|
|
1390
1525
|
} | {
|
|
@@ -1398,6 +1533,23 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1398
1533
|
toolCallId: string;
|
|
1399
1534
|
toolName: string;
|
|
1400
1535
|
args: any;
|
|
1536
|
+
} | {
|
|
1537
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1538
|
+
args?: any;
|
|
1539
|
+
providerExecuted?: boolean | undefined;
|
|
1540
|
+
isError?: boolean | undefined;
|
|
1541
|
+
experimental_content?: ({
|
|
1542
|
+
type: "text";
|
|
1543
|
+
text: string;
|
|
1544
|
+
} | {
|
|
1545
|
+
mimeType?: string | undefined;
|
|
1546
|
+
type: "image";
|
|
1547
|
+
data: string;
|
|
1548
|
+
})[] | undefined;
|
|
1549
|
+
type: "tool-result";
|
|
1550
|
+
toolCallId: string;
|
|
1551
|
+
toolName: string;
|
|
1552
|
+
result: any;
|
|
1401
1553
|
})[];
|
|
1402
1554
|
} | {
|
|
1403
1555
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1467,7 +1619,6 @@ export declare const _fetchSearchMessages: import("convex/server").RegisteredQue
|
|
|
1467
1619
|
reasoningDetails?: ({
|
|
1468
1620
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1469
1621
|
signature?: string | undefined;
|
|
1470
|
-
state?: "streaming" | "done" | undefined;
|
|
1471
1622
|
type: "reasoning";
|
|
1472
1623
|
text: string;
|
|
1473
1624
|
} | {
|
|
@@ -1537,7 +1688,6 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1537
1688
|
} | {
|
|
1538
1689
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1539
1690
|
signature?: string | undefined;
|
|
1540
|
-
state?: "streaming" | "done" | undefined;
|
|
1541
1691
|
type: "reasoning";
|
|
1542
1692
|
text: string;
|
|
1543
1693
|
} | {
|
|
@@ -1551,6 +1701,23 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1551
1701
|
toolCallId: string;
|
|
1552
1702
|
toolName: string;
|
|
1553
1703
|
args: any;
|
|
1704
|
+
} | {
|
|
1705
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1706
|
+
args?: any;
|
|
1707
|
+
providerExecuted?: boolean | undefined;
|
|
1708
|
+
isError?: boolean | undefined;
|
|
1709
|
+
experimental_content?: ({
|
|
1710
|
+
type: "text";
|
|
1711
|
+
text: string;
|
|
1712
|
+
} | {
|
|
1713
|
+
mimeType?: string | undefined;
|
|
1714
|
+
type: "image";
|
|
1715
|
+
data: string;
|
|
1716
|
+
})[] | undefined;
|
|
1717
|
+
type: "tool-result";
|
|
1718
|
+
toolCallId: string;
|
|
1719
|
+
toolName: string;
|
|
1720
|
+
result: any;
|
|
1554
1721
|
})[];
|
|
1555
1722
|
} | {
|
|
1556
1723
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1620,7 +1787,6 @@ export declare const textSearch: import("convex/server").RegisteredQuery<"public
|
|
|
1620
1787
|
reasoningDetails?: ({
|
|
1621
1788
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1622
1789
|
signature?: string | undefined;
|
|
1623
|
-
state?: "streaming" | "done" | undefined;
|
|
1624
1790
|
type: "reasoning";
|
|
1625
1791
|
text: string;
|
|
1626
1792
|
} | {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["../../src/component/messages.ts"],"names":[],"mappings":"AAoBA,OAAO,KAAK,EAAE,GAAG,EAAE,EAAE,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAIL,KAAK,WAAW,EAEhB,KAAK,QAAQ,EACd,MAAM,wBAAwB,CAAC;AAkBhC,wBAAsB,aAAa,CACjC,GAAG,EAAE,WAAW,EAChB,UAAU,EAAE,GAAG,CAAC,UAAU,CAAC,iBAS5B;AAED,eAAO,MAAM,WAAW;;4DAgBtB,CAAC;AAEH,eAAO,MAAM,eAAe,sCAE3B,CAAC;AAEF,eAAO,MAAM,aAAa;;;;;;;;;;GAsCxB,CAAC;AAaH,eAAO,MAAM,WAAW
|
|
1
|
+
{"version":3,"file":"messages.d.ts","sourceRoot":"","sources":["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