@convex-dev/agent 0.2.5-alpha.0 → 0.2.6-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/definePlaygroundAPI.d.ts +248 -18
- package/dist/client/definePlaygroundAPI.d.ts.map +1 -1
- package/dist/client/index.d.ts +211 -33
- package/dist/client/index.d.ts.map +1 -1
- package/dist/client/index.js +56 -52
- package/dist/client/index.js.map +1 -1
- package/dist/client/messages.d.ts +50 -4
- package/dist/client/messages.d.ts.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 +50 -4
- package/dist/client/search.d.ts.map +1 -1
- package/dist/client/streaming.d.ts +603 -46
- package/dist/client/streaming.d.ts.map +1 -1
- package/dist/client/streaming.js +30 -35
- package/dist/client/streaming.js.map +1 -1
- package/dist/client/textStreamParts.d.ts +5 -0
- package/dist/client/textStreamParts.d.ts.map +1 -0
- package/dist/{parts.js → client/textStreamParts.js} +18 -1
- package/dist/client/textStreamParts.js.map +1 -0
- package/dist/component/_generated/api.d.ts +240 -16
- package/dist/component/messages.d.ts +549 -43
- 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 +1546 -98
- package/dist/component/schema.d.ts.map +1 -1
- package/dist/mapping.d.ts.map +1 -1
- package/dist/mapping.js +30 -18
- package/dist/mapping.js.map +1 -1
- package/dist/react/useSmoothText.d.ts +1 -1
- package/dist/react/useSmoothText.d.ts.map +1 -1
- package/dist/react/useSmoothText.js +30 -22
- package/dist/react/useSmoothText.js.map +1 -1
- package/dist/validators.d.ts +3740 -201
- package/dist/validators.d.ts.map +1 -1
- package/dist/validators.js +10 -1
- package/dist/validators.js.map +1 -1
- package/package.json +1 -1
- package/src/client/index.ts +90 -82
- package/src/client/mockModel.ts +195 -0
- package/src/client/streaming.ts +46 -54
- package/src/{parts.ts → client/textStreamParts.ts} +33 -1
- package/src/component/_generated/api.d.ts +240 -16
- package/src/component/messages.ts +1 -1
- package/src/mapping.test.ts +50 -1
- package/src/mapping.ts +42 -17
- package/src/react/toUIMessages.test.ts +16 -4
- package/src/react/useSmoothText.ts +40 -31
- package/src/validators.ts +23 -1
- package/dist/parts.d.ts +0 -3
- package/dist/parts.d.ts.map +0 -1
- package/dist/parts.js.map +0 -1
|
@@ -352,6 +352,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
352
352
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
353
353
|
args?: any;
|
|
354
354
|
providerExecuted?: boolean | undefined;
|
|
355
|
+
output?: {
|
|
356
|
+
type: "text";
|
|
357
|
+
value: string;
|
|
358
|
+
} | {
|
|
359
|
+
type: "json";
|
|
360
|
+
value: any;
|
|
361
|
+
} | {
|
|
362
|
+
type: "error-text";
|
|
363
|
+
value: string;
|
|
364
|
+
} | {
|
|
365
|
+
type: "error-json";
|
|
366
|
+
value: any;
|
|
367
|
+
} | {
|
|
368
|
+
type: "content";
|
|
369
|
+
value: ({
|
|
370
|
+
type: "text";
|
|
371
|
+
text: string;
|
|
372
|
+
} | {
|
|
373
|
+
type: "media";
|
|
374
|
+
data: string;
|
|
375
|
+
mediaType: string;
|
|
376
|
+
})[];
|
|
377
|
+
} | undefined;
|
|
378
|
+
result?: any;
|
|
355
379
|
isError?: boolean | undefined;
|
|
356
380
|
experimental_content?: ({
|
|
357
381
|
type: "text";
|
|
@@ -364,7 +388,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
364
388
|
type: "tool-result";
|
|
365
389
|
toolCallId: string;
|
|
366
390
|
toolName: string;
|
|
367
|
-
result: any;
|
|
368
391
|
} | {
|
|
369
392
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
370
393
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -380,8 +403,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
380
403
|
id: string;
|
|
381
404
|
title: string;
|
|
382
405
|
type: "source";
|
|
383
|
-
sourceType: "document";
|
|
384
406
|
mediaType: string;
|
|
407
|
+
sourceType: "document";
|
|
385
408
|
})[];
|
|
386
409
|
} | {
|
|
387
410
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -391,6 +414,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
391
414
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
392
415
|
args?: any;
|
|
393
416
|
providerExecuted?: boolean | undefined;
|
|
417
|
+
output?: {
|
|
418
|
+
type: "text";
|
|
419
|
+
value: string;
|
|
420
|
+
} | {
|
|
421
|
+
type: "json";
|
|
422
|
+
value: any;
|
|
423
|
+
} | {
|
|
424
|
+
type: "error-text";
|
|
425
|
+
value: string;
|
|
426
|
+
} | {
|
|
427
|
+
type: "error-json";
|
|
428
|
+
value: any;
|
|
429
|
+
} | {
|
|
430
|
+
type: "content";
|
|
431
|
+
value: ({
|
|
432
|
+
type: "text";
|
|
433
|
+
text: string;
|
|
434
|
+
} | {
|
|
435
|
+
type: "media";
|
|
436
|
+
data: string;
|
|
437
|
+
mediaType: string;
|
|
438
|
+
})[];
|
|
439
|
+
} | undefined;
|
|
440
|
+
result?: any;
|
|
394
441
|
isError?: boolean | undefined;
|
|
395
442
|
experimental_content?: ({
|
|
396
443
|
type: "text";
|
|
@@ -403,7 +450,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
403
450
|
type: "tool-result";
|
|
404
451
|
toolCallId: string;
|
|
405
452
|
toolName: string;
|
|
406
|
-
result: any;
|
|
407
453
|
}[];
|
|
408
454
|
} | {
|
|
409
455
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -435,8 +481,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
435
481
|
id: string;
|
|
436
482
|
title: string;
|
|
437
483
|
type: "source";
|
|
438
|
-
sourceType: "document";
|
|
439
484
|
mediaType: string;
|
|
485
|
+
sourceType: "document";
|
|
440
486
|
})[] | undefined;
|
|
441
487
|
warnings?: ({
|
|
442
488
|
details?: string | undefined;
|
|
@@ -545,6 +591,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
545
591
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
546
592
|
args?: any;
|
|
547
593
|
providerExecuted?: boolean | undefined;
|
|
594
|
+
output?: {
|
|
595
|
+
type: "text";
|
|
596
|
+
value: string;
|
|
597
|
+
} | {
|
|
598
|
+
type: "json";
|
|
599
|
+
value: any;
|
|
600
|
+
} | {
|
|
601
|
+
type: "error-text";
|
|
602
|
+
value: string;
|
|
603
|
+
} | {
|
|
604
|
+
type: "error-json";
|
|
605
|
+
value: any;
|
|
606
|
+
} | {
|
|
607
|
+
type: "content";
|
|
608
|
+
value: ({
|
|
609
|
+
type: "text";
|
|
610
|
+
text: string;
|
|
611
|
+
} | {
|
|
612
|
+
type: "media";
|
|
613
|
+
data: string;
|
|
614
|
+
mediaType: string;
|
|
615
|
+
})[];
|
|
616
|
+
} | undefined;
|
|
617
|
+
result?: any;
|
|
548
618
|
isError?: boolean | undefined;
|
|
549
619
|
experimental_content?: ({
|
|
550
620
|
type: "text";
|
|
@@ -557,7 +627,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
557
627
|
type: "tool-result";
|
|
558
628
|
toolCallId: string;
|
|
559
629
|
toolName: string;
|
|
560
|
-
result: any;
|
|
561
630
|
} | {
|
|
562
631
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
563
632
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -573,8 +642,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
573
642
|
id: string;
|
|
574
643
|
title: string;
|
|
575
644
|
type: "source";
|
|
576
|
-
sourceType: "document";
|
|
577
645
|
mediaType: string;
|
|
646
|
+
sourceType: "document";
|
|
578
647
|
})[];
|
|
579
648
|
} | {
|
|
580
649
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -584,6 +653,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
584
653
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
585
654
|
args?: any;
|
|
586
655
|
providerExecuted?: boolean | undefined;
|
|
656
|
+
output?: {
|
|
657
|
+
type: "text";
|
|
658
|
+
value: string;
|
|
659
|
+
} | {
|
|
660
|
+
type: "json";
|
|
661
|
+
value: any;
|
|
662
|
+
} | {
|
|
663
|
+
type: "error-text";
|
|
664
|
+
value: string;
|
|
665
|
+
} | {
|
|
666
|
+
type: "error-json";
|
|
667
|
+
value: any;
|
|
668
|
+
} | {
|
|
669
|
+
type: "content";
|
|
670
|
+
value: ({
|
|
671
|
+
type: "text";
|
|
672
|
+
text: string;
|
|
673
|
+
} | {
|
|
674
|
+
type: "media";
|
|
675
|
+
data: string;
|
|
676
|
+
mediaType: string;
|
|
677
|
+
})[];
|
|
678
|
+
} | undefined;
|
|
679
|
+
result?: any;
|
|
587
680
|
isError?: boolean | undefined;
|
|
588
681
|
experimental_content?: ({
|
|
589
682
|
type: "text";
|
|
@@ -596,7 +689,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
596
689
|
type: "tool-result";
|
|
597
690
|
toolCallId: string;
|
|
598
691
|
toolName: string;
|
|
599
|
-
result: any;
|
|
600
692
|
}[];
|
|
601
693
|
} | {
|
|
602
694
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -751,6 +843,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
751
843
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
752
844
|
args?: any;
|
|
753
845
|
providerExecuted?: boolean | undefined;
|
|
846
|
+
output?: {
|
|
847
|
+
type: "text";
|
|
848
|
+
value: string;
|
|
849
|
+
} | {
|
|
850
|
+
type: "json";
|
|
851
|
+
value: any;
|
|
852
|
+
} | {
|
|
853
|
+
type: "error-text";
|
|
854
|
+
value: string;
|
|
855
|
+
} | {
|
|
856
|
+
type: "error-json";
|
|
857
|
+
value: any;
|
|
858
|
+
} | {
|
|
859
|
+
type: "content";
|
|
860
|
+
value: ({
|
|
861
|
+
type: "text";
|
|
862
|
+
text: string;
|
|
863
|
+
} | {
|
|
864
|
+
type: "media";
|
|
865
|
+
data: string;
|
|
866
|
+
mediaType: string;
|
|
867
|
+
})[];
|
|
868
|
+
} | undefined;
|
|
869
|
+
result?: any;
|
|
754
870
|
isError?: boolean | undefined;
|
|
755
871
|
experimental_content?: ({
|
|
756
872
|
type: "text";
|
|
@@ -763,7 +879,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
763
879
|
type: "tool-result";
|
|
764
880
|
toolCallId: string;
|
|
765
881
|
toolName: string;
|
|
766
|
-
result: any;
|
|
767
882
|
} | {
|
|
768
883
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
769
884
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -779,8 +894,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
779
894
|
id: string;
|
|
780
895
|
title: string;
|
|
781
896
|
type: "source";
|
|
782
|
-
sourceType: "document";
|
|
783
897
|
mediaType: string;
|
|
898
|
+
sourceType: "document";
|
|
784
899
|
})[];
|
|
785
900
|
}, {
|
|
786
901
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -820,6 +935,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
820
935
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
821
936
|
args?: any;
|
|
822
937
|
providerExecuted?: boolean | undefined;
|
|
938
|
+
output?: {
|
|
939
|
+
type: "text";
|
|
940
|
+
value: string;
|
|
941
|
+
} | {
|
|
942
|
+
type: "json";
|
|
943
|
+
value: any;
|
|
944
|
+
} | {
|
|
945
|
+
type: "error-text";
|
|
946
|
+
value: string;
|
|
947
|
+
} | {
|
|
948
|
+
type: "error-json";
|
|
949
|
+
value: any;
|
|
950
|
+
} | {
|
|
951
|
+
type: "content";
|
|
952
|
+
value: ({
|
|
953
|
+
type: "text";
|
|
954
|
+
text: string;
|
|
955
|
+
} | {
|
|
956
|
+
type: "media";
|
|
957
|
+
data: string;
|
|
958
|
+
mediaType: string;
|
|
959
|
+
})[];
|
|
960
|
+
} | undefined;
|
|
961
|
+
result?: any;
|
|
823
962
|
isError?: boolean | undefined;
|
|
824
963
|
experimental_content?: ({
|
|
825
964
|
type: "text";
|
|
@@ -832,7 +971,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
832
971
|
type: "tool-result";
|
|
833
972
|
toolCallId: string;
|
|
834
973
|
toolName: string;
|
|
835
|
-
result: any;
|
|
836
974
|
} | {
|
|
837
975
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
838
976
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -848,8 +986,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
848
986
|
id: string;
|
|
849
987
|
title: string;
|
|
850
988
|
type: "source";
|
|
851
|
-
sourceType: "document";
|
|
852
989
|
mediaType: string;
|
|
990
|
+
sourceType: "document";
|
|
853
991
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
854
992
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
855
993
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -886,6 +1024,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
886
1024
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
887
1025
|
args?: any;
|
|
888
1026
|
providerExecuted?: boolean | undefined;
|
|
1027
|
+
output?: {
|
|
1028
|
+
type: "text";
|
|
1029
|
+
value: string;
|
|
1030
|
+
} | {
|
|
1031
|
+
type: "json";
|
|
1032
|
+
value: any;
|
|
1033
|
+
} | {
|
|
1034
|
+
type: "error-text";
|
|
1035
|
+
value: string;
|
|
1036
|
+
} | {
|
|
1037
|
+
type: "error-json";
|
|
1038
|
+
value: any;
|
|
1039
|
+
} | {
|
|
1040
|
+
type: "content";
|
|
1041
|
+
value: ({
|
|
1042
|
+
type: "text";
|
|
1043
|
+
text: string;
|
|
1044
|
+
} | {
|
|
1045
|
+
type: "media";
|
|
1046
|
+
data: string;
|
|
1047
|
+
mediaType: string;
|
|
1048
|
+
})[];
|
|
1049
|
+
} | undefined;
|
|
1050
|
+
result?: any;
|
|
889
1051
|
isError?: boolean | undefined;
|
|
890
1052
|
experimental_content?: ({
|
|
891
1053
|
type: "text";
|
|
@@ -898,7 +1060,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
898
1060
|
type: "tool-result";
|
|
899
1061
|
toolCallId: string;
|
|
900
1062
|
toolName: string;
|
|
901
|
-
result: any;
|
|
902
1063
|
} | {
|
|
903
1064
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
904
1065
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -914,8 +1075,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
914
1075
|
id: string;
|
|
915
1076
|
title: string;
|
|
916
1077
|
type: "source";
|
|
917
|
-
sourceType: "document";
|
|
918
1078
|
mediaType: string;
|
|
1079
|
+
sourceType: "document";
|
|
919
1080
|
})[], import("convex/values").VUnion<{
|
|
920
1081
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
921
1082
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -952,6 +1113,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
952
1113
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
953
1114
|
args?: any;
|
|
954
1115
|
providerExecuted?: boolean | undefined;
|
|
1116
|
+
output?: {
|
|
1117
|
+
type: "text";
|
|
1118
|
+
value: string;
|
|
1119
|
+
} | {
|
|
1120
|
+
type: "json";
|
|
1121
|
+
value: any;
|
|
1122
|
+
} | {
|
|
1123
|
+
type: "error-text";
|
|
1124
|
+
value: string;
|
|
1125
|
+
} | {
|
|
1126
|
+
type: "error-json";
|
|
1127
|
+
value: any;
|
|
1128
|
+
} | {
|
|
1129
|
+
type: "content";
|
|
1130
|
+
value: ({
|
|
1131
|
+
type: "text";
|
|
1132
|
+
text: string;
|
|
1133
|
+
} | {
|
|
1134
|
+
type: "media";
|
|
1135
|
+
data: string;
|
|
1136
|
+
mediaType: string;
|
|
1137
|
+
})[];
|
|
1138
|
+
} | undefined;
|
|
1139
|
+
result?: any;
|
|
955
1140
|
isError?: boolean | undefined;
|
|
956
1141
|
experimental_content?: ({
|
|
957
1142
|
type: "text";
|
|
@@ -964,7 +1149,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
964
1149
|
type: "tool-result";
|
|
965
1150
|
toolCallId: string;
|
|
966
1151
|
toolName: string;
|
|
967
|
-
result: any;
|
|
968
1152
|
} | {
|
|
969
1153
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
970
1154
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -980,8 +1164,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
980
1164
|
id: string;
|
|
981
1165
|
title: string;
|
|
982
1166
|
type: "source";
|
|
983
|
-
sourceType: "document";
|
|
984
1167
|
mediaType: string;
|
|
1168
|
+
sourceType: "document";
|
|
985
1169
|
}, [import("convex/values").VObject<{
|
|
986
1170
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
987
1171
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1049,6 +1233,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1049
1233
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1050
1234
|
args?: any;
|
|
1051
1235
|
providerExecuted?: boolean | undefined;
|
|
1236
|
+
output?: {
|
|
1237
|
+
type: "text";
|
|
1238
|
+
value: string;
|
|
1239
|
+
} | {
|
|
1240
|
+
type: "json";
|
|
1241
|
+
value: any;
|
|
1242
|
+
} | {
|
|
1243
|
+
type: "error-text";
|
|
1244
|
+
value: string;
|
|
1245
|
+
} | {
|
|
1246
|
+
type: "error-json";
|
|
1247
|
+
value: any;
|
|
1248
|
+
} | {
|
|
1249
|
+
type: "content";
|
|
1250
|
+
value: ({
|
|
1251
|
+
type: "text";
|
|
1252
|
+
text: string;
|
|
1253
|
+
} | {
|
|
1254
|
+
type: "media";
|
|
1255
|
+
data: string;
|
|
1256
|
+
mediaType: string;
|
|
1257
|
+
})[];
|
|
1258
|
+
} | undefined;
|
|
1259
|
+
result?: any;
|
|
1052
1260
|
isError?: boolean | undefined;
|
|
1053
1261
|
experimental_content?: ({
|
|
1054
1262
|
type: "text";
|
|
@@ -1061,15 +1269,102 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1061
1269
|
type: "tool-result";
|
|
1062
1270
|
toolCallId: string;
|
|
1063
1271
|
toolName: string;
|
|
1064
|
-
result: any;
|
|
1065
1272
|
}, {
|
|
1066
1273
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
1067
1274
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
1068
1275
|
toolName: import("convex/values").VString<string, "required">;
|
|
1069
|
-
|
|
1276
|
+
output: import("convex/values").VUnion<{
|
|
1277
|
+
type: "text";
|
|
1278
|
+
value: string;
|
|
1279
|
+
} | {
|
|
1280
|
+
type: "json";
|
|
1281
|
+
value: any;
|
|
1282
|
+
} | {
|
|
1283
|
+
type: "error-text";
|
|
1284
|
+
value: string;
|
|
1285
|
+
} | {
|
|
1286
|
+
type: "error-json";
|
|
1287
|
+
value: any;
|
|
1288
|
+
} | {
|
|
1289
|
+
type: "content";
|
|
1290
|
+
value: ({
|
|
1291
|
+
type: "text";
|
|
1292
|
+
text: string;
|
|
1293
|
+
} | {
|
|
1294
|
+
type: "media";
|
|
1295
|
+
data: string;
|
|
1296
|
+
mediaType: string;
|
|
1297
|
+
})[];
|
|
1298
|
+
} | undefined, [import("convex/values").VObject<{
|
|
1299
|
+
type: "text";
|
|
1300
|
+
value: string;
|
|
1301
|
+
}, {
|
|
1302
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1303
|
+
value: import("convex/values").VString<string, "required">;
|
|
1304
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
1305
|
+
type: "json";
|
|
1306
|
+
value: any;
|
|
1307
|
+
}, {
|
|
1308
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
1309
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
1310
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
1311
|
+
type: "error-text";
|
|
1312
|
+
value: string;
|
|
1313
|
+
}, {
|
|
1314
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
1315
|
+
value: import("convex/values").VString<string, "required">;
|
|
1316
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
1317
|
+
type: "error-json";
|
|
1318
|
+
value: any;
|
|
1319
|
+
}, {
|
|
1320
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
1321
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
1322
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
1323
|
+
type: "content";
|
|
1324
|
+
value: ({
|
|
1325
|
+
type: "text";
|
|
1326
|
+
text: string;
|
|
1327
|
+
} | {
|
|
1328
|
+
type: "media";
|
|
1329
|
+
data: string;
|
|
1330
|
+
mediaType: string;
|
|
1331
|
+
})[];
|
|
1332
|
+
}, {
|
|
1333
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
1334
|
+
value: import("convex/values").VArray<({
|
|
1335
|
+
type: "text";
|
|
1336
|
+
text: string;
|
|
1337
|
+
} | {
|
|
1338
|
+
type: "media";
|
|
1339
|
+
data: string;
|
|
1340
|
+
mediaType: string;
|
|
1341
|
+
})[], import("convex/values").VUnion<{
|
|
1342
|
+
type: "text";
|
|
1343
|
+
text: string;
|
|
1344
|
+
} | {
|
|
1345
|
+
type: "media";
|
|
1346
|
+
data: string;
|
|
1347
|
+
mediaType: string;
|
|
1348
|
+
}, [import("convex/values").VObject<{
|
|
1349
|
+
type: "text";
|
|
1350
|
+
text: string;
|
|
1351
|
+
}, {
|
|
1352
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1353
|
+
text: import("convex/values").VString<string, "required">;
|
|
1354
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
1355
|
+
type: "media";
|
|
1356
|
+
data: string;
|
|
1357
|
+
mediaType: string;
|
|
1358
|
+
}, {
|
|
1359
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
1360
|
+
data: import("convex/values").VString<string, "required">;
|
|
1361
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
1362
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
1363
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
1070
1364
|
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>;
|
|
1071
1365
|
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>;
|
|
1072
1366
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1367
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
1073
1368
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1074
1369
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
1075
1370
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -1101,7 +1396,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1101
1396
|
data: import("convex/values").VString<string, "required">;
|
|
1102
1397
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1103
1398
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1104
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
1399
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
|
|
1105
1400
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1106
1401
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1107
1402
|
id: string;
|
|
@@ -1116,8 +1411,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1116
1411
|
id: string;
|
|
1117
1412
|
title: string;
|
|
1118
1413
|
type: "source";
|
|
1119
|
-
sourceType: "document";
|
|
1120
1414
|
mediaType: string;
|
|
1415
|
+
sourceType: "document";
|
|
1121
1416
|
}, [import("convex/values").VObject<{
|
|
1122
1417
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1123
1418
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1141,8 +1436,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1141
1436
|
id: string;
|
|
1142
1437
|
title: string;
|
|
1143
1438
|
type: "source";
|
|
1144
|
-
sourceType: "document";
|
|
1145
1439
|
mediaType: string;
|
|
1440
|
+
sourceType: "document";
|
|
1146
1441
|
}, {
|
|
1147
1442
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
1148
1443
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -1152,7 +1447,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1152
1447
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1153
1448
|
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>;
|
|
1154
1449
|
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>;
|
|
1155
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
1450
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "mediaType" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}` | "sourceType" | "url">, "required">], "required", never>;
|
|
1156
1451
|
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>;
|
|
1157
1452
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1158
1453
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1162,6 +1457,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1162
1457
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1163
1458
|
args?: any;
|
|
1164
1459
|
providerExecuted?: boolean | undefined;
|
|
1460
|
+
output?: {
|
|
1461
|
+
type: "text";
|
|
1462
|
+
value: string;
|
|
1463
|
+
} | {
|
|
1464
|
+
type: "json";
|
|
1465
|
+
value: any;
|
|
1466
|
+
} | {
|
|
1467
|
+
type: "error-text";
|
|
1468
|
+
value: string;
|
|
1469
|
+
} | {
|
|
1470
|
+
type: "error-json";
|
|
1471
|
+
value: any;
|
|
1472
|
+
} | {
|
|
1473
|
+
type: "content";
|
|
1474
|
+
value: ({
|
|
1475
|
+
type: "text";
|
|
1476
|
+
text: string;
|
|
1477
|
+
} | {
|
|
1478
|
+
type: "media";
|
|
1479
|
+
data: string;
|
|
1480
|
+
mediaType: string;
|
|
1481
|
+
})[];
|
|
1482
|
+
} | undefined;
|
|
1483
|
+
result?: any;
|
|
1165
1484
|
isError?: boolean | undefined;
|
|
1166
1485
|
experimental_content?: ({
|
|
1167
1486
|
type: "text";
|
|
@@ -1174,7 +1493,6 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1174
1493
|
type: "tool-result";
|
|
1175
1494
|
toolCallId: string;
|
|
1176
1495
|
toolName: string;
|
|
1177
|
-
result: any;
|
|
1178
1496
|
}[];
|
|
1179
1497
|
}, {
|
|
1180
1498
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
@@ -1183,6 +1501,30 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1183
1501
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1184
1502
|
args?: any;
|
|
1185
1503
|
providerExecuted?: boolean | undefined;
|
|
1504
|
+
output?: {
|
|
1505
|
+
type: "text";
|
|
1506
|
+
value: string;
|
|
1507
|
+
} | {
|
|
1508
|
+
type: "json";
|
|
1509
|
+
value: any;
|
|
1510
|
+
} | {
|
|
1511
|
+
type: "error-text";
|
|
1512
|
+
value: string;
|
|
1513
|
+
} | {
|
|
1514
|
+
type: "error-json";
|
|
1515
|
+
value: any;
|
|
1516
|
+
} | {
|
|
1517
|
+
type: "content";
|
|
1518
|
+
value: ({
|
|
1519
|
+
type: "text";
|
|
1520
|
+
text: string;
|
|
1521
|
+
} | {
|
|
1522
|
+
type: "media";
|
|
1523
|
+
data: string;
|
|
1524
|
+
mediaType: string;
|
|
1525
|
+
})[];
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
result?: any;
|
|
1186
1528
|
isError?: boolean | undefined;
|
|
1187
1529
|
experimental_content?: ({
|
|
1188
1530
|
type: "text";
|
|
@@ -1195,12 +1537,35 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1195
1537
|
type: "tool-result";
|
|
1196
1538
|
toolCallId: string;
|
|
1197
1539
|
toolName: string;
|
|
1198
|
-
result: any;
|
|
1199
1540
|
}[], import("convex/values").VObject<{
|
|
1200
1541
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1201
1542
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1202
1543
|
args?: any;
|
|
1203
1544
|
providerExecuted?: boolean | undefined;
|
|
1545
|
+
output?: {
|
|
1546
|
+
type: "text";
|
|
1547
|
+
value: string;
|
|
1548
|
+
} | {
|
|
1549
|
+
type: "json";
|
|
1550
|
+
value: any;
|
|
1551
|
+
} | {
|
|
1552
|
+
type: "error-text";
|
|
1553
|
+
value: string;
|
|
1554
|
+
} | {
|
|
1555
|
+
type: "error-json";
|
|
1556
|
+
value: any;
|
|
1557
|
+
} | {
|
|
1558
|
+
type: "content";
|
|
1559
|
+
value: ({
|
|
1560
|
+
type: "text";
|
|
1561
|
+
text: string;
|
|
1562
|
+
} | {
|
|
1563
|
+
type: "media";
|
|
1564
|
+
data: string;
|
|
1565
|
+
mediaType: string;
|
|
1566
|
+
})[];
|
|
1567
|
+
} | undefined;
|
|
1568
|
+
result?: any;
|
|
1204
1569
|
isError?: boolean | undefined;
|
|
1205
1570
|
experimental_content?: ({
|
|
1206
1571
|
type: "text";
|
|
@@ -1213,15 +1578,102 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1213
1578
|
type: "tool-result";
|
|
1214
1579
|
toolCallId: string;
|
|
1215
1580
|
toolName: string;
|
|
1216
|
-
result: any;
|
|
1217
1581
|
}, {
|
|
1218
1582
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
1219
1583
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
1220
1584
|
toolName: import("convex/values").VString<string, "required">;
|
|
1221
|
-
|
|
1585
|
+
output: import("convex/values").VUnion<{
|
|
1586
|
+
type: "text";
|
|
1587
|
+
value: string;
|
|
1588
|
+
} | {
|
|
1589
|
+
type: "json";
|
|
1590
|
+
value: any;
|
|
1591
|
+
} | {
|
|
1592
|
+
type: "error-text";
|
|
1593
|
+
value: string;
|
|
1594
|
+
} | {
|
|
1595
|
+
type: "error-json";
|
|
1596
|
+
value: any;
|
|
1597
|
+
} | {
|
|
1598
|
+
type: "content";
|
|
1599
|
+
value: ({
|
|
1600
|
+
type: "text";
|
|
1601
|
+
text: string;
|
|
1602
|
+
} | {
|
|
1603
|
+
type: "media";
|
|
1604
|
+
data: string;
|
|
1605
|
+
mediaType: string;
|
|
1606
|
+
})[];
|
|
1607
|
+
} | undefined, [import("convex/values").VObject<{
|
|
1608
|
+
type: "text";
|
|
1609
|
+
value: string;
|
|
1610
|
+
}, {
|
|
1611
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1612
|
+
value: import("convex/values").VString<string, "required">;
|
|
1613
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
1614
|
+
type: "json";
|
|
1615
|
+
value: any;
|
|
1616
|
+
}, {
|
|
1617
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
1618
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
1619
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
1620
|
+
type: "error-text";
|
|
1621
|
+
value: string;
|
|
1622
|
+
}, {
|
|
1623
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
1624
|
+
value: import("convex/values").VString<string, "required">;
|
|
1625
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
1626
|
+
type: "error-json";
|
|
1627
|
+
value: any;
|
|
1628
|
+
}, {
|
|
1629
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
1630
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
1631
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
1632
|
+
type: "content";
|
|
1633
|
+
value: ({
|
|
1634
|
+
type: "text";
|
|
1635
|
+
text: string;
|
|
1636
|
+
} | {
|
|
1637
|
+
type: "media";
|
|
1638
|
+
data: string;
|
|
1639
|
+
mediaType: string;
|
|
1640
|
+
})[];
|
|
1641
|
+
}, {
|
|
1642
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
1643
|
+
value: import("convex/values").VArray<({
|
|
1644
|
+
type: "text";
|
|
1645
|
+
text: string;
|
|
1646
|
+
} | {
|
|
1647
|
+
type: "media";
|
|
1648
|
+
data: string;
|
|
1649
|
+
mediaType: string;
|
|
1650
|
+
})[], import("convex/values").VUnion<{
|
|
1651
|
+
type: "text";
|
|
1652
|
+
text: string;
|
|
1653
|
+
} | {
|
|
1654
|
+
type: "media";
|
|
1655
|
+
data: string;
|
|
1656
|
+
mediaType: string;
|
|
1657
|
+
}, [import("convex/values").VObject<{
|
|
1658
|
+
type: "text";
|
|
1659
|
+
text: string;
|
|
1660
|
+
}, {
|
|
1661
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
1662
|
+
text: import("convex/values").VString<string, "required">;
|
|
1663
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
1664
|
+
type: "media";
|
|
1665
|
+
data: string;
|
|
1666
|
+
mediaType: string;
|
|
1667
|
+
}, {
|
|
1668
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
1669
|
+
data: import("convex/values").VString<string, "required">;
|
|
1670
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
1671
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
1672
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
1222
1673
|
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>;
|
|
1223
1674
|
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>;
|
|
1224
1675
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1676
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
1225
1677
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
1226
1678
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
1227
1679
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -1253,7 +1705,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1253
1705
|
data: import("convex/values").VString<string, "required">;
|
|
1254
1706
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
1255
1707
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
1256
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
1708
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, "required">;
|
|
1257
1709
|
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>;
|
|
1258
1710
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
1259
1711
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -1295,8 +1747,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1295
1747
|
id: string;
|
|
1296
1748
|
title: string;
|
|
1297
1749
|
type: "source";
|
|
1298
|
-
sourceType: "document";
|
|
1299
1750
|
mediaType: string;
|
|
1751
|
+
sourceType: "document";
|
|
1300
1752
|
})[] | undefined, import("convex/values").VUnion<{
|
|
1301
1753
|
title?: string | undefined;
|
|
1302
1754
|
type?: "source" | undefined;
|
|
@@ -1312,8 +1764,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1312
1764
|
id: string;
|
|
1313
1765
|
title: string;
|
|
1314
1766
|
type: "source";
|
|
1315
|
-
sourceType: "document";
|
|
1316
1767
|
mediaType: string;
|
|
1768
|
+
sourceType: "document";
|
|
1317
1769
|
}, [import("convex/values").VObject<{
|
|
1318
1770
|
title?: string | undefined;
|
|
1319
1771
|
type?: "source" | undefined;
|
|
@@ -1337,8 +1789,8 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1337
1789
|
id: string;
|
|
1338
1790
|
title: string;
|
|
1339
1791
|
type: "source";
|
|
1340
|
-
sourceType: "document";
|
|
1341
1792
|
mediaType: string;
|
|
1793
|
+
sourceType: "document";
|
|
1342
1794
|
}, {
|
|
1343
1795
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
1344
1796
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -1348,7 +1800,7 @@ export declare const schema: import("convex/server").SchemaDefinition<{
|
|
|
1348
1800
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
1349
1801
|
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>;
|
|
1350
1802
|
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>;
|
|
1351
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
1803
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">, "optional">;
|
|
1352
1804
|
warnings: import("convex/values").VArray<({
|
|
1353
1805
|
details?: string | undefined;
|
|
1354
1806
|
type: "unsupported-setting";
|
|
@@ -1974,6 +2426,30 @@ export declare const vv: {
|
|
|
1974
2426
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
1975
2427
|
args?: any;
|
|
1976
2428
|
providerExecuted?: boolean | undefined;
|
|
2429
|
+
output?: {
|
|
2430
|
+
type: "text";
|
|
2431
|
+
value: string;
|
|
2432
|
+
} | {
|
|
2433
|
+
type: "json";
|
|
2434
|
+
value: any;
|
|
2435
|
+
} | {
|
|
2436
|
+
type: "error-text";
|
|
2437
|
+
value: string;
|
|
2438
|
+
} | {
|
|
2439
|
+
type: "error-json";
|
|
2440
|
+
value: any;
|
|
2441
|
+
} | {
|
|
2442
|
+
type: "content";
|
|
2443
|
+
value: ({
|
|
2444
|
+
type: "text";
|
|
2445
|
+
text: string;
|
|
2446
|
+
} | {
|
|
2447
|
+
type: "media";
|
|
2448
|
+
data: string;
|
|
2449
|
+
mediaType: string;
|
|
2450
|
+
})[];
|
|
2451
|
+
} | undefined;
|
|
2452
|
+
result?: any;
|
|
1977
2453
|
isError?: boolean | undefined;
|
|
1978
2454
|
experimental_content?: ({
|
|
1979
2455
|
type: "text";
|
|
@@ -1986,7 +2462,6 @@ export declare const vv: {
|
|
|
1986
2462
|
type: "tool-result";
|
|
1987
2463
|
toolCallId: string;
|
|
1988
2464
|
toolName: string;
|
|
1989
|
-
result: any;
|
|
1990
2465
|
} | {
|
|
1991
2466
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
1992
2467
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2002,8 +2477,8 @@ export declare const vv: {
|
|
|
2002
2477
|
id: string;
|
|
2003
2478
|
title: string;
|
|
2004
2479
|
type: "source";
|
|
2005
|
-
sourceType: "document";
|
|
2006
2480
|
mediaType: string;
|
|
2481
|
+
sourceType: "document";
|
|
2007
2482
|
})[];
|
|
2008
2483
|
} | {
|
|
2009
2484
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2013,6 +2488,30 @@ export declare const vv: {
|
|
|
2013
2488
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2014
2489
|
args?: any;
|
|
2015
2490
|
providerExecuted?: boolean | undefined;
|
|
2491
|
+
output?: {
|
|
2492
|
+
type: "text";
|
|
2493
|
+
value: string;
|
|
2494
|
+
} | {
|
|
2495
|
+
type: "json";
|
|
2496
|
+
value: any;
|
|
2497
|
+
} | {
|
|
2498
|
+
type: "error-text";
|
|
2499
|
+
value: string;
|
|
2500
|
+
} | {
|
|
2501
|
+
type: "error-json";
|
|
2502
|
+
value: any;
|
|
2503
|
+
} | {
|
|
2504
|
+
type: "content";
|
|
2505
|
+
value: ({
|
|
2506
|
+
type: "text";
|
|
2507
|
+
text: string;
|
|
2508
|
+
} | {
|
|
2509
|
+
type: "media";
|
|
2510
|
+
data: string;
|
|
2511
|
+
mediaType: string;
|
|
2512
|
+
})[];
|
|
2513
|
+
} | undefined;
|
|
2514
|
+
result?: any;
|
|
2016
2515
|
isError?: boolean | undefined;
|
|
2017
2516
|
experimental_content?: ({
|
|
2018
2517
|
type: "text";
|
|
@@ -2025,7 +2524,6 @@ export declare const vv: {
|
|
|
2025
2524
|
type: "tool-result";
|
|
2026
2525
|
toolCallId: string;
|
|
2027
2526
|
toolName: string;
|
|
2028
|
-
result: any;
|
|
2029
2527
|
}[];
|
|
2030
2528
|
} | {
|
|
2031
2529
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2057,8 +2555,8 @@ export declare const vv: {
|
|
|
2057
2555
|
id: string;
|
|
2058
2556
|
title: string;
|
|
2059
2557
|
type: "source";
|
|
2060
|
-
sourceType: "document";
|
|
2061
2558
|
mediaType: string;
|
|
2559
|
+
sourceType: "document";
|
|
2062
2560
|
})[] | undefined;
|
|
2063
2561
|
warnings?: ({
|
|
2064
2562
|
details?: string | undefined;
|
|
@@ -2590,6 +3088,30 @@ export declare const vv: {
|
|
|
2590
3088
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2591
3089
|
args?: any;
|
|
2592
3090
|
providerExecuted?: boolean | undefined;
|
|
3091
|
+
output?: {
|
|
3092
|
+
type: "text";
|
|
3093
|
+
value: string;
|
|
3094
|
+
} | {
|
|
3095
|
+
type: "json";
|
|
3096
|
+
value: any;
|
|
3097
|
+
} | {
|
|
3098
|
+
type: "error-text";
|
|
3099
|
+
value: string;
|
|
3100
|
+
} | {
|
|
3101
|
+
type: "error-json";
|
|
3102
|
+
value: any;
|
|
3103
|
+
} | {
|
|
3104
|
+
type: "content";
|
|
3105
|
+
value: ({
|
|
3106
|
+
type: "text";
|
|
3107
|
+
text: string;
|
|
3108
|
+
} | {
|
|
3109
|
+
type: "media";
|
|
3110
|
+
data: string;
|
|
3111
|
+
mediaType: string;
|
|
3112
|
+
})[];
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
result?: any;
|
|
2593
3115
|
isError?: boolean | undefined;
|
|
2594
3116
|
experimental_content?: ({
|
|
2595
3117
|
type: "text";
|
|
@@ -2602,7 +3124,6 @@ export declare const vv: {
|
|
|
2602
3124
|
type: "tool-result";
|
|
2603
3125
|
toolCallId: string;
|
|
2604
3126
|
toolName: string;
|
|
2605
|
-
result: any;
|
|
2606
3127
|
} | {
|
|
2607
3128
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
2608
3129
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2618,8 +3139,8 @@ export declare const vv: {
|
|
|
2618
3139
|
id: string;
|
|
2619
3140
|
title: string;
|
|
2620
3141
|
type: "source";
|
|
2621
|
-
sourceType: "document";
|
|
2622
3142
|
mediaType: string;
|
|
3143
|
+
sourceType: "document";
|
|
2623
3144
|
})[];
|
|
2624
3145
|
} | {
|
|
2625
3146
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2629,6 +3150,30 @@ export declare const vv: {
|
|
|
2629
3150
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
2630
3151
|
args?: any;
|
|
2631
3152
|
providerExecuted?: boolean | undefined;
|
|
3153
|
+
output?: {
|
|
3154
|
+
type: "text";
|
|
3155
|
+
value: string;
|
|
3156
|
+
} | {
|
|
3157
|
+
type: "json";
|
|
3158
|
+
value: any;
|
|
3159
|
+
} | {
|
|
3160
|
+
type: "error-text";
|
|
3161
|
+
value: string;
|
|
3162
|
+
} | {
|
|
3163
|
+
type: "error-json";
|
|
3164
|
+
value: any;
|
|
3165
|
+
} | {
|
|
3166
|
+
type: "content";
|
|
3167
|
+
value: ({
|
|
3168
|
+
type: "text";
|
|
3169
|
+
text: string;
|
|
3170
|
+
} | {
|
|
3171
|
+
type: "media";
|
|
3172
|
+
data: string;
|
|
3173
|
+
mediaType: string;
|
|
3174
|
+
})[];
|
|
3175
|
+
} | undefined;
|
|
3176
|
+
result?: any;
|
|
2632
3177
|
isError?: boolean | undefined;
|
|
2633
3178
|
experimental_content?: ({
|
|
2634
3179
|
type: "text";
|
|
@@ -2641,7 +3186,6 @@ export declare const vv: {
|
|
|
2641
3186
|
type: "tool-result";
|
|
2642
3187
|
toolCallId: string;
|
|
2643
3188
|
toolName: string;
|
|
2644
|
-
result: any;
|
|
2645
3189
|
}[];
|
|
2646
3190
|
} | {
|
|
2647
3191
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -2673,8 +3217,8 @@ export declare const vv: {
|
|
|
2673
3217
|
id: string;
|
|
2674
3218
|
title: string;
|
|
2675
3219
|
type: "source";
|
|
2676
|
-
sourceType: "document";
|
|
2677
3220
|
mediaType: string;
|
|
3221
|
+
sourceType: "document";
|
|
2678
3222
|
})[] | undefined;
|
|
2679
3223
|
warnings?: ({
|
|
2680
3224
|
details?: string | undefined;
|
|
@@ -3166,6 +3710,30 @@ export declare const vv: {
|
|
|
3166
3710
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3167
3711
|
args?: any;
|
|
3168
3712
|
providerExecuted?: boolean | undefined;
|
|
3713
|
+
output?: {
|
|
3714
|
+
type: "text";
|
|
3715
|
+
value: string;
|
|
3716
|
+
} | {
|
|
3717
|
+
type: "json";
|
|
3718
|
+
value: any;
|
|
3719
|
+
} | {
|
|
3720
|
+
type: "error-text";
|
|
3721
|
+
value: string;
|
|
3722
|
+
} | {
|
|
3723
|
+
type: "error-json";
|
|
3724
|
+
value: any;
|
|
3725
|
+
} | {
|
|
3726
|
+
type: "content";
|
|
3727
|
+
value: ({
|
|
3728
|
+
type: "text";
|
|
3729
|
+
text: string;
|
|
3730
|
+
} | {
|
|
3731
|
+
type: "media";
|
|
3732
|
+
data: string;
|
|
3733
|
+
mediaType: string;
|
|
3734
|
+
})[];
|
|
3735
|
+
} | undefined;
|
|
3736
|
+
result?: any;
|
|
3169
3737
|
isError?: boolean | undefined;
|
|
3170
3738
|
experimental_content?: ({
|
|
3171
3739
|
type: "text";
|
|
@@ -3178,7 +3746,6 @@ export declare const vv: {
|
|
|
3178
3746
|
type: "tool-result";
|
|
3179
3747
|
toolCallId: string;
|
|
3180
3748
|
toolName: string;
|
|
3181
|
-
result: any;
|
|
3182
3749
|
} | {
|
|
3183
3750
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3184
3751
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3194,8 +3761,8 @@ export declare const vv: {
|
|
|
3194
3761
|
id: string;
|
|
3195
3762
|
title: string;
|
|
3196
3763
|
type: "source";
|
|
3197
|
-
sourceType: "document";
|
|
3198
3764
|
mediaType: string;
|
|
3765
|
+
sourceType: "document";
|
|
3199
3766
|
})[];
|
|
3200
3767
|
} | {
|
|
3201
3768
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3205,6 +3772,30 @@ export declare const vv: {
|
|
|
3205
3772
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3206
3773
|
args?: any;
|
|
3207
3774
|
providerExecuted?: boolean | undefined;
|
|
3775
|
+
output?: {
|
|
3776
|
+
type: "text";
|
|
3777
|
+
value: string;
|
|
3778
|
+
} | {
|
|
3779
|
+
type: "json";
|
|
3780
|
+
value: any;
|
|
3781
|
+
} | {
|
|
3782
|
+
type: "error-text";
|
|
3783
|
+
value: string;
|
|
3784
|
+
} | {
|
|
3785
|
+
type: "error-json";
|
|
3786
|
+
value: any;
|
|
3787
|
+
} | {
|
|
3788
|
+
type: "content";
|
|
3789
|
+
value: ({
|
|
3790
|
+
type: "text";
|
|
3791
|
+
text: string;
|
|
3792
|
+
} | {
|
|
3793
|
+
type: "media";
|
|
3794
|
+
data: string;
|
|
3795
|
+
mediaType: string;
|
|
3796
|
+
})[];
|
|
3797
|
+
} | undefined;
|
|
3798
|
+
result?: any;
|
|
3208
3799
|
isError?: boolean | undefined;
|
|
3209
3800
|
experimental_content?: ({
|
|
3210
3801
|
type: "text";
|
|
@@ -3217,7 +3808,6 @@ export declare const vv: {
|
|
|
3217
3808
|
type: "tool-result";
|
|
3218
3809
|
toolCallId: string;
|
|
3219
3810
|
toolName: string;
|
|
3220
|
-
result: any;
|
|
3221
3811
|
}[];
|
|
3222
3812
|
} | {
|
|
3223
3813
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3249,8 +3839,8 @@ export declare const vv: {
|
|
|
3249
3839
|
id: string;
|
|
3250
3840
|
title: string;
|
|
3251
3841
|
type: "source";
|
|
3252
|
-
sourceType: "document";
|
|
3253
3842
|
mediaType: string;
|
|
3843
|
+
sourceType: "document";
|
|
3254
3844
|
})[] | undefined;
|
|
3255
3845
|
warnings?: ({
|
|
3256
3846
|
details?: string | undefined;
|
|
@@ -3359,6 +3949,30 @@ export declare const vv: {
|
|
|
3359
3949
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3360
3950
|
args?: any;
|
|
3361
3951
|
providerExecuted?: boolean | undefined;
|
|
3952
|
+
output?: {
|
|
3953
|
+
type: "text";
|
|
3954
|
+
value: string;
|
|
3955
|
+
} | {
|
|
3956
|
+
type: "json";
|
|
3957
|
+
value: any;
|
|
3958
|
+
} | {
|
|
3959
|
+
type: "error-text";
|
|
3960
|
+
value: string;
|
|
3961
|
+
} | {
|
|
3962
|
+
type: "error-json";
|
|
3963
|
+
value: any;
|
|
3964
|
+
} | {
|
|
3965
|
+
type: "content";
|
|
3966
|
+
value: ({
|
|
3967
|
+
type: "text";
|
|
3968
|
+
text: string;
|
|
3969
|
+
} | {
|
|
3970
|
+
type: "media";
|
|
3971
|
+
data: string;
|
|
3972
|
+
mediaType: string;
|
|
3973
|
+
})[];
|
|
3974
|
+
} | undefined;
|
|
3975
|
+
result?: any;
|
|
3362
3976
|
isError?: boolean | undefined;
|
|
3363
3977
|
experimental_content?: ({
|
|
3364
3978
|
type: "text";
|
|
@@ -3371,7 +3985,6 @@ export declare const vv: {
|
|
|
3371
3985
|
type: "tool-result";
|
|
3372
3986
|
toolCallId: string;
|
|
3373
3987
|
toolName: string;
|
|
3374
|
-
result: any;
|
|
3375
3988
|
} | {
|
|
3376
3989
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3377
3990
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3387,8 +4000,8 @@ export declare const vv: {
|
|
|
3387
4000
|
id: string;
|
|
3388
4001
|
title: string;
|
|
3389
4002
|
type: "source";
|
|
3390
|
-
sourceType: "document";
|
|
3391
4003
|
mediaType: string;
|
|
4004
|
+
sourceType: "document";
|
|
3392
4005
|
})[];
|
|
3393
4006
|
} | {
|
|
3394
4007
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3398,6 +4011,30 @@ export declare const vv: {
|
|
|
3398
4011
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3399
4012
|
args?: any;
|
|
3400
4013
|
providerExecuted?: boolean | undefined;
|
|
4014
|
+
output?: {
|
|
4015
|
+
type: "text";
|
|
4016
|
+
value: string;
|
|
4017
|
+
} | {
|
|
4018
|
+
type: "json";
|
|
4019
|
+
value: any;
|
|
4020
|
+
} | {
|
|
4021
|
+
type: "error-text";
|
|
4022
|
+
value: string;
|
|
4023
|
+
} | {
|
|
4024
|
+
type: "error-json";
|
|
4025
|
+
value: any;
|
|
4026
|
+
} | {
|
|
4027
|
+
type: "content";
|
|
4028
|
+
value: ({
|
|
4029
|
+
type: "text";
|
|
4030
|
+
text: string;
|
|
4031
|
+
} | {
|
|
4032
|
+
type: "media";
|
|
4033
|
+
data: string;
|
|
4034
|
+
mediaType: string;
|
|
4035
|
+
})[];
|
|
4036
|
+
} | undefined;
|
|
4037
|
+
result?: any;
|
|
3401
4038
|
isError?: boolean | undefined;
|
|
3402
4039
|
experimental_content?: ({
|
|
3403
4040
|
type: "text";
|
|
@@ -3410,7 +4047,6 @@ export declare const vv: {
|
|
|
3410
4047
|
type: "tool-result";
|
|
3411
4048
|
toolCallId: string;
|
|
3412
4049
|
toolName: string;
|
|
3413
|
-
result: any;
|
|
3414
4050
|
}[];
|
|
3415
4051
|
} | {
|
|
3416
4052
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3565,6 +4201,30 @@ export declare const vv: {
|
|
|
3565
4201
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3566
4202
|
args?: any;
|
|
3567
4203
|
providerExecuted?: boolean | undefined;
|
|
4204
|
+
output?: {
|
|
4205
|
+
type: "text";
|
|
4206
|
+
value: string;
|
|
4207
|
+
} | {
|
|
4208
|
+
type: "json";
|
|
4209
|
+
value: any;
|
|
4210
|
+
} | {
|
|
4211
|
+
type: "error-text";
|
|
4212
|
+
value: string;
|
|
4213
|
+
} | {
|
|
4214
|
+
type: "error-json";
|
|
4215
|
+
value: any;
|
|
4216
|
+
} | {
|
|
4217
|
+
type: "content";
|
|
4218
|
+
value: ({
|
|
4219
|
+
type: "text";
|
|
4220
|
+
text: string;
|
|
4221
|
+
} | {
|
|
4222
|
+
type: "media";
|
|
4223
|
+
data: string;
|
|
4224
|
+
mediaType: string;
|
|
4225
|
+
})[];
|
|
4226
|
+
} | undefined;
|
|
4227
|
+
result?: any;
|
|
3568
4228
|
isError?: boolean | undefined;
|
|
3569
4229
|
experimental_content?: ({
|
|
3570
4230
|
type: "text";
|
|
@@ -3577,7 +4237,6 @@ export declare const vv: {
|
|
|
3577
4237
|
type: "tool-result";
|
|
3578
4238
|
toolCallId: string;
|
|
3579
4239
|
toolName: string;
|
|
3580
|
-
result: any;
|
|
3581
4240
|
} | {
|
|
3582
4241
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3583
4242
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3593,8 +4252,8 @@ export declare const vv: {
|
|
|
3593
4252
|
id: string;
|
|
3594
4253
|
title: string;
|
|
3595
4254
|
type: "source";
|
|
3596
|
-
sourceType: "document";
|
|
3597
4255
|
mediaType: string;
|
|
4256
|
+
sourceType: "document";
|
|
3598
4257
|
})[];
|
|
3599
4258
|
}, {
|
|
3600
4259
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -3634,6 +4293,30 @@ export declare const vv: {
|
|
|
3634
4293
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3635
4294
|
args?: any;
|
|
3636
4295
|
providerExecuted?: boolean | undefined;
|
|
4296
|
+
output?: {
|
|
4297
|
+
type: "text";
|
|
4298
|
+
value: string;
|
|
4299
|
+
} | {
|
|
4300
|
+
type: "json";
|
|
4301
|
+
value: any;
|
|
4302
|
+
} | {
|
|
4303
|
+
type: "error-text";
|
|
4304
|
+
value: string;
|
|
4305
|
+
} | {
|
|
4306
|
+
type: "error-json";
|
|
4307
|
+
value: any;
|
|
4308
|
+
} | {
|
|
4309
|
+
type: "content";
|
|
4310
|
+
value: ({
|
|
4311
|
+
type: "text";
|
|
4312
|
+
text: string;
|
|
4313
|
+
} | {
|
|
4314
|
+
type: "media";
|
|
4315
|
+
data: string;
|
|
4316
|
+
mediaType: string;
|
|
4317
|
+
})[];
|
|
4318
|
+
} | undefined;
|
|
4319
|
+
result?: any;
|
|
3637
4320
|
isError?: boolean | undefined;
|
|
3638
4321
|
experimental_content?: ({
|
|
3639
4322
|
type: "text";
|
|
@@ -3646,7 +4329,6 @@ export declare const vv: {
|
|
|
3646
4329
|
type: "tool-result";
|
|
3647
4330
|
toolCallId: string;
|
|
3648
4331
|
toolName: string;
|
|
3649
|
-
result: any;
|
|
3650
4332
|
} | {
|
|
3651
4333
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3652
4334
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3662,8 +4344,8 @@ export declare const vv: {
|
|
|
3662
4344
|
id: string;
|
|
3663
4345
|
title: string;
|
|
3664
4346
|
type: "source";
|
|
3665
|
-
sourceType: "document";
|
|
3666
4347
|
mediaType: string;
|
|
4348
|
+
sourceType: "document";
|
|
3667
4349
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
3668
4350
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3669
4351
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3700,6 +4382,30 @@ export declare const vv: {
|
|
|
3700
4382
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3701
4383
|
args?: any;
|
|
3702
4384
|
providerExecuted?: boolean | undefined;
|
|
4385
|
+
output?: {
|
|
4386
|
+
type: "text";
|
|
4387
|
+
value: string;
|
|
4388
|
+
} | {
|
|
4389
|
+
type: "json";
|
|
4390
|
+
value: any;
|
|
4391
|
+
} | {
|
|
4392
|
+
type: "error-text";
|
|
4393
|
+
value: string;
|
|
4394
|
+
} | {
|
|
4395
|
+
type: "error-json";
|
|
4396
|
+
value: any;
|
|
4397
|
+
} | {
|
|
4398
|
+
type: "content";
|
|
4399
|
+
value: ({
|
|
4400
|
+
type: "text";
|
|
4401
|
+
text: string;
|
|
4402
|
+
} | {
|
|
4403
|
+
type: "media";
|
|
4404
|
+
data: string;
|
|
4405
|
+
mediaType: string;
|
|
4406
|
+
})[];
|
|
4407
|
+
} | undefined;
|
|
4408
|
+
result?: any;
|
|
3703
4409
|
isError?: boolean | undefined;
|
|
3704
4410
|
experimental_content?: ({
|
|
3705
4411
|
type: "text";
|
|
@@ -3712,7 +4418,6 @@ export declare const vv: {
|
|
|
3712
4418
|
type: "tool-result";
|
|
3713
4419
|
toolCallId: string;
|
|
3714
4420
|
toolName: string;
|
|
3715
|
-
result: any;
|
|
3716
4421
|
} | {
|
|
3717
4422
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3718
4423
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3728,8 +4433,8 @@ export declare const vv: {
|
|
|
3728
4433
|
id: string;
|
|
3729
4434
|
title: string;
|
|
3730
4435
|
type: "source";
|
|
3731
|
-
sourceType: "document";
|
|
3732
4436
|
mediaType: string;
|
|
4437
|
+
sourceType: "document";
|
|
3733
4438
|
})[], import("convex/values").VUnion<{
|
|
3734
4439
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3735
4440
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3766,6 +4471,30 @@ export declare const vv: {
|
|
|
3766
4471
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3767
4472
|
args?: any;
|
|
3768
4473
|
providerExecuted?: boolean | undefined;
|
|
4474
|
+
output?: {
|
|
4475
|
+
type: "text";
|
|
4476
|
+
value: string;
|
|
4477
|
+
} | {
|
|
4478
|
+
type: "json";
|
|
4479
|
+
value: any;
|
|
4480
|
+
} | {
|
|
4481
|
+
type: "error-text";
|
|
4482
|
+
value: string;
|
|
4483
|
+
} | {
|
|
4484
|
+
type: "error-json";
|
|
4485
|
+
value: any;
|
|
4486
|
+
} | {
|
|
4487
|
+
type: "content";
|
|
4488
|
+
value: ({
|
|
4489
|
+
type: "text";
|
|
4490
|
+
text: string;
|
|
4491
|
+
} | {
|
|
4492
|
+
type: "media";
|
|
4493
|
+
data: string;
|
|
4494
|
+
mediaType: string;
|
|
4495
|
+
})[];
|
|
4496
|
+
} | undefined;
|
|
4497
|
+
result?: any;
|
|
3769
4498
|
isError?: boolean | undefined;
|
|
3770
4499
|
experimental_content?: ({
|
|
3771
4500
|
type: "text";
|
|
@@ -3778,7 +4507,6 @@ export declare const vv: {
|
|
|
3778
4507
|
type: "tool-result";
|
|
3779
4508
|
toolCallId: string;
|
|
3780
4509
|
toolName: string;
|
|
3781
|
-
result: any;
|
|
3782
4510
|
} | {
|
|
3783
4511
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3784
4512
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3794,8 +4522,8 @@ export declare const vv: {
|
|
|
3794
4522
|
id: string;
|
|
3795
4523
|
title: string;
|
|
3796
4524
|
type: "source";
|
|
3797
|
-
sourceType: "document";
|
|
3798
4525
|
mediaType: string;
|
|
4526
|
+
sourceType: "document";
|
|
3799
4527
|
}, [import("convex/values").VObject<{
|
|
3800
4528
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3801
4529
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3863,6 +4591,30 @@ export declare const vv: {
|
|
|
3863
4591
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3864
4592
|
args?: any;
|
|
3865
4593
|
providerExecuted?: boolean | undefined;
|
|
4594
|
+
output?: {
|
|
4595
|
+
type: "text";
|
|
4596
|
+
value: string;
|
|
4597
|
+
} | {
|
|
4598
|
+
type: "json";
|
|
4599
|
+
value: any;
|
|
4600
|
+
} | {
|
|
4601
|
+
type: "error-text";
|
|
4602
|
+
value: string;
|
|
4603
|
+
} | {
|
|
4604
|
+
type: "error-json";
|
|
4605
|
+
value: any;
|
|
4606
|
+
} | {
|
|
4607
|
+
type: "content";
|
|
4608
|
+
value: ({
|
|
4609
|
+
type: "text";
|
|
4610
|
+
text: string;
|
|
4611
|
+
} | {
|
|
4612
|
+
type: "media";
|
|
4613
|
+
data: string;
|
|
4614
|
+
mediaType: string;
|
|
4615
|
+
})[];
|
|
4616
|
+
} | undefined;
|
|
4617
|
+
result?: any;
|
|
3866
4618
|
isError?: boolean | undefined;
|
|
3867
4619
|
experimental_content?: ({
|
|
3868
4620
|
type: "text";
|
|
@@ -3875,15 +4627,102 @@ export declare const vv: {
|
|
|
3875
4627
|
type: "tool-result";
|
|
3876
4628
|
toolCallId: string;
|
|
3877
4629
|
toolName: string;
|
|
3878
|
-
result: any;
|
|
3879
4630
|
}, {
|
|
3880
4631
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
3881
4632
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
3882
4633
|
toolName: import("convex/values").VString<string, "required">;
|
|
3883
|
-
|
|
4634
|
+
output: import("convex/values").VUnion<{
|
|
4635
|
+
type: "text";
|
|
4636
|
+
value: string;
|
|
4637
|
+
} | {
|
|
4638
|
+
type: "json";
|
|
4639
|
+
value: any;
|
|
4640
|
+
} | {
|
|
4641
|
+
type: "error-text";
|
|
4642
|
+
value: string;
|
|
4643
|
+
} | {
|
|
4644
|
+
type: "error-json";
|
|
4645
|
+
value: any;
|
|
4646
|
+
} | {
|
|
4647
|
+
type: "content";
|
|
4648
|
+
value: ({
|
|
4649
|
+
type: "text";
|
|
4650
|
+
text: string;
|
|
4651
|
+
} | {
|
|
4652
|
+
type: "media";
|
|
4653
|
+
data: string;
|
|
4654
|
+
mediaType: string;
|
|
4655
|
+
})[];
|
|
4656
|
+
} | undefined, [import("convex/values").VObject<{
|
|
4657
|
+
type: "text";
|
|
4658
|
+
value: string;
|
|
4659
|
+
}, {
|
|
4660
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
4661
|
+
value: import("convex/values").VString<string, "required">;
|
|
4662
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
4663
|
+
type: "json";
|
|
4664
|
+
value: any;
|
|
4665
|
+
}, {
|
|
4666
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
4667
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
4668
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
4669
|
+
type: "error-text";
|
|
4670
|
+
value: string;
|
|
4671
|
+
}, {
|
|
4672
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
4673
|
+
value: import("convex/values").VString<string, "required">;
|
|
4674
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
4675
|
+
type: "error-json";
|
|
4676
|
+
value: any;
|
|
4677
|
+
}, {
|
|
4678
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
4679
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
4680
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
4681
|
+
type: "content";
|
|
4682
|
+
value: ({
|
|
4683
|
+
type: "text";
|
|
4684
|
+
text: string;
|
|
4685
|
+
} | {
|
|
4686
|
+
type: "media";
|
|
4687
|
+
data: string;
|
|
4688
|
+
mediaType: string;
|
|
4689
|
+
})[];
|
|
4690
|
+
}, {
|
|
4691
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
4692
|
+
value: import("convex/values").VArray<({
|
|
4693
|
+
type: "text";
|
|
4694
|
+
text: string;
|
|
4695
|
+
} | {
|
|
4696
|
+
type: "media";
|
|
4697
|
+
data: string;
|
|
4698
|
+
mediaType: string;
|
|
4699
|
+
})[], import("convex/values").VUnion<{
|
|
4700
|
+
type: "text";
|
|
4701
|
+
text: string;
|
|
4702
|
+
} | {
|
|
4703
|
+
type: "media";
|
|
4704
|
+
data: string;
|
|
4705
|
+
mediaType: string;
|
|
4706
|
+
}, [import("convex/values").VObject<{
|
|
4707
|
+
type: "text";
|
|
4708
|
+
text: string;
|
|
4709
|
+
}, {
|
|
4710
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
4711
|
+
text: import("convex/values").VString<string, "required">;
|
|
4712
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
4713
|
+
type: "media";
|
|
4714
|
+
data: string;
|
|
4715
|
+
mediaType: string;
|
|
4716
|
+
}, {
|
|
4717
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
4718
|
+
data: import("convex/values").VString<string, "required">;
|
|
4719
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
4720
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
4721
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
3884
4722
|
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>;
|
|
3885
4723
|
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>;
|
|
3886
4724
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4725
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
3887
4726
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
3888
4727
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
3889
4728
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -3915,7 +4754,7 @@ export declare const vv: {
|
|
|
3915
4754
|
data: import("convex/values").VString<string, "required">;
|
|
3916
4755
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
3917
4756
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
3918
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
4757
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
|
|
3919
4758
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3920
4759
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3921
4760
|
id: string;
|
|
@@ -3930,8 +4769,8 @@ export declare const vv: {
|
|
|
3930
4769
|
id: string;
|
|
3931
4770
|
title: string;
|
|
3932
4771
|
type: "source";
|
|
3933
|
-
sourceType: "document";
|
|
3934
4772
|
mediaType: string;
|
|
4773
|
+
sourceType: "document";
|
|
3935
4774
|
}, [import("convex/values").VObject<{
|
|
3936
4775
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
3937
4776
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3955,8 +4794,8 @@ export declare const vv: {
|
|
|
3955
4794
|
id: string;
|
|
3956
4795
|
title: string;
|
|
3957
4796
|
type: "source";
|
|
3958
|
-
sourceType: "document";
|
|
3959
4797
|
mediaType: string;
|
|
4798
|
+
sourceType: "document";
|
|
3960
4799
|
}, {
|
|
3961
4800
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
3962
4801
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -3966,7 +4805,7 @@ export declare const vv: {
|
|
|
3966
4805
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
3967
4806
|
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>;
|
|
3968
4807
|
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>;
|
|
3969
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
4808
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "mediaType" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}` | "sourceType" | "url">, "required">], "required", never>;
|
|
3970
4809
|
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>;
|
|
3971
4810
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
3972
4811
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -3976,6 +4815,30 @@ export declare const vv: {
|
|
|
3976
4815
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3977
4816
|
args?: any;
|
|
3978
4817
|
providerExecuted?: boolean | undefined;
|
|
4818
|
+
output?: {
|
|
4819
|
+
type: "text";
|
|
4820
|
+
value: string;
|
|
4821
|
+
} | {
|
|
4822
|
+
type: "json";
|
|
4823
|
+
value: any;
|
|
4824
|
+
} | {
|
|
4825
|
+
type: "error-text";
|
|
4826
|
+
value: string;
|
|
4827
|
+
} | {
|
|
4828
|
+
type: "error-json";
|
|
4829
|
+
value: any;
|
|
4830
|
+
} | {
|
|
4831
|
+
type: "content";
|
|
4832
|
+
value: ({
|
|
4833
|
+
type: "text";
|
|
4834
|
+
text: string;
|
|
4835
|
+
} | {
|
|
4836
|
+
type: "media";
|
|
4837
|
+
data: string;
|
|
4838
|
+
mediaType: string;
|
|
4839
|
+
})[];
|
|
4840
|
+
} | undefined;
|
|
4841
|
+
result?: any;
|
|
3979
4842
|
isError?: boolean | undefined;
|
|
3980
4843
|
experimental_content?: ({
|
|
3981
4844
|
type: "text";
|
|
@@ -3988,7 +4851,6 @@ export declare const vv: {
|
|
|
3988
4851
|
type: "tool-result";
|
|
3989
4852
|
toolCallId: string;
|
|
3990
4853
|
toolName: string;
|
|
3991
|
-
result: any;
|
|
3992
4854
|
}[];
|
|
3993
4855
|
}, {
|
|
3994
4856
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
@@ -3997,6 +4859,30 @@ export declare const vv: {
|
|
|
3997
4859
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
3998
4860
|
args?: any;
|
|
3999
4861
|
providerExecuted?: boolean | undefined;
|
|
4862
|
+
output?: {
|
|
4863
|
+
type: "text";
|
|
4864
|
+
value: string;
|
|
4865
|
+
} | {
|
|
4866
|
+
type: "json";
|
|
4867
|
+
value: any;
|
|
4868
|
+
} | {
|
|
4869
|
+
type: "error-text";
|
|
4870
|
+
value: string;
|
|
4871
|
+
} | {
|
|
4872
|
+
type: "error-json";
|
|
4873
|
+
value: any;
|
|
4874
|
+
} | {
|
|
4875
|
+
type: "content";
|
|
4876
|
+
value: ({
|
|
4877
|
+
type: "text";
|
|
4878
|
+
text: string;
|
|
4879
|
+
} | {
|
|
4880
|
+
type: "media";
|
|
4881
|
+
data: string;
|
|
4882
|
+
mediaType: string;
|
|
4883
|
+
})[];
|
|
4884
|
+
} | undefined;
|
|
4885
|
+
result?: any;
|
|
4000
4886
|
isError?: boolean | undefined;
|
|
4001
4887
|
experimental_content?: ({
|
|
4002
4888
|
type: "text";
|
|
@@ -4009,12 +4895,35 @@ export declare const vv: {
|
|
|
4009
4895
|
type: "tool-result";
|
|
4010
4896
|
toolCallId: string;
|
|
4011
4897
|
toolName: string;
|
|
4012
|
-
result: any;
|
|
4013
4898
|
}[], import("convex/values").VObject<{
|
|
4014
4899
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4015
4900
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4016
4901
|
args?: any;
|
|
4017
4902
|
providerExecuted?: boolean | undefined;
|
|
4903
|
+
output?: {
|
|
4904
|
+
type: "text";
|
|
4905
|
+
value: string;
|
|
4906
|
+
} | {
|
|
4907
|
+
type: "json";
|
|
4908
|
+
value: any;
|
|
4909
|
+
} | {
|
|
4910
|
+
type: "error-text";
|
|
4911
|
+
value: string;
|
|
4912
|
+
} | {
|
|
4913
|
+
type: "error-json";
|
|
4914
|
+
value: any;
|
|
4915
|
+
} | {
|
|
4916
|
+
type: "content";
|
|
4917
|
+
value: ({
|
|
4918
|
+
type: "text";
|
|
4919
|
+
text: string;
|
|
4920
|
+
} | {
|
|
4921
|
+
type: "media";
|
|
4922
|
+
data: string;
|
|
4923
|
+
mediaType: string;
|
|
4924
|
+
})[];
|
|
4925
|
+
} | undefined;
|
|
4926
|
+
result?: any;
|
|
4018
4927
|
isError?: boolean | undefined;
|
|
4019
4928
|
experimental_content?: ({
|
|
4020
4929
|
type: "text";
|
|
@@ -4027,15 +4936,102 @@ export declare const vv: {
|
|
|
4027
4936
|
type: "tool-result";
|
|
4028
4937
|
toolCallId: string;
|
|
4029
4938
|
toolName: string;
|
|
4030
|
-
result: any;
|
|
4031
4939
|
}, {
|
|
4032
4940
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
4033
4941
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
4034
4942
|
toolName: import("convex/values").VString<string, "required">;
|
|
4035
|
-
|
|
4943
|
+
output: import("convex/values").VUnion<{
|
|
4944
|
+
type: "text";
|
|
4945
|
+
value: string;
|
|
4946
|
+
} | {
|
|
4947
|
+
type: "json";
|
|
4948
|
+
value: any;
|
|
4949
|
+
} | {
|
|
4950
|
+
type: "error-text";
|
|
4951
|
+
value: string;
|
|
4952
|
+
} | {
|
|
4953
|
+
type: "error-json";
|
|
4954
|
+
value: any;
|
|
4955
|
+
} | {
|
|
4956
|
+
type: "content";
|
|
4957
|
+
value: ({
|
|
4958
|
+
type: "text";
|
|
4959
|
+
text: string;
|
|
4960
|
+
} | {
|
|
4961
|
+
type: "media";
|
|
4962
|
+
data: string;
|
|
4963
|
+
mediaType: string;
|
|
4964
|
+
})[];
|
|
4965
|
+
} | undefined, [import("convex/values").VObject<{
|
|
4966
|
+
type: "text";
|
|
4967
|
+
value: string;
|
|
4968
|
+
}, {
|
|
4969
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
4970
|
+
value: import("convex/values").VString<string, "required">;
|
|
4971
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
4972
|
+
type: "json";
|
|
4973
|
+
value: any;
|
|
4974
|
+
}, {
|
|
4975
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
4976
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
4977
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
4978
|
+
type: "error-text";
|
|
4979
|
+
value: string;
|
|
4980
|
+
}, {
|
|
4981
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
4982
|
+
value: import("convex/values").VString<string, "required">;
|
|
4983
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
4984
|
+
type: "error-json";
|
|
4985
|
+
value: any;
|
|
4986
|
+
}, {
|
|
4987
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
4988
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
4989
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
4990
|
+
type: "content";
|
|
4991
|
+
value: ({
|
|
4992
|
+
type: "text";
|
|
4993
|
+
text: string;
|
|
4994
|
+
} | {
|
|
4995
|
+
type: "media";
|
|
4996
|
+
data: string;
|
|
4997
|
+
mediaType: string;
|
|
4998
|
+
})[];
|
|
4999
|
+
}, {
|
|
5000
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
5001
|
+
value: import("convex/values").VArray<({
|
|
5002
|
+
type: "text";
|
|
5003
|
+
text: string;
|
|
5004
|
+
} | {
|
|
5005
|
+
type: "media";
|
|
5006
|
+
data: string;
|
|
5007
|
+
mediaType: string;
|
|
5008
|
+
})[], import("convex/values").VUnion<{
|
|
5009
|
+
type: "text";
|
|
5010
|
+
text: string;
|
|
5011
|
+
} | {
|
|
5012
|
+
type: "media";
|
|
5013
|
+
data: string;
|
|
5014
|
+
mediaType: string;
|
|
5015
|
+
}, [import("convex/values").VObject<{
|
|
5016
|
+
type: "text";
|
|
5017
|
+
text: string;
|
|
5018
|
+
}, {
|
|
5019
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
5020
|
+
text: import("convex/values").VString<string, "required">;
|
|
5021
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
5022
|
+
type: "media";
|
|
5023
|
+
data: string;
|
|
5024
|
+
mediaType: string;
|
|
5025
|
+
}, {
|
|
5026
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
5027
|
+
data: import("convex/values").VString<string, "required">;
|
|
5028
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
5029
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
5030
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
4036
5031
|
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>;
|
|
4037
5032
|
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>;
|
|
4038
5033
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5034
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
4039
5035
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
4040
5036
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
4041
5037
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -4067,7 +5063,7 @@ export declare const vv: {
|
|
|
4067
5063
|
data: import("convex/values").VString<string, "required">;
|
|
4068
5064
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
4069
5065
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
4070
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
5066
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, "required">;
|
|
4071
5067
|
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>;
|
|
4072
5068
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
4073
5069
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4109,8 +5105,8 @@ export declare const vv: {
|
|
|
4109
5105
|
id: string;
|
|
4110
5106
|
title: string;
|
|
4111
5107
|
type: "source";
|
|
4112
|
-
sourceType: "document";
|
|
4113
5108
|
mediaType: string;
|
|
5109
|
+
sourceType: "document";
|
|
4114
5110
|
})[] | undefined, import("convex/values").VUnion<{
|
|
4115
5111
|
title?: string | undefined;
|
|
4116
5112
|
type?: "source" | undefined;
|
|
@@ -4126,8 +5122,8 @@ export declare const vv: {
|
|
|
4126
5122
|
id: string;
|
|
4127
5123
|
title: string;
|
|
4128
5124
|
type: "source";
|
|
4129
|
-
sourceType: "document";
|
|
4130
5125
|
mediaType: string;
|
|
5126
|
+
sourceType: "document";
|
|
4131
5127
|
}, [import("convex/values").VObject<{
|
|
4132
5128
|
title?: string | undefined;
|
|
4133
5129
|
type?: "source" | undefined;
|
|
@@ -4151,8 +5147,8 @@ export declare const vv: {
|
|
|
4151
5147
|
id: string;
|
|
4152
5148
|
title: string;
|
|
4153
5149
|
type: "source";
|
|
4154
|
-
sourceType: "document";
|
|
4155
5150
|
mediaType: string;
|
|
5151
|
+
sourceType: "document";
|
|
4156
5152
|
}, {
|
|
4157
5153
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
4158
5154
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -4162,7 +5158,7 @@ export declare const vv: {
|
|
|
4162
5158
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
4163
5159
|
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>;
|
|
4164
5160
|
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>;
|
|
4165
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
5161
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">, "optional">;
|
|
4166
5162
|
warnings: import("convex/values").VArray<({
|
|
4167
5163
|
details?: string | undefined;
|
|
4168
5164
|
type: "unsupported-setting";
|
|
@@ -4501,6 +5497,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4501
5497
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4502
5498
|
args?: any;
|
|
4503
5499
|
providerExecuted?: boolean | undefined;
|
|
5500
|
+
output?: {
|
|
5501
|
+
type: "text";
|
|
5502
|
+
value: string;
|
|
5503
|
+
} | {
|
|
5504
|
+
type: "json";
|
|
5505
|
+
value: any;
|
|
5506
|
+
} | {
|
|
5507
|
+
type: "error-text";
|
|
5508
|
+
value: string;
|
|
5509
|
+
} | {
|
|
5510
|
+
type: "error-json";
|
|
5511
|
+
value: any;
|
|
5512
|
+
} | {
|
|
5513
|
+
type: "content";
|
|
5514
|
+
value: ({
|
|
5515
|
+
type: "text";
|
|
5516
|
+
text: string;
|
|
5517
|
+
} | {
|
|
5518
|
+
type: "media";
|
|
5519
|
+
data: string;
|
|
5520
|
+
mediaType: string;
|
|
5521
|
+
})[];
|
|
5522
|
+
} | undefined;
|
|
5523
|
+
result?: any;
|
|
4504
5524
|
isError?: boolean | undefined;
|
|
4505
5525
|
experimental_content?: ({
|
|
4506
5526
|
type: "text";
|
|
@@ -4513,7 +5533,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4513
5533
|
type: "tool-result";
|
|
4514
5534
|
toolCallId: string;
|
|
4515
5535
|
toolName: string;
|
|
4516
|
-
result: any;
|
|
4517
5536
|
} | {
|
|
4518
5537
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4519
5538
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4529,8 +5548,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4529
5548
|
id: string;
|
|
4530
5549
|
title: string;
|
|
4531
5550
|
type: "source";
|
|
4532
|
-
sourceType: "document";
|
|
4533
5551
|
mediaType: string;
|
|
5552
|
+
sourceType: "document";
|
|
4534
5553
|
})[];
|
|
4535
5554
|
} | {
|
|
4536
5555
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4540,6 +5559,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4540
5559
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4541
5560
|
args?: any;
|
|
4542
5561
|
providerExecuted?: boolean | undefined;
|
|
5562
|
+
output?: {
|
|
5563
|
+
type: "text";
|
|
5564
|
+
value: string;
|
|
5565
|
+
} | {
|
|
5566
|
+
type: "json";
|
|
5567
|
+
value: any;
|
|
5568
|
+
} | {
|
|
5569
|
+
type: "error-text";
|
|
5570
|
+
value: string;
|
|
5571
|
+
} | {
|
|
5572
|
+
type: "error-json";
|
|
5573
|
+
value: any;
|
|
5574
|
+
} | {
|
|
5575
|
+
type: "content";
|
|
5576
|
+
value: ({
|
|
5577
|
+
type: "text";
|
|
5578
|
+
text: string;
|
|
5579
|
+
} | {
|
|
5580
|
+
type: "media";
|
|
5581
|
+
data: string;
|
|
5582
|
+
mediaType: string;
|
|
5583
|
+
})[];
|
|
5584
|
+
} | undefined;
|
|
5585
|
+
result?: any;
|
|
4543
5586
|
isError?: boolean | undefined;
|
|
4544
5587
|
experimental_content?: ({
|
|
4545
5588
|
type: "text";
|
|
@@ -4552,7 +5595,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4552
5595
|
type: "tool-result";
|
|
4553
5596
|
toolCallId: string;
|
|
4554
5597
|
toolName: string;
|
|
4555
|
-
result: any;
|
|
4556
5598
|
}[];
|
|
4557
5599
|
} | {
|
|
4558
5600
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4584,8 +5626,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4584
5626
|
id: string;
|
|
4585
5627
|
title: string;
|
|
4586
5628
|
type: "source";
|
|
4587
|
-
sourceType: "document";
|
|
4588
5629
|
mediaType: string;
|
|
5630
|
+
sourceType: "document";
|
|
4589
5631
|
})[] | undefined;
|
|
4590
5632
|
warnings?: ({
|
|
4591
5633
|
details?: string | undefined;
|
|
@@ -4694,6 +5736,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4694
5736
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4695
5737
|
args?: any;
|
|
4696
5738
|
providerExecuted?: boolean | undefined;
|
|
5739
|
+
output?: {
|
|
5740
|
+
type: "text";
|
|
5741
|
+
value: string;
|
|
5742
|
+
} | {
|
|
5743
|
+
type: "json";
|
|
5744
|
+
value: any;
|
|
5745
|
+
} | {
|
|
5746
|
+
type: "error-text";
|
|
5747
|
+
value: string;
|
|
5748
|
+
} | {
|
|
5749
|
+
type: "error-json";
|
|
5750
|
+
value: any;
|
|
5751
|
+
} | {
|
|
5752
|
+
type: "content";
|
|
5753
|
+
value: ({
|
|
5754
|
+
type: "text";
|
|
5755
|
+
text: string;
|
|
5756
|
+
} | {
|
|
5757
|
+
type: "media";
|
|
5758
|
+
data: string;
|
|
5759
|
+
mediaType: string;
|
|
5760
|
+
})[];
|
|
5761
|
+
} | undefined;
|
|
5762
|
+
result?: any;
|
|
4697
5763
|
isError?: boolean | undefined;
|
|
4698
5764
|
experimental_content?: ({
|
|
4699
5765
|
type: "text";
|
|
@@ -4706,7 +5772,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4706
5772
|
type: "tool-result";
|
|
4707
5773
|
toolCallId: string;
|
|
4708
5774
|
toolName: string;
|
|
4709
|
-
result: any;
|
|
4710
5775
|
} | {
|
|
4711
5776
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4712
5777
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4722,8 +5787,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4722
5787
|
id: string;
|
|
4723
5788
|
title: string;
|
|
4724
5789
|
type: "source";
|
|
4725
|
-
sourceType: "document";
|
|
4726
5790
|
mediaType: string;
|
|
5791
|
+
sourceType: "document";
|
|
4727
5792
|
})[];
|
|
4728
5793
|
} | {
|
|
4729
5794
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4733,6 +5798,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4733
5798
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4734
5799
|
args?: any;
|
|
4735
5800
|
providerExecuted?: boolean | undefined;
|
|
5801
|
+
output?: {
|
|
5802
|
+
type: "text";
|
|
5803
|
+
value: string;
|
|
5804
|
+
} | {
|
|
5805
|
+
type: "json";
|
|
5806
|
+
value: any;
|
|
5807
|
+
} | {
|
|
5808
|
+
type: "error-text";
|
|
5809
|
+
value: string;
|
|
5810
|
+
} | {
|
|
5811
|
+
type: "error-json";
|
|
5812
|
+
value: any;
|
|
5813
|
+
} | {
|
|
5814
|
+
type: "content";
|
|
5815
|
+
value: ({
|
|
5816
|
+
type: "text";
|
|
5817
|
+
text: string;
|
|
5818
|
+
} | {
|
|
5819
|
+
type: "media";
|
|
5820
|
+
data: string;
|
|
5821
|
+
mediaType: string;
|
|
5822
|
+
})[];
|
|
5823
|
+
} | undefined;
|
|
5824
|
+
result?: any;
|
|
4736
5825
|
isError?: boolean | undefined;
|
|
4737
5826
|
experimental_content?: ({
|
|
4738
5827
|
type: "text";
|
|
@@ -4745,7 +5834,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4745
5834
|
type: "tool-result";
|
|
4746
5835
|
toolCallId: string;
|
|
4747
5836
|
toolName: string;
|
|
4748
|
-
result: any;
|
|
4749
5837
|
}[];
|
|
4750
5838
|
} | {
|
|
4751
5839
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4900,6 +5988,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4900
5988
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4901
5989
|
args?: any;
|
|
4902
5990
|
providerExecuted?: boolean | undefined;
|
|
5991
|
+
output?: {
|
|
5992
|
+
type: "text";
|
|
5993
|
+
value: string;
|
|
5994
|
+
} | {
|
|
5995
|
+
type: "json";
|
|
5996
|
+
value: any;
|
|
5997
|
+
} | {
|
|
5998
|
+
type: "error-text";
|
|
5999
|
+
value: string;
|
|
6000
|
+
} | {
|
|
6001
|
+
type: "error-json";
|
|
6002
|
+
value: any;
|
|
6003
|
+
} | {
|
|
6004
|
+
type: "content";
|
|
6005
|
+
value: ({
|
|
6006
|
+
type: "text";
|
|
6007
|
+
text: string;
|
|
6008
|
+
} | {
|
|
6009
|
+
type: "media";
|
|
6010
|
+
data: string;
|
|
6011
|
+
mediaType: string;
|
|
6012
|
+
})[];
|
|
6013
|
+
} | undefined;
|
|
6014
|
+
result?: any;
|
|
4903
6015
|
isError?: boolean | undefined;
|
|
4904
6016
|
experimental_content?: ({
|
|
4905
6017
|
type: "text";
|
|
@@ -4912,7 +6024,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4912
6024
|
type: "tool-result";
|
|
4913
6025
|
toolCallId: string;
|
|
4914
6026
|
toolName: string;
|
|
4915
|
-
result: any;
|
|
4916
6027
|
} | {
|
|
4917
6028
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4918
6029
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4928,8 +6039,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4928
6039
|
id: string;
|
|
4929
6040
|
title: string;
|
|
4930
6041
|
type: "source";
|
|
4931
|
-
sourceType: "document";
|
|
4932
6042
|
mediaType: string;
|
|
6043
|
+
sourceType: "document";
|
|
4933
6044
|
})[];
|
|
4934
6045
|
}, {
|
|
4935
6046
|
role: import("convex/values").VLiteral<"assistant", "required">;
|
|
@@ -4969,6 +6080,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4969
6080
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
4970
6081
|
args?: any;
|
|
4971
6082
|
providerExecuted?: boolean | undefined;
|
|
6083
|
+
output?: {
|
|
6084
|
+
type: "text";
|
|
6085
|
+
value: string;
|
|
6086
|
+
} | {
|
|
6087
|
+
type: "json";
|
|
6088
|
+
value: any;
|
|
6089
|
+
} | {
|
|
6090
|
+
type: "error-text";
|
|
6091
|
+
value: string;
|
|
6092
|
+
} | {
|
|
6093
|
+
type: "error-json";
|
|
6094
|
+
value: any;
|
|
6095
|
+
} | {
|
|
6096
|
+
type: "content";
|
|
6097
|
+
value: ({
|
|
6098
|
+
type: "text";
|
|
6099
|
+
text: string;
|
|
6100
|
+
} | {
|
|
6101
|
+
type: "media";
|
|
6102
|
+
data: string;
|
|
6103
|
+
mediaType: string;
|
|
6104
|
+
})[];
|
|
6105
|
+
} | undefined;
|
|
6106
|
+
result?: any;
|
|
4972
6107
|
isError?: boolean | undefined;
|
|
4973
6108
|
experimental_content?: ({
|
|
4974
6109
|
type: "text";
|
|
@@ -4981,7 +6116,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4981
6116
|
type: "tool-result";
|
|
4982
6117
|
toolCallId: string;
|
|
4983
6118
|
toolName: string;
|
|
4984
|
-
result: any;
|
|
4985
6119
|
} | {
|
|
4986
6120
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
4987
6121
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -4997,8 +6131,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
4997
6131
|
id: string;
|
|
4998
6132
|
title: string;
|
|
4999
6133
|
type: "source";
|
|
5000
|
-
sourceType: "document";
|
|
5001
6134
|
mediaType: string;
|
|
6135
|
+
sourceType: "document";
|
|
5002
6136
|
})[], [import("convex/values").VString<string, "required">, import("convex/values").VArray<({
|
|
5003
6137
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5004
6138
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5035,6 +6169,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5035
6169
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5036
6170
|
args?: any;
|
|
5037
6171
|
providerExecuted?: boolean | undefined;
|
|
6172
|
+
output?: {
|
|
6173
|
+
type: "text";
|
|
6174
|
+
value: string;
|
|
6175
|
+
} | {
|
|
6176
|
+
type: "json";
|
|
6177
|
+
value: any;
|
|
6178
|
+
} | {
|
|
6179
|
+
type: "error-text";
|
|
6180
|
+
value: string;
|
|
6181
|
+
} | {
|
|
6182
|
+
type: "error-json";
|
|
6183
|
+
value: any;
|
|
6184
|
+
} | {
|
|
6185
|
+
type: "content";
|
|
6186
|
+
value: ({
|
|
6187
|
+
type: "text";
|
|
6188
|
+
text: string;
|
|
6189
|
+
} | {
|
|
6190
|
+
type: "media";
|
|
6191
|
+
data: string;
|
|
6192
|
+
mediaType: string;
|
|
6193
|
+
})[];
|
|
6194
|
+
} | undefined;
|
|
6195
|
+
result?: any;
|
|
5038
6196
|
isError?: boolean | undefined;
|
|
5039
6197
|
experimental_content?: ({
|
|
5040
6198
|
type: "text";
|
|
@@ -5047,7 +6205,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5047
6205
|
type: "tool-result";
|
|
5048
6206
|
toolCallId: string;
|
|
5049
6207
|
toolName: string;
|
|
5050
|
-
result: any;
|
|
5051
6208
|
} | {
|
|
5052
6209
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5053
6210
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5063,8 +6220,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5063
6220
|
id: string;
|
|
5064
6221
|
title: string;
|
|
5065
6222
|
type: "source";
|
|
5066
|
-
sourceType: "document";
|
|
5067
6223
|
mediaType: string;
|
|
6224
|
+
sourceType: "document";
|
|
5068
6225
|
})[], import("convex/values").VUnion<{
|
|
5069
6226
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5070
6227
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5101,6 +6258,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5101
6258
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5102
6259
|
args?: any;
|
|
5103
6260
|
providerExecuted?: boolean | undefined;
|
|
6261
|
+
output?: {
|
|
6262
|
+
type: "text";
|
|
6263
|
+
value: string;
|
|
6264
|
+
} | {
|
|
6265
|
+
type: "json";
|
|
6266
|
+
value: any;
|
|
6267
|
+
} | {
|
|
6268
|
+
type: "error-text";
|
|
6269
|
+
value: string;
|
|
6270
|
+
} | {
|
|
6271
|
+
type: "error-json";
|
|
6272
|
+
value: any;
|
|
6273
|
+
} | {
|
|
6274
|
+
type: "content";
|
|
6275
|
+
value: ({
|
|
6276
|
+
type: "text";
|
|
6277
|
+
text: string;
|
|
6278
|
+
} | {
|
|
6279
|
+
type: "media";
|
|
6280
|
+
data: string;
|
|
6281
|
+
mediaType: string;
|
|
6282
|
+
})[];
|
|
6283
|
+
} | undefined;
|
|
6284
|
+
result?: any;
|
|
5104
6285
|
isError?: boolean | undefined;
|
|
5105
6286
|
experimental_content?: ({
|
|
5106
6287
|
type: "text";
|
|
@@ -5113,7 +6294,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5113
6294
|
type: "tool-result";
|
|
5114
6295
|
toolCallId: string;
|
|
5115
6296
|
toolName: string;
|
|
5116
|
-
result: any;
|
|
5117
6297
|
} | {
|
|
5118
6298
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5119
6299
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5129,8 +6309,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5129
6309
|
id: string;
|
|
5130
6310
|
title: string;
|
|
5131
6311
|
type: "source";
|
|
5132
|
-
sourceType: "document";
|
|
5133
6312
|
mediaType: string;
|
|
6313
|
+
sourceType: "document";
|
|
5134
6314
|
}, [import("convex/values").VObject<{
|
|
5135
6315
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5136
6316
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5198,6 +6378,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5198
6378
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5199
6379
|
args?: any;
|
|
5200
6380
|
providerExecuted?: boolean | undefined;
|
|
6381
|
+
output?: {
|
|
6382
|
+
type: "text";
|
|
6383
|
+
value: string;
|
|
6384
|
+
} | {
|
|
6385
|
+
type: "json";
|
|
6386
|
+
value: any;
|
|
6387
|
+
} | {
|
|
6388
|
+
type: "error-text";
|
|
6389
|
+
value: string;
|
|
6390
|
+
} | {
|
|
6391
|
+
type: "error-json";
|
|
6392
|
+
value: any;
|
|
6393
|
+
} | {
|
|
6394
|
+
type: "content";
|
|
6395
|
+
value: ({
|
|
6396
|
+
type: "text";
|
|
6397
|
+
text: string;
|
|
6398
|
+
} | {
|
|
6399
|
+
type: "media";
|
|
6400
|
+
data: string;
|
|
6401
|
+
mediaType: string;
|
|
6402
|
+
})[];
|
|
6403
|
+
} | undefined;
|
|
6404
|
+
result?: any;
|
|
5201
6405
|
isError?: boolean | undefined;
|
|
5202
6406
|
experimental_content?: ({
|
|
5203
6407
|
type: "text";
|
|
@@ -5210,15 +6414,102 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5210
6414
|
type: "tool-result";
|
|
5211
6415
|
toolCallId: string;
|
|
5212
6416
|
toolName: string;
|
|
5213
|
-
result: any;
|
|
5214
6417
|
}, {
|
|
5215
6418
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
5216
6419
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
5217
6420
|
toolName: import("convex/values").VString<string, "required">;
|
|
5218
|
-
|
|
6421
|
+
output: import("convex/values").VUnion<{
|
|
6422
|
+
type: "text";
|
|
6423
|
+
value: string;
|
|
6424
|
+
} | {
|
|
6425
|
+
type: "json";
|
|
6426
|
+
value: any;
|
|
6427
|
+
} | {
|
|
6428
|
+
type: "error-text";
|
|
6429
|
+
value: string;
|
|
6430
|
+
} | {
|
|
6431
|
+
type: "error-json";
|
|
6432
|
+
value: any;
|
|
6433
|
+
} | {
|
|
6434
|
+
type: "content";
|
|
6435
|
+
value: ({
|
|
6436
|
+
type: "text";
|
|
6437
|
+
text: string;
|
|
6438
|
+
} | {
|
|
6439
|
+
type: "media";
|
|
6440
|
+
data: string;
|
|
6441
|
+
mediaType: string;
|
|
6442
|
+
})[];
|
|
6443
|
+
} | undefined, [import("convex/values").VObject<{
|
|
6444
|
+
type: "text";
|
|
6445
|
+
value: string;
|
|
6446
|
+
}, {
|
|
6447
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
6448
|
+
value: import("convex/values").VString<string, "required">;
|
|
6449
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
6450
|
+
type: "json";
|
|
6451
|
+
value: any;
|
|
6452
|
+
}, {
|
|
6453
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
6454
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
6455
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
6456
|
+
type: "error-text";
|
|
6457
|
+
value: string;
|
|
6458
|
+
}, {
|
|
6459
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
6460
|
+
value: import("convex/values").VString<string, "required">;
|
|
6461
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
6462
|
+
type: "error-json";
|
|
6463
|
+
value: any;
|
|
6464
|
+
}, {
|
|
6465
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
6466
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
6467
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
6468
|
+
type: "content";
|
|
6469
|
+
value: ({
|
|
6470
|
+
type: "text";
|
|
6471
|
+
text: string;
|
|
6472
|
+
} | {
|
|
6473
|
+
type: "media";
|
|
6474
|
+
data: string;
|
|
6475
|
+
mediaType: string;
|
|
6476
|
+
})[];
|
|
6477
|
+
}, {
|
|
6478
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
6479
|
+
value: import("convex/values").VArray<({
|
|
6480
|
+
type: "text";
|
|
6481
|
+
text: string;
|
|
6482
|
+
} | {
|
|
6483
|
+
type: "media";
|
|
6484
|
+
data: string;
|
|
6485
|
+
mediaType: string;
|
|
6486
|
+
})[], import("convex/values").VUnion<{
|
|
6487
|
+
type: "text";
|
|
6488
|
+
text: string;
|
|
6489
|
+
} | {
|
|
6490
|
+
type: "media";
|
|
6491
|
+
data: string;
|
|
6492
|
+
mediaType: string;
|
|
6493
|
+
}, [import("convex/values").VObject<{
|
|
6494
|
+
type: "text";
|
|
6495
|
+
text: string;
|
|
6496
|
+
}, {
|
|
6497
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
6498
|
+
text: import("convex/values").VString<string, "required">;
|
|
6499
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
6500
|
+
type: "media";
|
|
6501
|
+
data: string;
|
|
6502
|
+
mediaType: string;
|
|
6503
|
+
}, {
|
|
6504
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
6505
|
+
data: import("convex/values").VString<string, "required">;
|
|
6506
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
6507
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
6508
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
5219
6509
|
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>;
|
|
5220
6510
|
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>;
|
|
5221
6511
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
6512
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
5222
6513
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5223
6514
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
5224
6515
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -5250,7 +6541,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5250
6541
|
data: import("convex/values").VString<string, "required">;
|
|
5251
6542
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5252
6543
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5253
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, import("convex/values").VUnion<{
|
|
6544
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, import("convex/values").VUnion<{
|
|
5254
6545
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5255
6546
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5256
6547
|
id: string;
|
|
@@ -5265,8 +6556,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5265
6556
|
id: string;
|
|
5266
6557
|
title: string;
|
|
5267
6558
|
type: "source";
|
|
5268
|
-
sourceType: "document";
|
|
5269
6559
|
mediaType: string;
|
|
6560
|
+
sourceType: "document";
|
|
5270
6561
|
}, [import("convex/values").VObject<{
|
|
5271
6562
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5272
6563
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5290,8 +6581,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5290
6581
|
id: string;
|
|
5291
6582
|
title: string;
|
|
5292
6583
|
type: "source";
|
|
5293
|
-
sourceType: "document";
|
|
5294
6584
|
mediaType: string;
|
|
6585
|
+
sourceType: "document";
|
|
5295
6586
|
}, {
|
|
5296
6587
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
5297
6588
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -5301,7 +6592,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5301
6592
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
5302
6593
|
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>;
|
|
5303
6594
|
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>;
|
|
5304
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
6595
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">], "required", "id" | "title" | "type" | "providerOptions" | "text" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "mimeType" | "data" | "filename" | "signature" | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "mediaType" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}` | "sourceType" | "url">, "required">], "required", never>;
|
|
5305
6596
|
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>;
|
|
5306
6597
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5307
6598
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5311,6 +6602,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5311
6602
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5312
6603
|
args?: any;
|
|
5313
6604
|
providerExecuted?: boolean | undefined;
|
|
6605
|
+
output?: {
|
|
6606
|
+
type: "text";
|
|
6607
|
+
value: string;
|
|
6608
|
+
} | {
|
|
6609
|
+
type: "json";
|
|
6610
|
+
value: any;
|
|
6611
|
+
} | {
|
|
6612
|
+
type: "error-text";
|
|
6613
|
+
value: string;
|
|
6614
|
+
} | {
|
|
6615
|
+
type: "error-json";
|
|
6616
|
+
value: any;
|
|
6617
|
+
} | {
|
|
6618
|
+
type: "content";
|
|
6619
|
+
value: ({
|
|
6620
|
+
type: "text";
|
|
6621
|
+
text: string;
|
|
6622
|
+
} | {
|
|
6623
|
+
type: "media";
|
|
6624
|
+
data: string;
|
|
6625
|
+
mediaType: string;
|
|
6626
|
+
})[];
|
|
6627
|
+
} | undefined;
|
|
6628
|
+
result?: any;
|
|
5314
6629
|
isError?: boolean | undefined;
|
|
5315
6630
|
experimental_content?: ({
|
|
5316
6631
|
type: "text";
|
|
@@ -5323,7 +6638,6 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5323
6638
|
type: "tool-result";
|
|
5324
6639
|
toolCallId: string;
|
|
5325
6640
|
toolName: string;
|
|
5326
|
-
result: any;
|
|
5327
6641
|
}[];
|
|
5328
6642
|
}, {
|
|
5329
6643
|
role: import("convex/values").VLiteral<"tool", "required">;
|
|
@@ -5332,6 +6646,30 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5332
6646
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5333
6647
|
args?: any;
|
|
5334
6648
|
providerExecuted?: boolean | undefined;
|
|
6649
|
+
output?: {
|
|
6650
|
+
type: "text";
|
|
6651
|
+
value: string;
|
|
6652
|
+
} | {
|
|
6653
|
+
type: "json";
|
|
6654
|
+
value: any;
|
|
6655
|
+
} | {
|
|
6656
|
+
type: "error-text";
|
|
6657
|
+
value: string;
|
|
6658
|
+
} | {
|
|
6659
|
+
type: "error-json";
|
|
6660
|
+
value: any;
|
|
6661
|
+
} | {
|
|
6662
|
+
type: "content";
|
|
6663
|
+
value: ({
|
|
6664
|
+
type: "text";
|
|
6665
|
+
text: string;
|
|
6666
|
+
} | {
|
|
6667
|
+
type: "media";
|
|
6668
|
+
data: string;
|
|
6669
|
+
mediaType: string;
|
|
6670
|
+
})[];
|
|
6671
|
+
} | undefined;
|
|
6672
|
+
result?: any;
|
|
5335
6673
|
isError?: boolean | undefined;
|
|
5336
6674
|
experimental_content?: ({
|
|
5337
6675
|
type: "text";
|
|
@@ -5344,12 +6682,35 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5344
6682
|
type: "tool-result";
|
|
5345
6683
|
toolCallId: string;
|
|
5346
6684
|
toolName: string;
|
|
5347
|
-
result: any;
|
|
5348
6685
|
}[], import("convex/values").VObject<{
|
|
5349
6686
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
5350
6687
|
providerMetadata?: Record<string, Record<string, any>> | undefined;
|
|
5351
6688
|
args?: any;
|
|
5352
6689
|
providerExecuted?: boolean | undefined;
|
|
6690
|
+
output?: {
|
|
6691
|
+
type: "text";
|
|
6692
|
+
value: string;
|
|
6693
|
+
} | {
|
|
6694
|
+
type: "json";
|
|
6695
|
+
value: any;
|
|
6696
|
+
} | {
|
|
6697
|
+
type: "error-text";
|
|
6698
|
+
value: string;
|
|
6699
|
+
} | {
|
|
6700
|
+
type: "error-json";
|
|
6701
|
+
value: any;
|
|
6702
|
+
} | {
|
|
6703
|
+
type: "content";
|
|
6704
|
+
value: ({
|
|
6705
|
+
type: "text";
|
|
6706
|
+
text: string;
|
|
6707
|
+
} | {
|
|
6708
|
+
type: "media";
|
|
6709
|
+
data: string;
|
|
6710
|
+
mediaType: string;
|
|
6711
|
+
})[];
|
|
6712
|
+
} | undefined;
|
|
6713
|
+
result?: any;
|
|
5353
6714
|
isError?: boolean | undefined;
|
|
5354
6715
|
experimental_content?: ({
|
|
5355
6716
|
type: "text";
|
|
@@ -5362,15 +6723,102 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5362
6723
|
type: "tool-result";
|
|
5363
6724
|
toolCallId: string;
|
|
5364
6725
|
toolName: string;
|
|
5365
|
-
result: any;
|
|
5366
6726
|
}, {
|
|
5367
6727
|
type: import("convex/values").VLiteral<"tool-result", "required">;
|
|
5368
6728
|
toolCallId: import("convex/values").VString<string, "required">;
|
|
5369
6729
|
toolName: import("convex/values").VString<string, "required">;
|
|
5370
|
-
|
|
6730
|
+
output: import("convex/values").VUnion<{
|
|
6731
|
+
type: "text";
|
|
6732
|
+
value: string;
|
|
6733
|
+
} | {
|
|
6734
|
+
type: "json";
|
|
6735
|
+
value: any;
|
|
6736
|
+
} | {
|
|
6737
|
+
type: "error-text";
|
|
6738
|
+
value: string;
|
|
6739
|
+
} | {
|
|
6740
|
+
type: "error-json";
|
|
6741
|
+
value: any;
|
|
6742
|
+
} | {
|
|
6743
|
+
type: "content";
|
|
6744
|
+
value: ({
|
|
6745
|
+
type: "text";
|
|
6746
|
+
text: string;
|
|
6747
|
+
} | {
|
|
6748
|
+
type: "media";
|
|
6749
|
+
data: string;
|
|
6750
|
+
mediaType: string;
|
|
6751
|
+
})[];
|
|
6752
|
+
} | undefined, [import("convex/values").VObject<{
|
|
6753
|
+
type: "text";
|
|
6754
|
+
value: string;
|
|
6755
|
+
}, {
|
|
6756
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
6757
|
+
value: import("convex/values").VString<string, "required">;
|
|
6758
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
6759
|
+
type: "json";
|
|
6760
|
+
value: any;
|
|
6761
|
+
}, {
|
|
6762
|
+
type: import("convex/values").VLiteral<"json", "required">;
|
|
6763
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
6764
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
6765
|
+
type: "error-text";
|
|
6766
|
+
value: string;
|
|
6767
|
+
}, {
|
|
6768
|
+
type: import("convex/values").VLiteral<"error-text", "required">;
|
|
6769
|
+
value: import("convex/values").VString<string, "required">;
|
|
6770
|
+
}, "required", "type" | "value">, import("convex/values").VObject<{
|
|
6771
|
+
type: "error-json";
|
|
6772
|
+
value: any;
|
|
6773
|
+
}, {
|
|
6774
|
+
type: import("convex/values").VLiteral<"error-json", "required">;
|
|
6775
|
+
value: import("convex/values").VAny<any, "required", string>;
|
|
6776
|
+
}, "required", "type" | "value" | `value.${string}`>, import("convex/values").VObject<{
|
|
6777
|
+
type: "content";
|
|
6778
|
+
value: ({
|
|
6779
|
+
type: "text";
|
|
6780
|
+
text: string;
|
|
6781
|
+
} | {
|
|
6782
|
+
type: "media";
|
|
6783
|
+
data: string;
|
|
6784
|
+
mediaType: string;
|
|
6785
|
+
})[];
|
|
6786
|
+
}, {
|
|
6787
|
+
type: import("convex/values").VLiteral<"content", "required">;
|
|
6788
|
+
value: import("convex/values").VArray<({
|
|
6789
|
+
type: "text";
|
|
6790
|
+
text: string;
|
|
6791
|
+
} | {
|
|
6792
|
+
type: "media";
|
|
6793
|
+
data: string;
|
|
6794
|
+
mediaType: string;
|
|
6795
|
+
})[], import("convex/values").VUnion<{
|
|
6796
|
+
type: "text";
|
|
6797
|
+
text: string;
|
|
6798
|
+
} | {
|
|
6799
|
+
type: "media";
|
|
6800
|
+
data: string;
|
|
6801
|
+
mediaType: string;
|
|
6802
|
+
}, [import("convex/values").VObject<{
|
|
6803
|
+
type: "text";
|
|
6804
|
+
text: string;
|
|
6805
|
+
}, {
|
|
6806
|
+
type: import("convex/values").VLiteral<"text", "required">;
|
|
6807
|
+
text: import("convex/values").VString<string, "required">;
|
|
6808
|
+
}, "required", "type" | "text">, import("convex/values").VObject<{
|
|
6809
|
+
type: "media";
|
|
6810
|
+
data: string;
|
|
6811
|
+
mediaType: string;
|
|
6812
|
+
}, {
|
|
6813
|
+
type: import("convex/values").VLiteral<"media", "required">;
|
|
6814
|
+
data: import("convex/values").VString<string, "required">;
|
|
6815
|
+
mediaType: import("convex/values").VString<string, "required">;
|
|
6816
|
+
}, "required", "type" | "data" | "mediaType">], "required", "type" | "text" | "data" | "mediaType">, "required">;
|
|
6817
|
+
}, "required", "type" | "value">], "optional", "type" | "value" | `value.${string}`>;
|
|
5371
6818
|
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>;
|
|
5372
6819
|
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>;
|
|
5373
6820
|
providerExecuted: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
6821
|
+
result: import("convex/values").VAny<any, "optional", string>;
|
|
5374
6822
|
isError: import("convex/values").VBoolean<boolean | undefined, "optional">;
|
|
5375
6823
|
args: import("convex/values").VAny<any, "optional", string>;
|
|
5376
6824
|
experimental_content: import("convex/values").VArray<({
|
|
@@ -5402,7 +6850,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5402
6850
|
data: import("convex/values").VString<string, "required">;
|
|
5403
6851
|
mimeType: import("convex/values").VString<string | undefined, "optional">;
|
|
5404
6852
|
}, "required", "type" | "mimeType" | "data">], "required", "type" | "text" | "mimeType" | "data">, "optional">;
|
|
5405
|
-
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "result" | "isError" | "experimental_content" | `result.${string}`>, "required">;
|
|
6853
|
+
}, "required", "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "toolCallId" | "toolName" | "args" | "providerExecuted" | `args.${string}` | "output" | "result" | "isError" | "experimental_content" | "output.type" | "output.value" | `output.value.${string}` | `result.${string}`>, "required">;
|
|
5406
6854
|
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>;
|
|
5407
6855
|
}, "required", "providerOptions" | "role" | `providerOptions.${string}` | "content">, import("convex/values").VObject<{
|
|
5408
6856
|
providerOptions?: Record<string, Record<string, any>> | undefined;
|
|
@@ -5444,8 +6892,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5444
6892
|
id: string;
|
|
5445
6893
|
title: string;
|
|
5446
6894
|
type: "source";
|
|
5447
|
-
sourceType: "document";
|
|
5448
6895
|
mediaType: string;
|
|
6896
|
+
sourceType: "document";
|
|
5449
6897
|
})[] | undefined, import("convex/values").VUnion<{
|
|
5450
6898
|
title?: string | undefined;
|
|
5451
6899
|
type?: "source" | undefined;
|
|
@@ -5461,8 +6909,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5461
6909
|
id: string;
|
|
5462
6910
|
title: string;
|
|
5463
6911
|
type: "source";
|
|
5464
|
-
sourceType: "document";
|
|
5465
6912
|
mediaType: string;
|
|
6913
|
+
sourceType: "document";
|
|
5466
6914
|
}, [import("convex/values").VObject<{
|
|
5467
6915
|
title?: string | undefined;
|
|
5468
6916
|
type?: "source" | undefined;
|
|
@@ -5486,8 +6934,8 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5486
6934
|
id: string;
|
|
5487
6935
|
title: string;
|
|
5488
6936
|
type: "source";
|
|
5489
|
-
sourceType: "document";
|
|
5490
6937
|
mediaType: string;
|
|
6938
|
+
sourceType: "document";
|
|
5491
6939
|
}, {
|
|
5492
6940
|
type: import("convex/values").VLiteral<"source", "required">;
|
|
5493
6941
|
sourceType: import("convex/values").VLiteral<"document", "required">;
|
|
@@ -5497,7 +6945,7 @@ export declare const vMessageDoc: import("convex/values").VObject<{
|
|
|
5497
6945
|
filename: import("convex/values").VString<string | undefined, "optional">;
|
|
5498
6946
|
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>;
|
|
5499
6947
|
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>;
|
|
5500
|
-
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "
|
|
6948
|
+
}, "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType">], "required", "id" | "title" | "type" | "providerOptions" | "providerMetadata" | `providerOptions.${string}` | `providerMetadata.${string}` | "filename" | "mediaType" | "sourceType" | "url">, "optional">;
|
|
5501
6949
|
warnings: import("convex/values").VArray<({
|
|
5502
6950
|
details?: string | undefined;
|
|
5503
6951
|
type: "unsupported-setting";
|