@convex-dev/agent 0.2.4 → 0.2.5
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 -0
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/index.d.ts +85 -23
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +52 -51
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +17 -0
- package/dist/client/messages.d.ts.map +1 -1
- package/dist/client/messages.js +5 -5
- package/dist/client/messages.js.map +1 -1
- package/dist/client/mockModel.d.ts +30 -0
- package/dist/client/mockModel.d.ts.map +1 -0
- package/dist/client/mockModel.js +153 -0
- package/dist/client/mockModel.js.map +1 -0
- package/dist/client/search.d.ts +17 -0
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/streaming.d.ts +190 -2
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/client/streaming.js +10 -8
- package/dist/client/streaming.js.map +1 -1
- package/dist/component/_generated/api.d.ts +176 -0
- package/dist/component/messages.d.ts +187 -0
- package/dist/component/messages.d.ts.map +1 -1
- package/dist/component/messages.js +1 -1
- package/dist/component/messages.js.map +1 -1
- package/dist/component/schema.d.ts +496 -3
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +5 -0
- package/dist/mapping.js.map +1 -1
- package/dist/react/toUIMessages.d.ts.map +1 -1
- package/dist/react/toUIMessages.js +29 -19
- package/dist/react/toUIMessages.js.map +1 -1
- package/dist/validators.d.ts +1183 -8
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +19 -1
- package/dist/validators.js.map +1 -1
- package/package.json +3 -3
- package/src/client/index.ts +91 -82
- package/src/client/messages.ts +6 -6
- package/src/client/mockModel.ts +195 -0
- package/src/client/streaming.ts +8 -7
- package/src/component/_generated/api.d.ts +176 -0
- package/src/component/messages.ts +1 -1
- package/src/mapping.ts +7 -0
- package/src/react/toUIMessages.ts +36 -19
- package/src/validators.ts +24 -0
package/dist/validators.d.ts
CHANGED
|
@@ -209,6 +209,59 @@ export declare const vReasoningDetails: import("convex/values").VArray<({
|
|
|
209
209
|
type: import("convex/values").VLiteral<"redacted", "required">;
|
|
210
210
|
data: import("convex/values").VString<string, "required">;
|
|
211
211
|
}, "required", "type" | "data">], "required", "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "data" | "signature">, "required">;
|
|
212
|
+
export declare const vSourcePart: import("convex/values").VUnion<{
|
|
213
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
214
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
215
|
+
id: string;
|
|
216
|
+
title: string;
|
|
217
|
+
type: "source";
|
|
218
|
+
sourceType: "url";
|
|
219
|
+
url: string;
|
|
220
|
+
} | {
|
|
221
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
222
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
223
|
+
filename?: string | undefined;
|
|
224
|
+
id: string;
|
|
225
|
+
title: string;
|
|
226
|
+
type: "source";
|
|
227
|
+
sourceType: "document";
|
|
228
|
+
mediaType: string;
|
|
229
|
+
}, [import("convex/values").VObject<{
|
|
230
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
231
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
232
|
+
id: string;
|
|
233
|
+
title: string;
|
|
234
|
+
type: "source";
|
|
235
|
+
sourceType: "url";
|
|
236
|
+
url: string;
|
|
237
|
+
}, {
|
|
238
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
239
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
240
|
+
id: import("convex/values").VString<string, "required">;
|
|
241
|
+
url: import("convex/values").VString<string, "required">;
|
|
242
|
+
title: import("convex/values").VString<string, "required">;
|
|
243
|
+
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>;
|
|
244
|
+
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>;
|
|
245
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
246
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
247
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
248
|
+
filename?: string | undefined;
|
|
249
|
+
id: string;
|
|
250
|
+
title: string;
|
|
251
|
+
type: "source";
|
|
252
|
+
sourceType: "document";
|
|
253
|
+
mediaType: string;
|
|
254
|
+
}, {
|
|
255
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
256
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
257
|
+
id: import("convex/values").VString<string, "required">;
|
|
258
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
259
|
+
title: import("convex/values").VString<string, "required">;
|
|
260
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
261
|
+
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>;
|
|
262
|
+
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>;
|
|
263
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">;
|
|
264
|
+
export type SourcePart = Infer<typeof vSourcePart>;
|
|
212
265
|
export declare const vToolCallPart: import("convex/values").VObject<{
|
|
213
266
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
214
267
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -409,6 +462,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
409
462
|
toolCallId: string;
|
|
410
463
|
toolName: string;
|
|
411
464
|
result: any;
|
|
465
|
+
} | {
|
|
466
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
467
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
468
|
+
id: string;
|
|
469
|
+
title: string;
|
|
470
|
+
type: "source";
|
|
471
|
+
sourceType: "url";
|
|
472
|
+
url: string;
|
|
473
|
+
} | {
|
|
474
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
475
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
476
|
+
filename?: string | undefined;
|
|
477
|
+
id: string;
|
|
478
|
+
title: string;
|
|
479
|
+
type: "source";
|
|
480
|
+
sourceType: "document";
|
|
481
|
+
mediaType: string;
|
|
412
482
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
413
483
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
414
484
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -458,6 +528,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
458
528
|
toolCallId: string;
|
|
459
529
|
toolName: string;
|
|
460
530
|
result: any;
|
|
531
|
+
} | {
|
|
532
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
533
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
534
|
+
id: string;
|
|
535
|
+
title: string;
|
|
536
|
+
type: "source";
|
|
537
|
+
sourceType: "url";
|
|
538
|
+
url: string;
|
|
539
|
+
} | {
|
|
540
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
541
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
542
|
+
filename?: string | undefined;
|
|
543
|
+
id: string;
|
|
544
|
+
title: string;
|
|
545
|
+
type: "source";
|
|
546
|
+
sourceType: "document";
|
|
547
|
+
mediaType: string;
|
|
461
548
|
})[], import("convex/values").VUnion<{
|
|
462
549
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
463
550
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -507,6 +594,23 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
507
594
|
toolCallId: string;
|
|
508
595
|
toolName: string;
|
|
509
596
|
result: any;
|
|
597
|
+
} | {
|
|
598
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
599
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
600
|
+
id: string;
|
|
601
|
+
title: string;
|
|
602
|
+
type: "source";
|
|
603
|
+
sourceType: "url";
|
|
604
|
+
url: string;
|
|
605
|
+
} | {
|
|
606
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
607
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
608
|
+
filename?: string | undefined;
|
|
609
|
+
id: string;
|
|
610
|
+
title: string;
|
|
611
|
+
type: "source";
|
|
612
|
+
sourceType: "document";
|
|
613
|
+
mediaType: string;
|
|
510
614
|
}, [import("convex/values").VObject<{
|
|
511
615
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
512
616
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -626,7 +730,58 @@ export declare const vAssistantContent: import("convex/values").VUnion<string |
|
|
|
626
730
|
data: import("convex/values").VString<string, "required">;
|
|
627
731
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
628
732
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
629
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
733
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
734
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
735
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
736
|
+
id: string;
|
|
737
|
+
title: string;
|
|
738
|
+
type: "source";
|
|
739
|
+
sourceType: "url";
|
|
740
|
+
url: string;
|
|
741
|
+
} | {
|
|
742
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
743
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
744
|
+
filename?: string | undefined;
|
|
745
|
+
id: string;
|
|
746
|
+
title: string;
|
|
747
|
+
type: "source";
|
|
748
|
+
sourceType: "document";
|
|
749
|
+
mediaType: string;
|
|
750
|
+
}, [import("convex/values").VObject<{
|
|
751
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
752
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
753
|
+
id: string;
|
|
754
|
+
title: string;
|
|
755
|
+
type: "source";
|
|
756
|
+
sourceType: "url";
|
|
757
|
+
url: string;
|
|
758
|
+
}, {
|
|
759
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
760
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
761
|
+
id: import("convex/values").VString<string, "required">;
|
|
762
|
+
url: import("convex/values").VString<string, "required">;
|
|
763
|
+
title: import("convex/values").VString<string, "required">;
|
|
764
|
+
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>;
|
|
765
|
+
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>;
|
|
766
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
767
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
768
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
769
|
+
filename?: string | undefined;
|
|
770
|
+
id: string;
|
|
771
|
+
title: string;
|
|
772
|
+
type: "source";
|
|
773
|
+
sourceType: "document";
|
|
774
|
+
mediaType: string;
|
|
775
|
+
}, {
|
|
776
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
777
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
778
|
+
id: import("convex/values").VString<string, "required">;
|
|
779
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
780
|
+
title: import("convex/values").VString<string, "required">;
|
|
781
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
782
|
+
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>;
|
|
783
|
+
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>;
|
|
784
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
630
785
|
export declare const vContent: import("convex/values").VUnion<string | ({
|
|
631
786
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
632
787
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -693,6 +848,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
693
848
|
toolCallId: string;
|
|
694
849
|
toolName: string;
|
|
695
850
|
result: any;
|
|
851
|
+
} | {
|
|
852
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
853
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
854
|
+
id: string;
|
|
855
|
+
title: string;
|
|
856
|
+
type: "source";
|
|
857
|
+
sourceType: "url";
|
|
858
|
+
url: string;
|
|
859
|
+
} | {
|
|
860
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
861
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
862
|
+
filename?: string | undefined;
|
|
863
|
+
id: string;
|
|
864
|
+
title: string;
|
|
865
|
+
type: "source";
|
|
866
|
+
sourceType: "document";
|
|
867
|
+
mediaType: string;
|
|
696
868
|
})[] | {
|
|
697
869
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
698
870
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -845,6 +1017,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
845
1017
|
toolCallId: string;
|
|
846
1018
|
toolName: string;
|
|
847
1019
|
result: any;
|
|
1020
|
+
} | {
|
|
1021
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1022
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1023
|
+
id: string;
|
|
1024
|
+
title: string;
|
|
1025
|
+
type: "source";
|
|
1026
|
+
sourceType: "url";
|
|
1027
|
+
url: string;
|
|
1028
|
+
} | {
|
|
1029
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1030
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1031
|
+
filename?: string | undefined;
|
|
1032
|
+
id: string;
|
|
1033
|
+
title: string;
|
|
1034
|
+
type: "source";
|
|
1035
|
+
sourceType: "document";
|
|
1036
|
+
mediaType: string;
|
|
848
1037
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
849
1038
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
850
1039
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -894,6 +1083,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
894
1083
|
toolCallId: string;
|
|
895
1084
|
toolName: string;
|
|
896
1085
|
result: any;
|
|
1086
|
+
} | {
|
|
1087
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1088
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1089
|
+
id: string;
|
|
1090
|
+
title: string;
|
|
1091
|
+
type: "source";
|
|
1092
|
+
sourceType: "url";
|
|
1093
|
+
url: string;
|
|
1094
|
+
} | {
|
|
1095
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1096
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1097
|
+
filename?: string | undefined;
|
|
1098
|
+
id: string;
|
|
1099
|
+
title: string;
|
|
1100
|
+
type: "source";
|
|
1101
|
+
sourceType: "document";
|
|
1102
|
+
mediaType: string;
|
|
897
1103
|
})[], import("convex/values").VUnion<{
|
|
898
1104
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
899
1105
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -943,6 +1149,23 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
943
1149
|
toolCallId: string;
|
|
944
1150
|
toolName: string;
|
|
945
1151
|
result: any;
|
|
1152
|
+
} | {
|
|
1153
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1154
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1155
|
+
id: string;
|
|
1156
|
+
title: string;
|
|
1157
|
+
type: "source";
|
|
1158
|
+
sourceType: "url";
|
|
1159
|
+
url: string;
|
|
1160
|
+
} | {
|
|
1161
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1162
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1163
|
+
filename?: string | undefined;
|
|
1164
|
+
id: string;
|
|
1165
|
+
title: string;
|
|
1166
|
+
type: "source";
|
|
1167
|
+
sourceType: "document";
|
|
1168
|
+
mediaType: string;
|
|
946
1169
|
}, [import("convex/values").VObject<{
|
|
947
1170
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
948
1171
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1062,7 +1285,58 @@ export declare const vContent: import("convex/values").VUnion<string | ({
|
|
|
1062
1285
|
data: import("convex/values").VString<string, "required">;
|
|
1063
1286
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1064
1287
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1065
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
1288
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
1289
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1290
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1291
|
+
id: string;
|
|
1292
|
+
title: string;
|
|
1293
|
+
type: "source";
|
|
1294
|
+
sourceType: "url";
|
|
1295
|
+
url: string;
|
|
1296
|
+
} | {
|
|
1297
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1298
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1299
|
+
filename?: string | undefined;
|
|
1300
|
+
id: string;
|
|
1301
|
+
title: string;
|
|
1302
|
+
type: "source";
|
|
1303
|
+
sourceType: "document";
|
|
1304
|
+
mediaType: string;
|
|
1305
|
+
}, [import("convex/values").VObject<{
|
|
1306
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1307
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1308
|
+
id: string;
|
|
1309
|
+
title: string;
|
|
1310
|
+
type: "source";
|
|
1311
|
+
sourceType: "url";
|
|
1312
|
+
url: string;
|
|
1313
|
+
}, {
|
|
1314
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
1315
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
1316
|
+
id: import("convex/values").VString<string, "required">;
|
|
1317
|
+
url: import("convex/values").VString<string, "required">;
|
|
1318
|
+
title: import("convex/values").VString<string, "required">;
|
|
1319
|
+
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>;
|
|
1320
|
+
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>;
|
|
1321
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
1322
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1323
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1324
|
+
filename?: string | undefined;
|
|
1325
|
+
id: string;
|
|
1326
|
+
title: string;
|
|
1327
|
+
type: "source";
|
|
1328
|
+
sourceType: "document";
|
|
1329
|
+
mediaType: string;
|
|
1330
|
+
}, {
|
|
1331
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
1332
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
1333
|
+
id: import("convex/values").VString<string, "required">;
|
|
1334
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
1335
|
+
title: import("convex/values").VString<string, "required">;
|
|
1336
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1337
|
+
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>;
|
|
1338
|
+
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>;
|
|
1339
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>, import("convex/values").VArray<{
|
|
1066
1340
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1067
1341
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1068
1342
|
args?: any;
|
|
@@ -1302,6 +1576,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1302
1576
|
toolCallId: string;
|
|
1303
1577
|
toolName: string;
|
|
1304
1578
|
result: any;
|
|
1579
|
+
} | {
|
|
1580
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1581
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1582
|
+
id: string;
|
|
1583
|
+
title: string;
|
|
1584
|
+
type: "source";
|
|
1585
|
+
sourceType: "url";
|
|
1586
|
+
url: string;
|
|
1587
|
+
} | {
|
|
1588
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1589
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1590
|
+
filename?: string | undefined;
|
|
1591
|
+
id: string;
|
|
1592
|
+
title: string;
|
|
1593
|
+
type: "source";
|
|
1594
|
+
sourceType: "document";
|
|
1595
|
+
mediaType: string;
|
|
1305
1596
|
})[];
|
|
1306
1597
|
}, {
|
|
1307
1598
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -1354,6 +1645,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1354
1645
|
toolCallId: string;
|
|
1355
1646
|
toolName: string;
|
|
1356
1647
|
result: any;
|
|
1648
|
+
} | {
|
|
1649
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1650
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1651
|
+
id: string;
|
|
1652
|
+
title: string;
|
|
1653
|
+
type: "source";
|
|
1654
|
+
sourceType: "url";
|
|
1655
|
+
url: string;
|
|
1656
|
+
} | {
|
|
1657
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1658
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1659
|
+
filename?: string | undefined;
|
|
1660
|
+
id: string;
|
|
1661
|
+
title: string;
|
|
1662
|
+
type: "source";
|
|
1663
|
+
sourceType: "document";
|
|
1664
|
+
mediaType: string;
|
|
1357
1665
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
1358
1666
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1359
1667
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1403,6 +1711,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1403
1711
|
toolCallId: string;
|
|
1404
1712
|
toolName: string;
|
|
1405
1713
|
result: any;
|
|
1714
|
+
} | {
|
|
1715
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1716
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1717
|
+
id: string;
|
|
1718
|
+
title: string;
|
|
1719
|
+
type: "source";
|
|
1720
|
+
sourceType: "url";
|
|
1721
|
+
url: string;
|
|
1722
|
+
} | {
|
|
1723
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1724
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1725
|
+
filename?: string | undefined;
|
|
1726
|
+
id: string;
|
|
1727
|
+
title: string;
|
|
1728
|
+
type: "source";
|
|
1729
|
+
sourceType: "document";
|
|
1730
|
+
mediaType: string;
|
|
1406
1731
|
})[], import("convex/values").VUnion<{
|
|
1407
1732
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1408
1733
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1452,6 +1777,23 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1452
1777
|
toolCallId: string;
|
|
1453
1778
|
toolName: string;
|
|
1454
1779
|
result: any;
|
|
1780
|
+
} | {
|
|
1781
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1782
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1783
|
+
id: string;
|
|
1784
|
+
title: string;
|
|
1785
|
+
type: "source";
|
|
1786
|
+
sourceType: "url";
|
|
1787
|
+
url: string;
|
|
1788
|
+
} | {
|
|
1789
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1790
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1791
|
+
filename?: string | undefined;
|
|
1792
|
+
id: string;
|
|
1793
|
+
title: string;
|
|
1794
|
+
type: "source";
|
|
1795
|
+
sourceType: "document";
|
|
1796
|
+
mediaType: string;
|
|
1455
1797
|
}, [import("convex/values").VObject<{
|
|
1456
1798
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1457
1799
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1571,7 +1913,58 @@ export declare const vAssistantMessage: import("convex/values").VObject<{
|
|
|
1571
1913
|
data: import("convex/values").VString<string, "required">;
|
|
1572
1914
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1573
1915
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1574
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
1916
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
1917
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1918
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1919
|
+
id: string;
|
|
1920
|
+
title: string;
|
|
1921
|
+
type: "source";
|
|
1922
|
+
sourceType: "url";
|
|
1923
|
+
url: string;
|
|
1924
|
+
} | {
|
|
1925
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1926
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1927
|
+
filename?: string | undefined;
|
|
1928
|
+
id: string;
|
|
1929
|
+
title: string;
|
|
1930
|
+
type: "source";
|
|
1931
|
+
sourceType: "document";
|
|
1932
|
+
mediaType: string;
|
|
1933
|
+
}, [import("convex/values").VObject<{
|
|
1934
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1935
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1936
|
+
id: string;
|
|
1937
|
+
title: string;
|
|
1938
|
+
type: "source";
|
|
1939
|
+
sourceType: "url";
|
|
1940
|
+
url: string;
|
|
1941
|
+
}, {
|
|
1942
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
1943
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
1944
|
+
id: import("convex/values").VString<string, "required">;
|
|
1945
|
+
url: import("convex/values").VString<string, "required">;
|
|
1946
|
+
title: import("convex/values").VString<string, "required">;
|
|
1947
|
+
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>;
|
|
1948
|
+
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>;
|
|
1949
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
1950
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1951
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1952
|
+
filename?: string | undefined;
|
|
1953
|
+
id: string;
|
|
1954
|
+
title: string;
|
|
1955
|
+
type: "source";
|
|
1956
|
+
sourceType: "document";
|
|
1957
|
+
mediaType: string;
|
|
1958
|
+
}, {
|
|
1959
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
1960
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
1961
|
+
id: import("convex/values").VString<string, "required">;
|
|
1962
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
1963
|
+
title: import("convex/values").VString<string, "required">;
|
|
1964
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1965
|
+
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>;
|
|
1966
|
+
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>;
|
|
1967
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
1575
1968
|
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>;
|
|
1576
1969
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">;
|
|
1577
1970
|
export declare const vToolMessage: import("convex/values").VObject<{
|
|
@@ -1758,6 +2151,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1758
2151
|
toolCallId: string;
|
|
1759
2152
|
toolName: string;
|
|
1760
2153
|
result: any;
|
|
2154
|
+
} | {
|
|
2155
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2156
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2157
|
+
id: string;
|
|
2158
|
+
title: string;
|
|
2159
|
+
type: "source";
|
|
2160
|
+
sourceType: "url";
|
|
2161
|
+
url: string;
|
|
2162
|
+
} | {
|
|
2163
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2164
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2165
|
+
filename?: string | undefined;
|
|
2166
|
+
id: string;
|
|
2167
|
+
title: string;
|
|
2168
|
+
type: "source";
|
|
2169
|
+
sourceType: "document";
|
|
2170
|
+
mediaType: string;
|
|
1761
2171
|
})[];
|
|
1762
2172
|
} | {
|
|
1763
2173
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1947,6 +2357,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1947
2357
|
toolCallId: string;
|
|
1948
2358
|
toolName: string;
|
|
1949
2359
|
result: any;
|
|
2360
|
+
} | {
|
|
2361
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2362
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2363
|
+
id: string;
|
|
2364
|
+
title: string;
|
|
2365
|
+
type: "source";
|
|
2366
|
+
sourceType: "url";
|
|
2367
|
+
url: string;
|
|
2368
|
+
} | {
|
|
2369
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2370
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2371
|
+
filename?: string | undefined;
|
|
2372
|
+
id: string;
|
|
2373
|
+
title: string;
|
|
2374
|
+
type: "source";
|
|
2375
|
+
sourceType: "document";
|
|
2376
|
+
mediaType: string;
|
|
1950
2377
|
})[];
|
|
1951
2378
|
}, {
|
|
1952
2379
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -1999,6 +2426,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
1999
2426
|
toolCallId: string;
|
|
2000
2427
|
toolName: string;
|
|
2001
2428
|
result: any;
|
|
2429
|
+
} | {
|
|
2430
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2431
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2432
|
+
id: string;
|
|
2433
|
+
title: string;
|
|
2434
|
+
type: "source";
|
|
2435
|
+
sourceType: "url";
|
|
2436
|
+
url: string;
|
|
2437
|
+
} | {
|
|
2438
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2439
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2440
|
+
filename?: string | undefined;
|
|
2441
|
+
id: string;
|
|
2442
|
+
title: string;
|
|
2443
|
+
type: "source";
|
|
2444
|
+
sourceType: "document";
|
|
2445
|
+
mediaType: string;
|
|
2002
2446
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2003
2447
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2004
2448
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2048,6 +2492,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2048
2492
|
toolCallId: string;
|
|
2049
2493
|
toolName: string;
|
|
2050
2494
|
result: any;
|
|
2495
|
+
} | {
|
|
2496
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2497
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2498
|
+
id: string;
|
|
2499
|
+
title: string;
|
|
2500
|
+
type: "source";
|
|
2501
|
+
sourceType: "url";
|
|
2502
|
+
url: string;
|
|
2503
|
+
} | {
|
|
2504
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2505
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2506
|
+
filename?: string | undefined;
|
|
2507
|
+
id: string;
|
|
2508
|
+
title: string;
|
|
2509
|
+
type: "source";
|
|
2510
|
+
sourceType: "document";
|
|
2511
|
+
mediaType: string;
|
|
2051
2512
|
})[], import("convex/values").VUnion<{
|
|
2052
2513
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2053
2514
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2097,6 +2558,23 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2097
2558
|
toolCallId: string;
|
|
2098
2559
|
toolName: string;
|
|
2099
2560
|
result: any;
|
|
2561
|
+
} | {
|
|
2562
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2563
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2564
|
+
id: string;
|
|
2565
|
+
title: string;
|
|
2566
|
+
type: "source";
|
|
2567
|
+
sourceType: "url";
|
|
2568
|
+
url: string;
|
|
2569
|
+
} | {
|
|
2570
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2571
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2572
|
+
filename?: string | undefined;
|
|
2573
|
+
id: string;
|
|
2574
|
+
title: string;
|
|
2575
|
+
type: "source";
|
|
2576
|
+
sourceType: "document";
|
|
2577
|
+
mediaType: string;
|
|
2100
2578
|
}, [import("convex/values").VObject<{
|
|
2101
2579
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2102
2580
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2216,7 +2694,58 @@ export declare const vMessage: import("convex/values").VUnion<{
|
|
|
2216
2694
|
data: import("convex/values").VString<string, "required">;
|
|
2217
2695
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
2218
2696
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
2219
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
2697
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
2698
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2699
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2700
|
+
id: string;
|
|
2701
|
+
title: string;
|
|
2702
|
+
type: "source";
|
|
2703
|
+
sourceType: "url";
|
|
2704
|
+
url: string;
|
|
2705
|
+
} | {
|
|
2706
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2707
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2708
|
+
filename?: string | undefined;
|
|
2709
|
+
id: string;
|
|
2710
|
+
title: string;
|
|
2711
|
+
type: "source";
|
|
2712
|
+
sourceType: "document";
|
|
2713
|
+
mediaType: string;
|
|
2714
|
+
}, [import("convex/values").VObject<{
|
|
2715
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2716
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2717
|
+
id: string;
|
|
2718
|
+
title: string;
|
|
2719
|
+
type: "source";
|
|
2720
|
+
sourceType: "url";
|
|
2721
|
+
url: string;
|
|
2722
|
+
}, {
|
|
2723
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
2724
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
2725
|
+
id: import("convex/values").VString<string, "required">;
|
|
2726
|
+
url: import("convex/values").VString<string, "required">;
|
|
2727
|
+
title: import("convex/values").VString<string, "required">;
|
|
2728
|
+
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>;
|
|
2729
|
+
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>;
|
|
2730
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
2731
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2732
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2733
|
+
filename?: string | undefined;
|
|
2734
|
+
id: string;
|
|
2735
|
+
title: string;
|
|
2736
|
+
type: "source";
|
|
2737
|
+
sourceType: "document";
|
|
2738
|
+
mediaType: string;
|
|
2739
|
+
}, {
|
|
2740
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
2741
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
2742
|
+
id: import("convex/values").VString<string, "required">;
|
|
2743
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
2744
|
+
title: import("convex/values").VString<string, "required">;
|
|
2745
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
2746
|
+
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>;
|
|
2747
|
+
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>;
|
|
2748
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
2220
2749
|
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>;
|
|
2221
2750
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
2222
2751
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2575,6 +3104,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2575
3104
|
toolCallId: string;
|
|
2576
3105
|
toolName: string;
|
|
2577
3106
|
result: any;
|
|
3107
|
+
} | {
|
|
3108
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3109
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3110
|
+
id: string;
|
|
3111
|
+
title: string;
|
|
3112
|
+
type: "source";
|
|
3113
|
+
sourceType: "url";
|
|
3114
|
+
url: string;
|
|
3115
|
+
} | {
|
|
3116
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3117
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3118
|
+
filename?: string | undefined;
|
|
3119
|
+
id: string;
|
|
3120
|
+
title: string;
|
|
3121
|
+
type: "source";
|
|
3122
|
+
sourceType: "document";
|
|
3123
|
+
mediaType: string;
|
|
2578
3124
|
})[];
|
|
2579
3125
|
} | {
|
|
2580
3126
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2677,6 +3223,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2677
3223
|
toolCallId: string;
|
|
2678
3224
|
toolName: string;
|
|
2679
3225
|
result: any;
|
|
3226
|
+
} | {
|
|
3227
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3228
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3229
|
+
id: string;
|
|
3230
|
+
title: string;
|
|
3231
|
+
type: "source";
|
|
3232
|
+
sourceType: "url";
|
|
3233
|
+
url: string;
|
|
3234
|
+
} | {
|
|
3235
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3236
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3237
|
+
filename?: string | undefined;
|
|
3238
|
+
id: string;
|
|
3239
|
+
title: string;
|
|
3240
|
+
type: "source";
|
|
3241
|
+
sourceType: "document";
|
|
3242
|
+
mediaType: string;
|
|
2680
3243
|
})[];
|
|
2681
3244
|
} | {
|
|
2682
3245
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2866,6 +3429,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2866
3429
|
toolCallId: string;
|
|
2867
3430
|
toolName: string;
|
|
2868
3431
|
result: any;
|
|
3432
|
+
} | {
|
|
3433
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3434
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3435
|
+
id: string;
|
|
3436
|
+
title: string;
|
|
3437
|
+
type: "source";
|
|
3438
|
+
sourceType: "url";
|
|
3439
|
+
url: string;
|
|
3440
|
+
} | {
|
|
3441
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3442
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3443
|
+
filename?: string | undefined;
|
|
3444
|
+
id: string;
|
|
3445
|
+
title: string;
|
|
3446
|
+
type: "source";
|
|
3447
|
+
sourceType: "document";
|
|
3448
|
+
mediaType: string;
|
|
2869
3449
|
})[];
|
|
2870
3450
|
}, {
|
|
2871
3451
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -2918,6 +3498,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2918
3498
|
toolCallId: string;
|
|
2919
3499
|
toolName: string;
|
|
2920
3500
|
result: any;
|
|
3501
|
+
} | {
|
|
3502
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3503
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3504
|
+
id: string;
|
|
3505
|
+
title: string;
|
|
3506
|
+
type: "source";
|
|
3507
|
+
sourceType: "url";
|
|
3508
|
+
url: string;
|
|
3509
|
+
} | {
|
|
3510
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3511
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3512
|
+
filename?: string | undefined;
|
|
3513
|
+
id: string;
|
|
3514
|
+
title: string;
|
|
3515
|
+
type: "source";
|
|
3516
|
+
sourceType: "document";
|
|
3517
|
+
mediaType: string;
|
|
2921
3518
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
2922
3519
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2923
3520
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2967,6 +3564,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
2967
3564
|
toolCallId: string;
|
|
2968
3565
|
toolName: string;
|
|
2969
3566
|
result: any;
|
|
3567
|
+
} | {
|
|
3568
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3569
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3570
|
+
id: string;
|
|
3571
|
+
title: string;
|
|
3572
|
+
type: "source";
|
|
3573
|
+
sourceType: "url";
|
|
3574
|
+
url: string;
|
|
3575
|
+
} | {
|
|
3576
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3577
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3578
|
+
filename?: string | undefined;
|
|
3579
|
+
id: string;
|
|
3580
|
+
title: string;
|
|
3581
|
+
type: "source";
|
|
3582
|
+
sourceType: "document";
|
|
3583
|
+
mediaType: string;
|
|
2970
3584
|
})[], import("convex/values").VUnion<{
|
|
2971
3585
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2972
3586
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3016,6 +3630,23 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3016
3630
|
toolCallId: string;
|
|
3017
3631
|
toolName: string;
|
|
3018
3632
|
result: any;
|
|
3633
|
+
} | {
|
|
3634
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3635
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3636
|
+
id: string;
|
|
3637
|
+
title: string;
|
|
3638
|
+
type: "source";
|
|
3639
|
+
sourceType: "url";
|
|
3640
|
+
url: string;
|
|
3641
|
+
} | {
|
|
3642
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3643
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3644
|
+
filename?: string | undefined;
|
|
3645
|
+
id: string;
|
|
3646
|
+
title: string;
|
|
3647
|
+
type: "source";
|
|
3648
|
+
sourceType: "document";
|
|
3649
|
+
mediaType: string;
|
|
3019
3650
|
}, [import("convex/values").VObject<{
|
|
3020
3651
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3021
3652
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3135,7 +3766,58 @@ export declare const vMessageWithMetadataInternal: import("convex/values").VObje
|
|
|
3135
3766
|
data: import("convex/values").VString<string, "required">;
|
|
3136
3767
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3137
3768
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3138
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
3769
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
3770
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3771
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3772
|
+
id: string;
|
|
3773
|
+
title: string;
|
|
3774
|
+
type: "source";
|
|
3775
|
+
sourceType: "url";
|
|
3776
|
+
url: string;
|
|
3777
|
+
} | {
|
|
3778
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3779
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3780
|
+
filename?: string | undefined;
|
|
3781
|
+
id: string;
|
|
3782
|
+
title: string;
|
|
3783
|
+
type: "source";
|
|
3784
|
+
sourceType: "document";
|
|
3785
|
+
mediaType: string;
|
|
3786
|
+
}, [import("convex/values").VObject<{
|
|
3787
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3788
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3789
|
+
id: string;
|
|
3790
|
+
title: string;
|
|
3791
|
+
type: "source";
|
|
3792
|
+
sourceType: "url";
|
|
3793
|
+
url: string;
|
|
3794
|
+
}, {
|
|
3795
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
3796
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
3797
|
+
id: import("convex/values").VString<string, "required">;
|
|
3798
|
+
url: import("convex/values").VString<string, "required">;
|
|
3799
|
+
title: import("convex/values").VString<string, "required">;
|
|
3800
|
+
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>;
|
|
3801
|
+
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>;
|
|
3802
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
3803
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3804
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3805
|
+
filename?: string | undefined;
|
|
3806
|
+
id: string;
|
|
3807
|
+
title: string;
|
|
3808
|
+
type: "source";
|
|
3809
|
+
sourceType: "document";
|
|
3810
|
+
mediaType: string;
|
|
3811
|
+
}, {
|
|
3812
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
3813
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
3814
|
+
id: import("convex/values").VString<string, "required">;
|
|
3815
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
3816
|
+
title: import("convex/values").VString<string, "required">;
|
|
3817
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3818
|
+
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>;
|
|
3819
|
+
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>;
|
|
3820
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
3139
3821
|
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>;
|
|
3140
3822
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3141
3823
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3572,6 +4254,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3572
4254
|
toolCallId: string;
|
|
3573
4255
|
toolName: string;
|
|
3574
4256
|
result: any;
|
|
4257
|
+
} | {
|
|
4258
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4259
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4260
|
+
id: string;
|
|
4261
|
+
title: string;
|
|
4262
|
+
type: "source";
|
|
4263
|
+
sourceType: "url";
|
|
4264
|
+
url: string;
|
|
4265
|
+
} | {
|
|
4266
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4267
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4268
|
+
filename?: string | undefined;
|
|
4269
|
+
id: string;
|
|
4270
|
+
title: string;
|
|
4271
|
+
type: "source";
|
|
4272
|
+
sourceType: "document";
|
|
4273
|
+
mediaType: string;
|
|
3575
4274
|
})[];
|
|
3576
4275
|
} | {
|
|
3577
4276
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3675,6 +4374,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3675
4374
|
toolCallId: string;
|
|
3676
4375
|
toolName: string;
|
|
3677
4376
|
result: any;
|
|
4377
|
+
} | {
|
|
4378
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4379
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4380
|
+
id: string;
|
|
4381
|
+
title: string;
|
|
4382
|
+
type: "source";
|
|
4383
|
+
sourceType: "url";
|
|
4384
|
+
url: string;
|
|
4385
|
+
} | {
|
|
4386
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4387
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4388
|
+
filename?: string | undefined;
|
|
4389
|
+
id: string;
|
|
4390
|
+
title: string;
|
|
4391
|
+
type: "source";
|
|
4392
|
+
sourceType: "document";
|
|
4393
|
+
mediaType: string;
|
|
3678
4394
|
})[];
|
|
3679
4395
|
} | {
|
|
3680
4396
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3864,6 +4580,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3864
4580
|
toolCallId: string;
|
|
3865
4581
|
toolName: string;
|
|
3866
4582
|
result: any;
|
|
4583
|
+
} | {
|
|
4584
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4585
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4586
|
+
id: string;
|
|
4587
|
+
title: string;
|
|
4588
|
+
type: "source";
|
|
4589
|
+
sourceType: "url";
|
|
4590
|
+
url: string;
|
|
4591
|
+
} | {
|
|
4592
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4593
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4594
|
+
filename?: string | undefined;
|
|
4595
|
+
id: string;
|
|
4596
|
+
title: string;
|
|
4597
|
+
type: "source";
|
|
4598
|
+
sourceType: "document";
|
|
4599
|
+
mediaType: string;
|
|
3867
4600
|
})[];
|
|
3868
4601
|
}, {
|
|
3869
4602
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -3916,6 +4649,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3916
4649
|
toolCallId: string;
|
|
3917
4650
|
toolName: string;
|
|
3918
4651
|
result: any;
|
|
4652
|
+
} | {
|
|
4653
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4654
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4655
|
+
id: string;
|
|
4656
|
+
title: string;
|
|
4657
|
+
type: "source";
|
|
4658
|
+
sourceType: "url";
|
|
4659
|
+
url: string;
|
|
4660
|
+
} | {
|
|
4661
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4662
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4663
|
+
filename?: string | undefined;
|
|
4664
|
+
id: string;
|
|
4665
|
+
title: string;
|
|
4666
|
+
type: "source";
|
|
4667
|
+
sourceType: "document";
|
|
4668
|
+
mediaType: string;
|
|
3919
4669
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3920
4670
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3921
4671
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3965,6 +4715,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
3965
4715
|
toolCallId: string;
|
|
3966
4716
|
toolName: string;
|
|
3967
4717
|
result: any;
|
|
4718
|
+
} | {
|
|
4719
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4720
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4721
|
+
id: string;
|
|
4722
|
+
title: string;
|
|
4723
|
+
type: "source";
|
|
4724
|
+
sourceType: "url";
|
|
4725
|
+
url: string;
|
|
4726
|
+
} | {
|
|
4727
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4728
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4729
|
+
filename?: string | undefined;
|
|
4730
|
+
id: string;
|
|
4731
|
+
title: string;
|
|
4732
|
+
type: "source";
|
|
4733
|
+
sourceType: "document";
|
|
4734
|
+
mediaType: string;
|
|
3968
4735
|
})[], import("convex/values").VUnion<{
|
|
3969
4736
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3970
4737
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4014,6 +4781,23 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
4014
4781
|
toolCallId: string;
|
|
4015
4782
|
toolName: string;
|
|
4016
4783
|
result: any;
|
|
4784
|
+
} | {
|
|
4785
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4786
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4787
|
+
id: string;
|
|
4788
|
+
title: string;
|
|
4789
|
+
type: "source";
|
|
4790
|
+
sourceType: "url";
|
|
4791
|
+
url: string;
|
|
4792
|
+
} | {
|
|
4793
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4794
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4795
|
+
filename?: string | undefined;
|
|
4796
|
+
id: string;
|
|
4797
|
+
title: string;
|
|
4798
|
+
type: "source";
|
|
4799
|
+
sourceType: "document";
|
|
4800
|
+
mediaType: string;
|
|
4017
4801
|
}, [import("convex/values").VObject<{
|
|
4018
4802
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4019
4803
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4133,7 +4917,58 @@ export declare const vMessageWithMetadata: import("convex/values").VObject<{
|
|
|
4133
4917
|
data: import("convex/values").VString<string, "required">;
|
|
4134
4918
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4135
4919
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4136
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
4920
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
4921
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4922
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4923
|
+
id: string;
|
|
4924
|
+
title: string;
|
|
4925
|
+
type: "source";
|
|
4926
|
+
sourceType: "url";
|
|
4927
|
+
url: string;
|
|
4928
|
+
} | {
|
|
4929
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4930
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4931
|
+
filename?: string | undefined;
|
|
4932
|
+
id: string;
|
|
4933
|
+
title: string;
|
|
4934
|
+
type: "source";
|
|
4935
|
+
sourceType: "document";
|
|
4936
|
+
mediaType: string;
|
|
4937
|
+
}, [import("convex/values").VObject<{
|
|
4938
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4939
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4940
|
+
id: string;
|
|
4941
|
+
title: string;
|
|
4942
|
+
type: "source";
|
|
4943
|
+
sourceType: "url";
|
|
4944
|
+
url: string;
|
|
4945
|
+
}, {
|
|
4946
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
4947
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
4948
|
+
id: import("convex/values").VString<string, "required">;
|
|
4949
|
+
url: import("convex/values").VString<string, "required">;
|
|
4950
|
+
title: import("convex/values").VString<string, "required">;
|
|
4951
|
+
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>;
|
|
4952
|
+
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>;
|
|
4953
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
4954
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4955
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4956
|
+
filename?: string | undefined;
|
|
4957
|
+
id: string;
|
|
4958
|
+
title: string;
|
|
4959
|
+
type: "source";
|
|
4960
|
+
sourceType: "document";
|
|
4961
|
+
mediaType: string;
|
|
4962
|
+
}, {
|
|
4963
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
4964
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
4965
|
+
id: import("convex/values").VString<string, "required">;
|
|
4966
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
4967
|
+
title: import("convex/values").VString<string, "required">;
|
|
4968
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4969
|
+
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>;
|
|
4970
|
+
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>;
|
|
4971
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
4137
4972
|
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>;
|
|
4138
4973
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4139
4974
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4623,6 +5458,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4623
5458
|
toolCallId: string;
|
|
4624
5459
|
toolName: string;
|
|
4625
5460
|
result: any;
|
|
5461
|
+
} | {
|
|
5462
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5463
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5464
|
+
id: string;
|
|
5465
|
+
title: string;
|
|
5466
|
+
type: "source";
|
|
5467
|
+
sourceType: "url";
|
|
5468
|
+
url: string;
|
|
5469
|
+
} | {
|
|
5470
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5471
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5472
|
+
filename?: string | undefined;
|
|
5473
|
+
id: string;
|
|
5474
|
+
title: string;
|
|
5475
|
+
type: "source";
|
|
5476
|
+
sourceType: "document";
|
|
5477
|
+
mediaType: string;
|
|
4626
5478
|
})[];
|
|
4627
5479
|
} | {
|
|
4628
5480
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4779,6 +5631,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4779
5631
|
toolCallId: string;
|
|
4780
5632
|
toolName: string;
|
|
4781
5633
|
result: any;
|
|
5634
|
+
} | {
|
|
5635
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5636
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5637
|
+
id: string;
|
|
5638
|
+
title: string;
|
|
5639
|
+
type: "source";
|
|
5640
|
+
sourceType: "url";
|
|
5641
|
+
url: string;
|
|
5642
|
+
} | {
|
|
5643
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5644
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5645
|
+
filename?: string | undefined;
|
|
5646
|
+
id: string;
|
|
5647
|
+
title: string;
|
|
5648
|
+
type: "source";
|
|
5649
|
+
sourceType: "document";
|
|
5650
|
+
mediaType: string;
|
|
4782
5651
|
})[];
|
|
4783
5652
|
} | {
|
|
4784
5653
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4879,6 +5748,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
4879
5748
|
toolCallId: string;
|
|
4880
5749
|
toolName: string;
|
|
4881
5750
|
result: any;
|
|
5751
|
+
} | {
|
|
5752
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5753
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5754
|
+
id: string;
|
|
5755
|
+
title: string;
|
|
5756
|
+
type: "source";
|
|
5757
|
+
sourceType: "url";
|
|
5758
|
+
url: string;
|
|
5759
|
+
} | {
|
|
5760
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5761
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5762
|
+
filename?: string | undefined;
|
|
5763
|
+
id: string;
|
|
5764
|
+
title: string;
|
|
5765
|
+
type: "source";
|
|
5766
|
+
sourceType: "document";
|
|
5767
|
+
mediaType: string;
|
|
4882
5768
|
})[];
|
|
4883
5769
|
} | {
|
|
4884
5770
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5068,6 +5954,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
5068
5954
|
toolCallId: string;
|
|
5069
5955
|
toolName: string;
|
|
5070
5956
|
result: any;
|
|
5957
|
+
} | {
|
|
5958
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5959
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5960
|
+
id: string;
|
|
5961
|
+
title: string;
|
|
5962
|
+
type: "source";
|
|
5963
|
+
sourceType: "url";
|
|
5964
|
+
url: string;
|
|
5965
|
+
} | {
|
|
5966
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5967
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5968
|
+
filename?: string | undefined;
|
|
5969
|
+
id: string;
|
|
5970
|
+
title: string;
|
|
5971
|
+
type: "source";
|
|
5972
|
+
sourceType: "document";
|
|
5973
|
+
mediaType: string;
|
|
5071
5974
|
})[];
|
|
5072
5975
|
}, {
|
|
5073
5976
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -5120,6 +6023,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
5120
6023
|
toolCallId: string;
|
|
5121
6024
|
toolName: string;
|
|
5122
6025
|
result: any;
|
|
6026
|
+
} | {
|
|
6027
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6028
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6029
|
+
id: string;
|
|
6030
|
+
title: string;
|
|
6031
|
+
type: "source";
|
|
6032
|
+
sourceType: "url";
|
|
6033
|
+
url: string;
|
|
6034
|
+
} | {
|
|
6035
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6036
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6037
|
+
filename?: string | undefined;
|
|
6038
|
+
id: string;
|
|
6039
|
+
title: string;
|
|
6040
|
+
type: "source";
|
|
6041
|
+
sourceType: "document";
|
|
6042
|
+
mediaType: string;
|
|
5123
6043
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
5124
6044
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5125
6045
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5169,6 +6089,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
5169
6089
|
toolCallId: string;
|
|
5170
6090
|
toolName: string;
|
|
5171
6091
|
result: any;
|
|
6092
|
+
} | {
|
|
6093
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6094
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6095
|
+
id: string;
|
|
6096
|
+
title: string;
|
|
6097
|
+
type: "source";
|
|
6098
|
+
sourceType: "url";
|
|
6099
|
+
url: string;
|
|
6100
|
+
} | {
|
|
6101
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6102
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6103
|
+
filename?: string | undefined;
|
|
6104
|
+
id: string;
|
|
6105
|
+
title: string;
|
|
6106
|
+
type: "source";
|
|
6107
|
+
sourceType: "document";
|
|
6108
|
+
mediaType: string;
|
|
5172
6109
|
})[], import("convex/values").VUnion<{
|
|
5173
6110
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5174
6111
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5218,6 +6155,23 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
5218
6155
|
toolCallId: string;
|
|
5219
6156
|
toolName: string;
|
|
5220
6157
|
result: any;
|
|
6158
|
+
} | {
|
|
6159
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6160
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6161
|
+
id: string;
|
|
6162
|
+
title: string;
|
|
6163
|
+
type: "source";
|
|
6164
|
+
sourceType: "url";
|
|
6165
|
+
url: string;
|
|
6166
|
+
} | {
|
|
6167
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6168
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6169
|
+
filename?: string | undefined;
|
|
6170
|
+
id: string;
|
|
6171
|
+
title: string;
|
|
6172
|
+
type: "source";
|
|
6173
|
+
sourceType: "document";
|
|
6174
|
+
mediaType: string;
|
|
5221
6175
|
}, [import("convex/values").VObject<{
|
|
5222
6176
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5223
6177
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5337,7 +6291,58 @@ export declare const vTextArgs: import("convex/values").VObject<{
|
|
|
5337
6291
|
data: import("convex/values").VString<string, "required">;
|
|
5338
6292
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5339
6293
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5340
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
6294
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
6295
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6296
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6297
|
+
id: string;
|
|
6298
|
+
title: string;
|
|
6299
|
+
type: "source";
|
|
6300
|
+
sourceType: "url";
|
|
6301
|
+
url: string;
|
|
6302
|
+
} | {
|
|
6303
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6304
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6305
|
+
filename?: string | undefined;
|
|
6306
|
+
id: string;
|
|
6307
|
+
title: string;
|
|
6308
|
+
type: "source";
|
|
6309
|
+
sourceType: "document";
|
|
6310
|
+
mediaType: string;
|
|
6311
|
+
}, [import("convex/values").VObject<{
|
|
6312
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6313
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6314
|
+
id: string;
|
|
6315
|
+
title: string;
|
|
6316
|
+
type: "source";
|
|
6317
|
+
sourceType: "url";
|
|
6318
|
+
url: string;
|
|
6319
|
+
}, {
|
|
6320
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
6321
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
6322
|
+
id: import("convex/values").VString<string, "required">;
|
|
6323
|
+
url: import("convex/values").VString<string, "required">;
|
|
6324
|
+
title: import("convex/values").VString<string, "required">;
|
|
6325
|
+
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>;
|
|
6326
|
+
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>;
|
|
6327
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
6328
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6329
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6330
|
+
filename?: string | undefined;
|
|
6331
|
+
id: string;
|
|
6332
|
+
title: string;
|
|
6333
|
+
type: "source";
|
|
6334
|
+
sourceType: "document";
|
|
6335
|
+
mediaType: string;
|
|
6336
|
+
}, {
|
|
6337
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
6338
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
6339
|
+
id: import("convex/values").VString<string, "required">;
|
|
6340
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
6341
|
+
title: import("convex/values").VString<string, "required">;
|
|
6342
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
6343
|
+
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>;
|
|
6344
|
+
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>;
|
|
6345
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
5341
6346
|
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>;
|
|
5342
6347
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5343
6348
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5602,6 +6607,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5602
6607
|
toolCallId: string;
|
|
5603
6608
|
toolName: string;
|
|
5604
6609
|
result: any;
|
|
6610
|
+
} | {
|
|
6611
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6612
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6613
|
+
id: string;
|
|
6614
|
+
title: string;
|
|
6615
|
+
type: "source";
|
|
6616
|
+
sourceType: "url";
|
|
6617
|
+
url: string;
|
|
6618
|
+
} | {
|
|
6619
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6620
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6621
|
+
filename?: string | undefined;
|
|
6622
|
+
id: string;
|
|
6623
|
+
title: string;
|
|
6624
|
+
type: "source";
|
|
6625
|
+
sourceType: "document";
|
|
6626
|
+
mediaType: string;
|
|
5605
6627
|
})[];
|
|
5606
6628
|
} | {
|
|
5607
6629
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5738,6 +6760,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5738
6760
|
toolCallId: string;
|
|
5739
6761
|
toolName: string;
|
|
5740
6762
|
result: any;
|
|
6763
|
+
} | {
|
|
6764
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6765
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6766
|
+
id: string;
|
|
6767
|
+
title: string;
|
|
6768
|
+
type: "source";
|
|
6769
|
+
sourceType: "url";
|
|
6770
|
+
url: string;
|
|
6771
|
+
} | {
|
|
6772
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6773
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6774
|
+
filename?: string | undefined;
|
|
6775
|
+
id: string;
|
|
6776
|
+
title: string;
|
|
6777
|
+
type: "source";
|
|
6778
|
+
sourceType: "document";
|
|
6779
|
+
mediaType: string;
|
|
5741
6780
|
})[];
|
|
5742
6781
|
} | {
|
|
5743
6782
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5838,6 +6877,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
5838
6877
|
toolCallId: string;
|
|
5839
6878
|
toolName: string;
|
|
5840
6879
|
result: any;
|
|
6880
|
+
} | {
|
|
6881
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6882
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6883
|
+
id: string;
|
|
6884
|
+
title: string;
|
|
6885
|
+
type: "source";
|
|
6886
|
+
sourceType: "url";
|
|
6887
|
+
url: string;
|
|
6888
|
+
} | {
|
|
6889
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6890
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
6891
|
+
filename?: string | undefined;
|
|
6892
|
+
id: string;
|
|
6893
|
+
title: string;
|
|
6894
|
+
type: "source";
|
|
6895
|
+
sourceType: "document";
|
|
6896
|
+
mediaType: string;
|
|
5841
6897
|
})[];
|
|
5842
6898
|
} | {
|
|
5843
6899
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -6027,6 +7083,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
6027
7083
|
toolCallId: string;
|
|
6028
7084
|
toolName: string;
|
|
6029
7085
|
result: any;
|
|
7086
|
+
} | {
|
|
7087
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7088
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7089
|
+
id: string;
|
|
7090
|
+
title: string;
|
|
7091
|
+
type: "source";
|
|
7092
|
+
sourceType: "url";
|
|
7093
|
+
url: string;
|
|
7094
|
+
} | {
|
|
7095
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7096
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7097
|
+
filename?: string | undefined;
|
|
7098
|
+
id: string;
|
|
7099
|
+
title: string;
|
|
7100
|
+
type: "source";
|
|
7101
|
+
sourceType: "document";
|
|
7102
|
+
mediaType: string;
|
|
6030
7103
|
})[];
|
|
6031
7104
|
}, {
|
|
6032
7105
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -6079,6 +7152,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
6079
7152
|
toolCallId: string;
|
|
6080
7153
|
toolName: string;
|
|
6081
7154
|
result: any;
|
|
7155
|
+
} | {
|
|
7156
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7157
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7158
|
+
id: string;
|
|
7159
|
+
title: string;
|
|
7160
|
+
type: "source";
|
|
7161
|
+
sourceType: "url";
|
|
7162
|
+
url: string;
|
|
7163
|
+
} | {
|
|
7164
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7165
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7166
|
+
filename?: string | undefined;
|
|
7167
|
+
id: string;
|
|
7168
|
+
title: string;
|
|
7169
|
+
type: "source";
|
|
7170
|
+
sourceType: "document";
|
|
7171
|
+
mediaType: string;
|
|
6082
7172
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
6083
7173
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6084
7174
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -6128,6 +7218,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
6128
7218
|
toolCallId: string;
|
|
6129
7219
|
toolName: string;
|
|
6130
7220
|
result: any;
|
|
7221
|
+
} | {
|
|
7222
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7223
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7224
|
+
id: string;
|
|
7225
|
+
title: string;
|
|
7226
|
+
type: "source";
|
|
7227
|
+
sourceType: "url";
|
|
7228
|
+
url: string;
|
|
7229
|
+
} | {
|
|
7230
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7231
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7232
|
+
filename?: string | undefined;
|
|
7233
|
+
id: string;
|
|
7234
|
+
title: string;
|
|
7235
|
+
type: "source";
|
|
7236
|
+
sourceType: "document";
|
|
7237
|
+
mediaType: string;
|
|
6131
7238
|
})[], import("convex/values").VUnion<{
|
|
6132
7239
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6133
7240
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -6177,6 +7284,23 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
6177
7284
|
toolCallId: string;
|
|
6178
7285
|
toolName: string;
|
|
6179
7286
|
result: any;
|
|
7287
|
+
} | {
|
|
7288
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7289
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7290
|
+
id: string;
|
|
7291
|
+
title: string;
|
|
7292
|
+
type: "source";
|
|
7293
|
+
sourceType: "url";
|
|
7294
|
+
url: string;
|
|
7295
|
+
} | {
|
|
7296
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7297
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7298
|
+
filename?: string | undefined;
|
|
7299
|
+
id: string;
|
|
7300
|
+
title: string;
|
|
7301
|
+
type: "source";
|
|
7302
|
+
sourceType: "document";
|
|
7303
|
+
mediaType: string;
|
|
6180
7304
|
}, [import("convex/values").VObject<{
|
|
6181
7305
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
6182
7306
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -6296,7 +7420,58 @@ export declare const vSafeObjectArgs: import("convex/values").VObject<{
|
|
|
6296
7420
|
data: import("convex/values").VString<string, "required">;
|
|
6297
7421
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
6298
7422
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
6299
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}
|
|
7423
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
7424
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7425
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7426
|
+
id: string;
|
|
7427
|
+
title: string;
|
|
7428
|
+
type: "source";
|
|
7429
|
+
sourceType: "url";
|
|
7430
|
+
url: string;
|
|
7431
|
+
} | {
|
|
7432
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7433
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7434
|
+
filename?: string | undefined;
|
|
7435
|
+
id: string;
|
|
7436
|
+
title: string;
|
|
7437
|
+
type: "source";
|
|
7438
|
+
sourceType: "document";
|
|
7439
|
+
mediaType: string;
|
|
7440
|
+
}, [import("convex/values").VObject<{
|
|
7441
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7442
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7443
|
+
id: string;
|
|
7444
|
+
title: string;
|
|
7445
|
+
type: "source";
|
|
7446
|
+
sourceType: "url";
|
|
7447
|
+
url: string;
|
|
7448
|
+
}, {
|
|
7449
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
7450
|
+
sourceType: import("convex/values").VLiteral<"url", "required">;
|
|
7451
|
+
id: import("convex/values").VString<string, "required">;
|
|
7452
|
+
url: import("convex/values").VString<string, "required">;
|
|
7453
|
+
title: import("convex/values").VString<string, "required">;
|
|
7454
|
+
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>;
|
|
7455
|
+
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>;
|
|
7456
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "sourceType" | "url">, import("convex/values").VObject<{
|
|
7457
|
+
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
7458
|
+
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
7459
|
+
filename?: string | undefined;
|
|
7460
|
+
id: string;
|
|
7461
|
+
title: string;
|
|
7462
|
+
type: "source";
|
|
7463
|
+
sourceType: "document";
|
|
7464
|
+
mediaType: string;
|
|
7465
|
+
}, {
|
|
7466
|
+
type: import("convex/values").VLiteral<"source", "required">;
|
|
7467
|
+
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
7468
|
+
id: import("convex/values").VString<string, "required">;
|
|
7469
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
7470
|
+
title: import("convex/values").VString<string, "required">;
|
|
7471
|
+
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
7472
|
+
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>;
|
|
7473
|
+
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>;
|
|
7474
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "sourceType" | "url" | "mediaType">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}` | "sourceType" | "url" | "mediaType">, "required">], "required", never>;
|
|
6300
7475
|
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>;
|
|
6301
7476
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
6302
7477
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|