braintrust 3.21.0 → 3.22.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.
@@ -611,22 +611,27 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
611
611
  type: z.ZodLiteral<"text">;
612
612
  cache_control: z.ZodOptional<z.ZodObject<{
613
613
  type: z.ZodLiteral<"ephemeral">;
614
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
614
615
  }, "strip", z.ZodTypeAny, {
615
616
  type: "ephemeral";
617
+ ttl?: "5m" | "1h" | undefined;
616
618
  }, {
617
619
  type: "ephemeral";
620
+ ttl?: "5m" | "1h" | undefined;
618
621
  }>>;
619
622
  }, "strip", z.ZodTypeAny, {
620
623
  type: "text";
621
624
  text: string;
622
625
  cache_control?: {
623
626
  type: "ephemeral";
627
+ ttl?: "5m" | "1h" | undefined;
624
628
  } | undefined;
625
629
  }, {
626
630
  type: "text";
627
631
  text?: string | undefined;
628
632
  cache_control?: {
629
633
  type: "ephemeral";
634
+ ttl?: "5m" | "1h" | undefined;
630
635
  } | undefined;
631
636
  }>, "many">]>;
632
637
  role: z.ZodLiteral<"system">;
@@ -638,6 +643,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
638
643
  text: string;
639
644
  cache_control?: {
640
645
  type: "ephemeral";
646
+ ttl?: "5m" | "1h" | undefined;
641
647
  } | undefined;
642
648
  }[];
643
649
  name?: string | undefined;
@@ -648,6 +654,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
648
654
  text?: string | undefined;
649
655
  cache_control?: {
650
656
  type: "ephemeral";
657
+ ttl?: "5m" | "1h" | undefined;
651
658
  } | undefined;
652
659
  }[];
653
660
  name?: string | undefined;
@@ -657,22 +664,27 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
657
664
  type: z.ZodLiteral<"text">;
658
665
  cache_control: z.ZodOptional<z.ZodObject<{
659
666
  type: z.ZodLiteral<"ephemeral">;
667
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
660
668
  }, "strip", z.ZodTypeAny, {
661
669
  type: "ephemeral";
670
+ ttl?: "5m" | "1h" | undefined;
662
671
  }, {
663
672
  type: "ephemeral";
673
+ ttl?: "5m" | "1h" | undefined;
664
674
  }>>;
665
675
  }, "strip", z.ZodTypeAny, {
666
676
  type: "text";
667
677
  text: string;
668
678
  cache_control?: {
669
679
  type: "ephemeral";
680
+ ttl?: "5m" | "1h" | undefined;
670
681
  } | undefined;
671
682
  }, {
672
683
  type: "text";
673
684
  text?: string | undefined;
674
685
  cache_control?: {
675
686
  type: "ephemeral";
687
+ ttl?: "5m" | "1h" | undefined;
676
688
  } | undefined;
677
689
  }>, z.ZodObject<{
678
690
  image_url: z.ZodObject<{
@@ -686,18 +698,36 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
686
698
  detail?: "auto" | "low" | "high" | undefined;
687
699
  }>;
688
700
  type: z.ZodLiteral<"image_url">;
701
+ cache_control: z.ZodOptional<z.ZodObject<{
702
+ type: z.ZodLiteral<"ephemeral">;
703
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
704
+ }, "strip", z.ZodTypeAny, {
705
+ type: "ephemeral";
706
+ ttl?: "5m" | "1h" | undefined;
707
+ }, {
708
+ type: "ephemeral";
709
+ ttl?: "5m" | "1h" | undefined;
710
+ }>>;
689
711
  }, "strip", z.ZodTypeAny, {
690
712
  type: "image_url";
691
713
  image_url: {
692
714
  url: string;
693
715
  detail?: "auto" | "low" | "high" | undefined;
694
716
  };
717
+ cache_control?: {
718
+ type: "ephemeral";
719
+ ttl?: "5m" | "1h" | undefined;
720
+ } | undefined;
695
721
  }, {
696
722
  type: "image_url";
697
723
  image_url: {
698
724
  url: string;
699
725
  detail?: "auto" | "low" | "high" | undefined;
700
726
  };
727
+ cache_control?: {
728
+ type: "ephemeral";
729
+ ttl?: "5m" | "1h" | undefined;
730
+ } | undefined;
701
731
  }>, z.ZodObject<{
702
732
  file: z.ZodObject<{
703
733
  file_data: z.ZodOptional<z.ZodString>;
@@ -713,6 +743,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
713
743
  file_id?: string | undefined;
714
744
  }>;
715
745
  type: z.ZodLiteral<"file">;
746
+ cache_control: z.ZodOptional<z.ZodObject<{
747
+ type: z.ZodLiteral<"ephemeral">;
748
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
749
+ }, "strip", z.ZodTypeAny, {
750
+ type: "ephemeral";
751
+ ttl?: "5m" | "1h" | undefined;
752
+ }, {
753
+ type: "ephemeral";
754
+ ttl?: "5m" | "1h" | undefined;
755
+ }>>;
716
756
  }, "strip", z.ZodTypeAny, {
717
757
  type: "file";
718
758
  file: {
@@ -720,6 +760,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
720
760
  file_data?: string | undefined;
721
761
  file_id?: string | undefined;
722
762
  };
763
+ cache_control?: {
764
+ type: "ephemeral";
765
+ ttl?: "5m" | "1h" | undefined;
766
+ } | undefined;
723
767
  }, {
724
768
  type: "file";
725
769
  file: {
@@ -727,6 +771,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
727
771
  file_data?: string | undefined;
728
772
  file_id?: string | undefined;
729
773
  };
774
+ cache_control?: {
775
+ type: "ephemeral";
776
+ ttl?: "5m" | "1h" | undefined;
777
+ } | undefined;
730
778
  }>]>, "many">]>;
731
779
  role: z.ZodLiteral<"user">;
732
780
  name: z.ZodOptional<z.ZodString>;
@@ -737,6 +785,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
737
785
  text: string;
738
786
  cache_control?: {
739
787
  type: "ephemeral";
788
+ ttl?: "5m" | "1h" | undefined;
740
789
  } | undefined;
741
790
  } | {
742
791
  type: "image_url";
@@ -744,6 +793,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
744
793
  url: string;
745
794
  detail?: "auto" | "low" | "high" | undefined;
746
795
  };
796
+ cache_control?: {
797
+ type: "ephemeral";
798
+ ttl?: "5m" | "1h" | undefined;
799
+ } | undefined;
747
800
  } | {
748
801
  type: "file";
749
802
  file: {
@@ -751,6 +804,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
751
804
  file_data?: string | undefined;
752
805
  file_id?: string | undefined;
753
806
  };
807
+ cache_control?: {
808
+ type: "ephemeral";
809
+ ttl?: "5m" | "1h" | undefined;
810
+ } | undefined;
754
811
  })[];
755
812
  name?: string | undefined;
756
813
  }, {
@@ -760,6 +817,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
760
817
  text?: string | undefined;
761
818
  cache_control?: {
762
819
  type: "ephemeral";
820
+ ttl?: "5m" | "1h" | undefined;
763
821
  } | undefined;
764
822
  } | {
765
823
  type: "image_url";
@@ -767,6 +825,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
767
825
  url: string;
768
826
  detail?: "auto" | "low" | "high" | undefined;
769
827
  };
828
+ cache_control?: {
829
+ type: "ephemeral";
830
+ ttl?: "5m" | "1h" | undefined;
831
+ } | undefined;
770
832
  } | {
771
833
  type: "file";
772
834
  file: {
@@ -774,6 +836,10 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
774
836
  file_data?: string | undefined;
775
837
  file_id?: string | undefined;
776
838
  };
839
+ cache_control?: {
840
+ type: "ephemeral";
841
+ ttl?: "5m" | "1h" | undefined;
842
+ } | undefined;
777
843
  })[];
778
844
  name?: string | undefined;
779
845
  }>, z.ZodObject<{
@@ -783,22 +849,27 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
783
849
  type: z.ZodLiteral<"text">;
784
850
  cache_control: z.ZodOptional<z.ZodObject<{
785
851
  type: z.ZodLiteral<"ephemeral">;
852
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
786
853
  }, "strip", z.ZodTypeAny, {
787
854
  type: "ephemeral";
855
+ ttl?: "5m" | "1h" | undefined;
788
856
  }, {
789
857
  type: "ephemeral";
858
+ ttl?: "5m" | "1h" | undefined;
790
859
  }>>;
791
860
  }, "strip", z.ZodTypeAny, {
792
861
  type: "text";
793
862
  text: string;
794
863
  cache_control?: {
795
864
  type: "ephemeral";
865
+ ttl?: "5m" | "1h" | undefined;
796
866
  } | undefined;
797
867
  }, {
798
868
  type: "text";
799
869
  text?: string | undefined;
800
870
  cache_control?: {
801
871
  type: "ephemeral";
872
+ ttl?: "5m" | "1h" | undefined;
802
873
  } | undefined;
803
874
  }>, "many">, z.ZodNull]>>;
804
875
  function_call: z.ZodOptional<z.ZodObject<{
@@ -863,6 +934,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
863
934
  text: string;
864
935
  cache_control?: {
865
936
  type: "ephemeral";
937
+ ttl?: "5m" | "1h" | undefined;
866
938
  } | undefined;
867
939
  }[] | null | undefined;
868
940
  tool_calls?: {
@@ -890,6 +962,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
890
962
  text?: string | undefined;
891
963
  cache_control?: {
892
964
  type: "ephemeral";
965
+ ttl?: "5m" | "1h" | undefined;
893
966
  } | undefined;
894
967
  }[] | null | undefined;
895
968
  tool_calls?: {
@@ -911,22 +984,27 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
911
984
  type: z.ZodLiteral<"text">;
912
985
  cache_control: z.ZodOptional<z.ZodObject<{
913
986
  type: z.ZodLiteral<"ephemeral">;
987
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
914
988
  }, "strip", z.ZodTypeAny, {
915
989
  type: "ephemeral";
990
+ ttl?: "5m" | "1h" | undefined;
916
991
  }, {
917
992
  type: "ephemeral";
993
+ ttl?: "5m" | "1h" | undefined;
918
994
  }>>;
919
995
  }, "strip", z.ZodTypeAny, {
920
996
  type: "text";
921
997
  text: string;
922
998
  cache_control?: {
923
999
  type: "ephemeral";
1000
+ ttl?: "5m" | "1h" | undefined;
924
1001
  } | undefined;
925
1002
  }, {
926
1003
  type: "text";
927
1004
  text?: string | undefined;
928
1005
  cache_control?: {
929
1006
  type: "ephemeral";
1007
+ ttl?: "5m" | "1h" | undefined;
930
1008
  } | undefined;
931
1009
  }>, "many">]>;
932
1010
  role: z.ZodLiteral<"tool">;
@@ -938,6 +1016,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
938
1016
  text: string;
939
1017
  cache_control?: {
940
1018
  type: "ephemeral";
1019
+ ttl?: "5m" | "1h" | undefined;
941
1020
  } | undefined;
942
1021
  }[];
943
1022
  tool_call_id: string;
@@ -948,6 +1027,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
948
1027
  text?: string | undefined;
949
1028
  cache_control?: {
950
1029
  type: "ephemeral";
1030
+ ttl?: "5m" | "1h" | undefined;
951
1031
  } | undefined;
952
1032
  }[];
953
1033
  tool_call_id?: string | undefined;
@@ -969,22 +1049,27 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
969
1049
  type: z.ZodLiteral<"text">;
970
1050
  cache_control: z.ZodOptional<z.ZodObject<{
971
1051
  type: z.ZodLiteral<"ephemeral">;
1052
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
972
1053
  }, "strip", z.ZodTypeAny, {
973
1054
  type: "ephemeral";
1055
+ ttl?: "5m" | "1h" | undefined;
974
1056
  }, {
975
1057
  type: "ephemeral";
1058
+ ttl?: "5m" | "1h" | undefined;
976
1059
  }>>;
977
1060
  }, "strip", z.ZodTypeAny, {
978
1061
  type: "text";
979
1062
  text: string;
980
1063
  cache_control?: {
981
1064
  type: "ephemeral";
1065
+ ttl?: "5m" | "1h" | undefined;
982
1066
  } | undefined;
983
1067
  }, {
984
1068
  type: "text";
985
1069
  text?: string | undefined;
986
1070
  cache_control?: {
987
1071
  type: "ephemeral";
1072
+ ttl?: "5m" | "1h" | undefined;
988
1073
  } | undefined;
989
1074
  }>, "many">]>;
990
1075
  role: z.ZodLiteral<"developer">;
@@ -996,6 +1081,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
996
1081
  text: string;
997
1082
  cache_control?: {
998
1083
  type: "ephemeral";
1084
+ ttl?: "5m" | "1h" | undefined;
999
1085
  } | undefined;
1000
1086
  }[];
1001
1087
  name?: string | undefined;
@@ -1006,6 +1092,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
1006
1092
  text?: string | undefined;
1007
1093
  cache_control?: {
1008
1094
  type: "ephemeral";
1095
+ ttl?: "5m" | "1h" | undefined;
1009
1096
  } | undefined;
1010
1097
  }[];
1011
1098
  name?: string | undefined;
@@ -1026,22 +1113,27 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1026
1113
  type: z.ZodLiteral<"text">;
1027
1114
  cache_control: z.ZodOptional<z.ZodObject<{
1028
1115
  type: z.ZodLiteral<"ephemeral">;
1116
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1029
1117
  }, "strip", z.ZodTypeAny, {
1030
1118
  type: "ephemeral";
1119
+ ttl?: "5m" | "1h" | undefined;
1031
1120
  }, {
1032
1121
  type: "ephemeral";
1122
+ ttl?: "5m" | "1h" | undefined;
1033
1123
  }>>;
1034
1124
  }, "strip", z.ZodTypeAny, {
1035
1125
  type: "text";
1036
1126
  text: string;
1037
1127
  cache_control?: {
1038
1128
  type: "ephemeral";
1129
+ ttl?: "5m" | "1h" | undefined;
1039
1130
  } | undefined;
1040
1131
  }, {
1041
1132
  type: "text";
1042
1133
  text?: string | undefined;
1043
1134
  cache_control?: {
1044
1135
  type: "ephemeral";
1136
+ ttl?: "5m" | "1h" | undefined;
1045
1137
  } | undefined;
1046
1138
  }>, "many">]>;
1047
1139
  role: z.ZodLiteral<"system">;
@@ -1053,6 +1145,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1053
1145
  text: string;
1054
1146
  cache_control?: {
1055
1147
  type: "ephemeral";
1148
+ ttl?: "5m" | "1h" | undefined;
1056
1149
  } | undefined;
1057
1150
  }[];
1058
1151
  name?: string | undefined;
@@ -1063,6 +1156,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1063
1156
  text?: string | undefined;
1064
1157
  cache_control?: {
1065
1158
  type: "ephemeral";
1159
+ ttl?: "5m" | "1h" | undefined;
1066
1160
  } | undefined;
1067
1161
  }[];
1068
1162
  name?: string | undefined;
@@ -1072,22 +1166,27 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1072
1166
  type: z.ZodLiteral<"text">;
1073
1167
  cache_control: z.ZodOptional<z.ZodObject<{
1074
1168
  type: z.ZodLiteral<"ephemeral">;
1169
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1075
1170
  }, "strip", z.ZodTypeAny, {
1076
1171
  type: "ephemeral";
1172
+ ttl?: "5m" | "1h" | undefined;
1077
1173
  }, {
1078
1174
  type: "ephemeral";
1175
+ ttl?: "5m" | "1h" | undefined;
1079
1176
  }>>;
1080
1177
  }, "strip", z.ZodTypeAny, {
1081
1178
  type: "text";
1082
1179
  text: string;
1083
1180
  cache_control?: {
1084
1181
  type: "ephemeral";
1182
+ ttl?: "5m" | "1h" | undefined;
1085
1183
  } | undefined;
1086
1184
  }, {
1087
1185
  type: "text";
1088
1186
  text?: string | undefined;
1089
1187
  cache_control?: {
1090
1188
  type: "ephemeral";
1189
+ ttl?: "5m" | "1h" | undefined;
1091
1190
  } | undefined;
1092
1191
  }>, z.ZodObject<{
1093
1192
  image_url: z.ZodObject<{
@@ -1101,18 +1200,36 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1101
1200
  detail?: "auto" | "low" | "high" | undefined;
1102
1201
  }>;
1103
1202
  type: z.ZodLiteral<"image_url">;
1203
+ cache_control: z.ZodOptional<z.ZodObject<{
1204
+ type: z.ZodLiteral<"ephemeral">;
1205
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1206
+ }, "strip", z.ZodTypeAny, {
1207
+ type: "ephemeral";
1208
+ ttl?: "5m" | "1h" | undefined;
1209
+ }, {
1210
+ type: "ephemeral";
1211
+ ttl?: "5m" | "1h" | undefined;
1212
+ }>>;
1104
1213
  }, "strip", z.ZodTypeAny, {
1105
1214
  type: "image_url";
1106
1215
  image_url: {
1107
1216
  url: string;
1108
1217
  detail?: "auto" | "low" | "high" | undefined;
1109
1218
  };
1219
+ cache_control?: {
1220
+ type: "ephemeral";
1221
+ ttl?: "5m" | "1h" | undefined;
1222
+ } | undefined;
1110
1223
  }, {
1111
1224
  type: "image_url";
1112
1225
  image_url: {
1113
1226
  url: string;
1114
1227
  detail?: "auto" | "low" | "high" | undefined;
1115
1228
  };
1229
+ cache_control?: {
1230
+ type: "ephemeral";
1231
+ ttl?: "5m" | "1h" | undefined;
1232
+ } | undefined;
1116
1233
  }>, z.ZodObject<{
1117
1234
  file: z.ZodObject<{
1118
1235
  file_data: z.ZodOptional<z.ZodString>;
@@ -1128,6 +1245,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1128
1245
  file_id?: string | undefined;
1129
1246
  }>;
1130
1247
  type: z.ZodLiteral<"file">;
1248
+ cache_control: z.ZodOptional<z.ZodObject<{
1249
+ type: z.ZodLiteral<"ephemeral">;
1250
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1251
+ }, "strip", z.ZodTypeAny, {
1252
+ type: "ephemeral";
1253
+ ttl?: "5m" | "1h" | undefined;
1254
+ }, {
1255
+ type: "ephemeral";
1256
+ ttl?: "5m" | "1h" | undefined;
1257
+ }>>;
1131
1258
  }, "strip", z.ZodTypeAny, {
1132
1259
  type: "file";
1133
1260
  file: {
@@ -1135,6 +1262,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1135
1262
  file_data?: string | undefined;
1136
1263
  file_id?: string | undefined;
1137
1264
  };
1265
+ cache_control?: {
1266
+ type: "ephemeral";
1267
+ ttl?: "5m" | "1h" | undefined;
1268
+ } | undefined;
1138
1269
  }, {
1139
1270
  type: "file";
1140
1271
  file: {
@@ -1142,6 +1273,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1142
1273
  file_data?: string | undefined;
1143
1274
  file_id?: string | undefined;
1144
1275
  };
1276
+ cache_control?: {
1277
+ type: "ephemeral";
1278
+ ttl?: "5m" | "1h" | undefined;
1279
+ } | undefined;
1145
1280
  }>]>, "many">]>;
1146
1281
  role: z.ZodLiteral<"user">;
1147
1282
  name: z.ZodOptional<z.ZodString>;
@@ -1152,6 +1287,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1152
1287
  text: string;
1153
1288
  cache_control?: {
1154
1289
  type: "ephemeral";
1290
+ ttl?: "5m" | "1h" | undefined;
1155
1291
  } | undefined;
1156
1292
  } | {
1157
1293
  type: "image_url";
@@ -1159,6 +1295,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1159
1295
  url: string;
1160
1296
  detail?: "auto" | "low" | "high" | undefined;
1161
1297
  };
1298
+ cache_control?: {
1299
+ type: "ephemeral";
1300
+ ttl?: "5m" | "1h" | undefined;
1301
+ } | undefined;
1162
1302
  } | {
1163
1303
  type: "file";
1164
1304
  file: {
@@ -1166,6 +1306,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1166
1306
  file_data?: string | undefined;
1167
1307
  file_id?: string | undefined;
1168
1308
  };
1309
+ cache_control?: {
1310
+ type: "ephemeral";
1311
+ ttl?: "5m" | "1h" | undefined;
1312
+ } | undefined;
1169
1313
  })[];
1170
1314
  name?: string | undefined;
1171
1315
  }, {
@@ -1175,6 +1319,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1175
1319
  text?: string | undefined;
1176
1320
  cache_control?: {
1177
1321
  type: "ephemeral";
1322
+ ttl?: "5m" | "1h" | undefined;
1178
1323
  } | undefined;
1179
1324
  } | {
1180
1325
  type: "image_url";
@@ -1182,6 +1327,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1182
1327
  url: string;
1183
1328
  detail?: "auto" | "low" | "high" | undefined;
1184
1329
  };
1330
+ cache_control?: {
1331
+ type: "ephemeral";
1332
+ ttl?: "5m" | "1h" | undefined;
1333
+ } | undefined;
1185
1334
  } | {
1186
1335
  type: "file";
1187
1336
  file: {
@@ -1189,6 +1338,10 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1189
1338
  file_data?: string | undefined;
1190
1339
  file_id?: string | undefined;
1191
1340
  };
1341
+ cache_control?: {
1342
+ type: "ephemeral";
1343
+ ttl?: "5m" | "1h" | undefined;
1344
+ } | undefined;
1192
1345
  })[];
1193
1346
  name?: string | undefined;
1194
1347
  }>, z.ZodObject<{
@@ -1198,22 +1351,27 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1198
1351
  type: z.ZodLiteral<"text">;
1199
1352
  cache_control: z.ZodOptional<z.ZodObject<{
1200
1353
  type: z.ZodLiteral<"ephemeral">;
1354
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1201
1355
  }, "strip", z.ZodTypeAny, {
1202
1356
  type: "ephemeral";
1357
+ ttl?: "5m" | "1h" | undefined;
1203
1358
  }, {
1204
1359
  type: "ephemeral";
1360
+ ttl?: "5m" | "1h" | undefined;
1205
1361
  }>>;
1206
1362
  }, "strip", z.ZodTypeAny, {
1207
1363
  type: "text";
1208
1364
  text: string;
1209
1365
  cache_control?: {
1210
1366
  type: "ephemeral";
1367
+ ttl?: "5m" | "1h" | undefined;
1211
1368
  } | undefined;
1212
1369
  }, {
1213
1370
  type: "text";
1214
1371
  text?: string | undefined;
1215
1372
  cache_control?: {
1216
1373
  type: "ephemeral";
1374
+ ttl?: "5m" | "1h" | undefined;
1217
1375
  } | undefined;
1218
1376
  }>, "many">, z.ZodNull]>>;
1219
1377
  function_call: z.ZodOptional<z.ZodObject<{
@@ -1278,6 +1436,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1278
1436
  text: string;
1279
1437
  cache_control?: {
1280
1438
  type: "ephemeral";
1439
+ ttl?: "5m" | "1h" | undefined;
1281
1440
  } | undefined;
1282
1441
  }[] | null | undefined;
1283
1442
  tool_calls?: {
@@ -1305,6 +1464,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1305
1464
  text?: string | undefined;
1306
1465
  cache_control?: {
1307
1466
  type: "ephemeral";
1467
+ ttl?: "5m" | "1h" | undefined;
1308
1468
  } | undefined;
1309
1469
  }[] | null | undefined;
1310
1470
  tool_calls?: {
@@ -1326,22 +1486,27 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1326
1486
  type: z.ZodLiteral<"text">;
1327
1487
  cache_control: z.ZodOptional<z.ZodObject<{
1328
1488
  type: z.ZodLiteral<"ephemeral">;
1489
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1329
1490
  }, "strip", z.ZodTypeAny, {
1330
1491
  type: "ephemeral";
1492
+ ttl?: "5m" | "1h" | undefined;
1331
1493
  }, {
1332
1494
  type: "ephemeral";
1495
+ ttl?: "5m" | "1h" | undefined;
1333
1496
  }>>;
1334
1497
  }, "strip", z.ZodTypeAny, {
1335
1498
  type: "text";
1336
1499
  text: string;
1337
1500
  cache_control?: {
1338
1501
  type: "ephemeral";
1502
+ ttl?: "5m" | "1h" | undefined;
1339
1503
  } | undefined;
1340
1504
  }, {
1341
1505
  type: "text";
1342
1506
  text?: string | undefined;
1343
1507
  cache_control?: {
1344
1508
  type: "ephemeral";
1509
+ ttl?: "5m" | "1h" | undefined;
1345
1510
  } | undefined;
1346
1511
  }>, "many">]>;
1347
1512
  role: z.ZodLiteral<"tool">;
@@ -1353,6 +1518,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1353
1518
  text: string;
1354
1519
  cache_control?: {
1355
1520
  type: "ephemeral";
1521
+ ttl?: "5m" | "1h" | undefined;
1356
1522
  } | undefined;
1357
1523
  }[];
1358
1524
  tool_call_id: string;
@@ -1363,6 +1529,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1363
1529
  text?: string | undefined;
1364
1530
  cache_control?: {
1365
1531
  type: "ephemeral";
1532
+ ttl?: "5m" | "1h" | undefined;
1366
1533
  } | undefined;
1367
1534
  }[];
1368
1535
  tool_call_id?: string | undefined;
@@ -1384,22 +1551,27 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1384
1551
  type: z.ZodLiteral<"text">;
1385
1552
  cache_control: z.ZodOptional<z.ZodObject<{
1386
1553
  type: z.ZodLiteral<"ephemeral">;
1554
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1387
1555
  }, "strip", z.ZodTypeAny, {
1388
1556
  type: "ephemeral";
1557
+ ttl?: "5m" | "1h" | undefined;
1389
1558
  }, {
1390
1559
  type: "ephemeral";
1560
+ ttl?: "5m" | "1h" | undefined;
1391
1561
  }>>;
1392
1562
  }, "strip", z.ZodTypeAny, {
1393
1563
  type: "text";
1394
1564
  text: string;
1395
1565
  cache_control?: {
1396
1566
  type: "ephemeral";
1567
+ ttl?: "5m" | "1h" | undefined;
1397
1568
  } | undefined;
1398
1569
  }, {
1399
1570
  type: "text";
1400
1571
  text?: string | undefined;
1401
1572
  cache_control?: {
1402
1573
  type: "ephemeral";
1574
+ ttl?: "5m" | "1h" | undefined;
1403
1575
  } | undefined;
1404
1576
  }>, "many">]>;
1405
1577
  role: z.ZodLiteral<"developer">;
@@ -1411,6 +1583,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1411
1583
  text: string;
1412
1584
  cache_control?: {
1413
1585
  type: "ephemeral";
1586
+ ttl?: "5m" | "1h" | undefined;
1414
1587
  } | undefined;
1415
1588
  }[];
1416
1589
  name?: string | undefined;
@@ -1421,6 +1594,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1421
1594
  text?: string | undefined;
1422
1595
  cache_control?: {
1423
1596
  type: "ephemeral";
1597
+ ttl?: "5m" | "1h" | undefined;
1424
1598
  } | undefined;
1425
1599
  }[];
1426
1600
  name?: string | undefined;
@@ -1546,22 +1720,27 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1546
1720
  type: z.ZodLiteral<"text">;
1547
1721
  cache_control: z.ZodOptional<z.ZodObject<{
1548
1722
  type: z.ZodLiteral<"ephemeral">;
1723
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1549
1724
  }, "strip", z.ZodTypeAny, {
1550
1725
  type: "ephemeral";
1726
+ ttl?: "5m" | "1h" | undefined;
1551
1727
  }, {
1552
1728
  type: "ephemeral";
1729
+ ttl?: "5m" | "1h" | undefined;
1553
1730
  }>>;
1554
1731
  }, "strip", z.ZodTypeAny, {
1555
1732
  type: "text";
1556
1733
  text: string;
1557
1734
  cache_control?: {
1558
1735
  type: "ephemeral";
1736
+ ttl?: "5m" | "1h" | undefined;
1559
1737
  } | undefined;
1560
1738
  }, {
1561
1739
  type: "text";
1562
1740
  text?: string | undefined;
1563
1741
  cache_control?: {
1564
1742
  type: "ephemeral";
1743
+ ttl?: "5m" | "1h" | undefined;
1565
1744
  } | undefined;
1566
1745
  }>, "many">]>;
1567
1746
  role: z.ZodLiteral<"system">;
@@ -1573,6 +1752,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1573
1752
  text: string;
1574
1753
  cache_control?: {
1575
1754
  type: "ephemeral";
1755
+ ttl?: "5m" | "1h" | undefined;
1576
1756
  } | undefined;
1577
1757
  }[];
1578
1758
  name?: string | undefined;
@@ -1583,6 +1763,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1583
1763
  text?: string | undefined;
1584
1764
  cache_control?: {
1585
1765
  type: "ephemeral";
1766
+ ttl?: "5m" | "1h" | undefined;
1586
1767
  } | undefined;
1587
1768
  }[];
1588
1769
  name?: string | undefined;
@@ -1592,22 +1773,27 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1592
1773
  type: z.ZodLiteral<"text">;
1593
1774
  cache_control: z.ZodOptional<z.ZodObject<{
1594
1775
  type: z.ZodLiteral<"ephemeral">;
1776
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1595
1777
  }, "strip", z.ZodTypeAny, {
1596
1778
  type: "ephemeral";
1779
+ ttl?: "5m" | "1h" | undefined;
1597
1780
  }, {
1598
1781
  type: "ephemeral";
1782
+ ttl?: "5m" | "1h" | undefined;
1599
1783
  }>>;
1600
1784
  }, "strip", z.ZodTypeAny, {
1601
1785
  type: "text";
1602
1786
  text: string;
1603
1787
  cache_control?: {
1604
1788
  type: "ephemeral";
1789
+ ttl?: "5m" | "1h" | undefined;
1605
1790
  } | undefined;
1606
1791
  }, {
1607
1792
  type: "text";
1608
1793
  text?: string | undefined;
1609
1794
  cache_control?: {
1610
1795
  type: "ephemeral";
1796
+ ttl?: "5m" | "1h" | undefined;
1611
1797
  } | undefined;
1612
1798
  }>, z.ZodObject<{
1613
1799
  image_url: z.ZodObject<{
@@ -1621,18 +1807,36 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1621
1807
  detail?: "auto" | "low" | "high" | undefined;
1622
1808
  }>;
1623
1809
  type: z.ZodLiteral<"image_url">;
1810
+ cache_control: z.ZodOptional<z.ZodObject<{
1811
+ type: z.ZodLiteral<"ephemeral">;
1812
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1813
+ }, "strip", z.ZodTypeAny, {
1814
+ type: "ephemeral";
1815
+ ttl?: "5m" | "1h" | undefined;
1816
+ }, {
1817
+ type: "ephemeral";
1818
+ ttl?: "5m" | "1h" | undefined;
1819
+ }>>;
1624
1820
  }, "strip", z.ZodTypeAny, {
1625
1821
  type: "image_url";
1626
1822
  image_url: {
1627
1823
  url: string;
1628
1824
  detail?: "auto" | "low" | "high" | undefined;
1629
1825
  };
1826
+ cache_control?: {
1827
+ type: "ephemeral";
1828
+ ttl?: "5m" | "1h" | undefined;
1829
+ } | undefined;
1630
1830
  }, {
1631
1831
  type: "image_url";
1632
1832
  image_url: {
1633
1833
  url: string;
1634
1834
  detail?: "auto" | "low" | "high" | undefined;
1635
1835
  };
1836
+ cache_control?: {
1837
+ type: "ephemeral";
1838
+ ttl?: "5m" | "1h" | undefined;
1839
+ } | undefined;
1636
1840
  }>, z.ZodObject<{
1637
1841
  file: z.ZodObject<{
1638
1842
  file_data: z.ZodOptional<z.ZodString>;
@@ -1648,6 +1852,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1648
1852
  file_id?: string | undefined;
1649
1853
  }>;
1650
1854
  type: z.ZodLiteral<"file">;
1855
+ cache_control: z.ZodOptional<z.ZodObject<{
1856
+ type: z.ZodLiteral<"ephemeral">;
1857
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1858
+ }, "strip", z.ZodTypeAny, {
1859
+ type: "ephemeral";
1860
+ ttl?: "5m" | "1h" | undefined;
1861
+ }, {
1862
+ type: "ephemeral";
1863
+ ttl?: "5m" | "1h" | undefined;
1864
+ }>>;
1651
1865
  }, "strip", z.ZodTypeAny, {
1652
1866
  type: "file";
1653
1867
  file: {
@@ -1655,6 +1869,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1655
1869
  file_data?: string | undefined;
1656
1870
  file_id?: string | undefined;
1657
1871
  };
1872
+ cache_control?: {
1873
+ type: "ephemeral";
1874
+ ttl?: "5m" | "1h" | undefined;
1875
+ } | undefined;
1658
1876
  }, {
1659
1877
  type: "file";
1660
1878
  file: {
@@ -1662,6 +1880,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1662
1880
  file_data?: string | undefined;
1663
1881
  file_id?: string | undefined;
1664
1882
  };
1883
+ cache_control?: {
1884
+ type: "ephemeral";
1885
+ ttl?: "5m" | "1h" | undefined;
1886
+ } | undefined;
1665
1887
  }>]>, "many">]>;
1666
1888
  role: z.ZodLiteral<"user">;
1667
1889
  name: z.ZodOptional<z.ZodString>;
@@ -1672,6 +1894,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1672
1894
  text: string;
1673
1895
  cache_control?: {
1674
1896
  type: "ephemeral";
1897
+ ttl?: "5m" | "1h" | undefined;
1675
1898
  } | undefined;
1676
1899
  } | {
1677
1900
  type: "image_url";
@@ -1679,6 +1902,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1679
1902
  url: string;
1680
1903
  detail?: "auto" | "low" | "high" | undefined;
1681
1904
  };
1905
+ cache_control?: {
1906
+ type: "ephemeral";
1907
+ ttl?: "5m" | "1h" | undefined;
1908
+ } | undefined;
1682
1909
  } | {
1683
1910
  type: "file";
1684
1911
  file: {
@@ -1686,6 +1913,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1686
1913
  file_data?: string | undefined;
1687
1914
  file_id?: string | undefined;
1688
1915
  };
1916
+ cache_control?: {
1917
+ type: "ephemeral";
1918
+ ttl?: "5m" | "1h" | undefined;
1919
+ } | undefined;
1689
1920
  })[];
1690
1921
  name?: string | undefined;
1691
1922
  }, {
@@ -1695,6 +1926,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1695
1926
  text?: string | undefined;
1696
1927
  cache_control?: {
1697
1928
  type: "ephemeral";
1929
+ ttl?: "5m" | "1h" | undefined;
1698
1930
  } | undefined;
1699
1931
  } | {
1700
1932
  type: "image_url";
@@ -1702,6 +1934,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1702
1934
  url: string;
1703
1935
  detail?: "auto" | "low" | "high" | undefined;
1704
1936
  };
1937
+ cache_control?: {
1938
+ type: "ephemeral";
1939
+ ttl?: "5m" | "1h" | undefined;
1940
+ } | undefined;
1705
1941
  } | {
1706
1942
  type: "file";
1707
1943
  file: {
@@ -1709,6 +1945,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1709
1945
  file_data?: string | undefined;
1710
1946
  file_id?: string | undefined;
1711
1947
  };
1948
+ cache_control?: {
1949
+ type: "ephemeral";
1950
+ ttl?: "5m" | "1h" | undefined;
1951
+ } | undefined;
1712
1952
  })[];
1713
1953
  name?: string | undefined;
1714
1954
  }>, z.ZodObject<{
@@ -1718,22 +1958,27 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1718
1958
  type: z.ZodLiteral<"text">;
1719
1959
  cache_control: z.ZodOptional<z.ZodObject<{
1720
1960
  type: z.ZodLiteral<"ephemeral">;
1961
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1721
1962
  }, "strip", z.ZodTypeAny, {
1722
1963
  type: "ephemeral";
1964
+ ttl?: "5m" | "1h" | undefined;
1723
1965
  }, {
1724
1966
  type: "ephemeral";
1967
+ ttl?: "5m" | "1h" | undefined;
1725
1968
  }>>;
1726
1969
  }, "strip", z.ZodTypeAny, {
1727
1970
  type: "text";
1728
1971
  text: string;
1729
1972
  cache_control?: {
1730
1973
  type: "ephemeral";
1974
+ ttl?: "5m" | "1h" | undefined;
1731
1975
  } | undefined;
1732
1976
  }, {
1733
1977
  type: "text";
1734
1978
  text?: string | undefined;
1735
1979
  cache_control?: {
1736
1980
  type: "ephemeral";
1981
+ ttl?: "5m" | "1h" | undefined;
1737
1982
  } | undefined;
1738
1983
  }>, "many">, z.ZodNull]>>;
1739
1984
  function_call: z.ZodOptional<z.ZodObject<{
@@ -1798,6 +2043,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1798
2043
  text: string;
1799
2044
  cache_control?: {
1800
2045
  type: "ephemeral";
2046
+ ttl?: "5m" | "1h" | undefined;
1801
2047
  } | undefined;
1802
2048
  }[] | null | undefined;
1803
2049
  tool_calls?: {
@@ -1825,6 +2071,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1825
2071
  text?: string | undefined;
1826
2072
  cache_control?: {
1827
2073
  type: "ephemeral";
2074
+ ttl?: "5m" | "1h" | undefined;
1828
2075
  } | undefined;
1829
2076
  }[] | null | undefined;
1830
2077
  tool_calls?: {
@@ -1846,22 +2093,27 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1846
2093
  type: z.ZodLiteral<"text">;
1847
2094
  cache_control: z.ZodOptional<z.ZodObject<{
1848
2095
  type: z.ZodLiteral<"ephemeral">;
2096
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1849
2097
  }, "strip", z.ZodTypeAny, {
1850
2098
  type: "ephemeral";
2099
+ ttl?: "5m" | "1h" | undefined;
1851
2100
  }, {
1852
2101
  type: "ephemeral";
2102
+ ttl?: "5m" | "1h" | undefined;
1853
2103
  }>>;
1854
2104
  }, "strip", z.ZodTypeAny, {
1855
2105
  type: "text";
1856
2106
  text: string;
1857
2107
  cache_control?: {
1858
2108
  type: "ephemeral";
2109
+ ttl?: "5m" | "1h" | undefined;
1859
2110
  } | undefined;
1860
2111
  }, {
1861
2112
  type: "text";
1862
2113
  text?: string | undefined;
1863
2114
  cache_control?: {
1864
2115
  type: "ephemeral";
2116
+ ttl?: "5m" | "1h" | undefined;
1865
2117
  } | undefined;
1866
2118
  }>, "many">]>;
1867
2119
  role: z.ZodLiteral<"tool">;
@@ -1873,6 +2125,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1873
2125
  text: string;
1874
2126
  cache_control?: {
1875
2127
  type: "ephemeral";
2128
+ ttl?: "5m" | "1h" | undefined;
1876
2129
  } | undefined;
1877
2130
  }[];
1878
2131
  tool_call_id: string;
@@ -1883,6 +2136,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1883
2136
  text?: string | undefined;
1884
2137
  cache_control?: {
1885
2138
  type: "ephemeral";
2139
+ ttl?: "5m" | "1h" | undefined;
1886
2140
  } | undefined;
1887
2141
  }[];
1888
2142
  tool_call_id?: string | undefined;
@@ -1904,22 +2158,27 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1904
2158
  type: z.ZodLiteral<"text">;
1905
2159
  cache_control: z.ZodOptional<z.ZodObject<{
1906
2160
  type: z.ZodLiteral<"ephemeral">;
2161
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1907
2162
  }, "strip", z.ZodTypeAny, {
1908
2163
  type: "ephemeral";
2164
+ ttl?: "5m" | "1h" | undefined;
1909
2165
  }, {
1910
2166
  type: "ephemeral";
2167
+ ttl?: "5m" | "1h" | undefined;
1911
2168
  }>>;
1912
2169
  }, "strip", z.ZodTypeAny, {
1913
2170
  type: "text";
1914
2171
  text: string;
1915
2172
  cache_control?: {
1916
2173
  type: "ephemeral";
2174
+ ttl?: "5m" | "1h" | undefined;
1917
2175
  } | undefined;
1918
2176
  }, {
1919
2177
  type: "text";
1920
2178
  text?: string | undefined;
1921
2179
  cache_control?: {
1922
2180
  type: "ephemeral";
2181
+ ttl?: "5m" | "1h" | undefined;
1923
2182
  } | undefined;
1924
2183
  }>, "many">]>;
1925
2184
  role: z.ZodLiteral<"developer">;
@@ -1931,6 +2190,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1931
2190
  text: string;
1932
2191
  cache_control?: {
1933
2192
  type: "ephemeral";
2193
+ ttl?: "5m" | "1h" | undefined;
1934
2194
  } | undefined;
1935
2195
  }[];
1936
2196
  name?: string | undefined;
@@ -1941,6 +2201,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1941
2201
  text?: string | undefined;
1942
2202
  cache_control?: {
1943
2203
  type: "ephemeral";
2204
+ ttl?: "5m" | "1h" | undefined;
1944
2205
  } | undefined;
1945
2206
  }[];
1946
2207
  name?: string | undefined;
@@ -1964,6 +2225,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1964
2225
  text: string;
1965
2226
  cache_control?: {
1966
2227
  type: "ephemeral";
2228
+ ttl?: "5m" | "1h" | undefined;
1967
2229
  } | undefined;
1968
2230
  }[];
1969
2231
  name?: string | undefined;
@@ -1974,6 +2236,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1974
2236
  text: string;
1975
2237
  cache_control?: {
1976
2238
  type: "ephemeral";
2239
+ ttl?: "5m" | "1h" | undefined;
1977
2240
  } | undefined;
1978
2241
  } | {
1979
2242
  type: "image_url";
@@ -1981,6 +2244,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1981
2244
  url: string;
1982
2245
  detail?: "auto" | "low" | "high" | undefined;
1983
2246
  };
2247
+ cache_control?: {
2248
+ type: "ephemeral";
2249
+ ttl?: "5m" | "1h" | undefined;
2250
+ } | undefined;
1984
2251
  } | {
1985
2252
  type: "file";
1986
2253
  file: {
@@ -1988,6 +2255,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
1988
2255
  file_data?: string | undefined;
1989
2256
  file_id?: string | undefined;
1990
2257
  };
2258
+ cache_control?: {
2259
+ type: "ephemeral";
2260
+ ttl?: "5m" | "1h" | undefined;
2261
+ } | undefined;
1991
2262
  })[];
1992
2263
  name?: string | undefined;
1993
2264
  } | {
@@ -2002,6 +2273,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2002
2273
  text: string;
2003
2274
  cache_control?: {
2004
2275
  type: "ephemeral";
2276
+ ttl?: "5m" | "1h" | undefined;
2005
2277
  } | undefined;
2006
2278
  }[] | null | undefined;
2007
2279
  tool_calls?: {
@@ -2024,6 +2296,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2024
2296
  text: string;
2025
2297
  cache_control?: {
2026
2298
  type: "ephemeral";
2299
+ ttl?: "5m" | "1h" | undefined;
2027
2300
  } | undefined;
2028
2301
  }[];
2029
2302
  tool_call_id: string;
@@ -2038,6 +2311,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2038
2311
  text: string;
2039
2312
  cache_control?: {
2040
2313
  type: "ephemeral";
2314
+ ttl?: "5m" | "1h" | undefined;
2041
2315
  } | undefined;
2042
2316
  }[];
2043
2317
  name?: string | undefined;
@@ -2055,6 +2329,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2055
2329
  text?: string | undefined;
2056
2330
  cache_control?: {
2057
2331
  type: "ephemeral";
2332
+ ttl?: "5m" | "1h" | undefined;
2058
2333
  } | undefined;
2059
2334
  }[];
2060
2335
  name?: string | undefined;
@@ -2065,6 +2340,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2065
2340
  text?: string | undefined;
2066
2341
  cache_control?: {
2067
2342
  type: "ephemeral";
2343
+ ttl?: "5m" | "1h" | undefined;
2068
2344
  } | undefined;
2069
2345
  } | {
2070
2346
  type: "image_url";
@@ -2072,6 +2348,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2072
2348
  url: string;
2073
2349
  detail?: "auto" | "low" | "high" | undefined;
2074
2350
  };
2351
+ cache_control?: {
2352
+ type: "ephemeral";
2353
+ ttl?: "5m" | "1h" | undefined;
2354
+ } | undefined;
2075
2355
  } | {
2076
2356
  type: "file";
2077
2357
  file: {
@@ -2079,6 +2359,10 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2079
2359
  file_data?: string | undefined;
2080
2360
  file_id?: string | undefined;
2081
2361
  };
2362
+ cache_control?: {
2363
+ type: "ephemeral";
2364
+ ttl?: "5m" | "1h" | undefined;
2365
+ } | undefined;
2082
2366
  })[];
2083
2367
  name?: string | undefined;
2084
2368
  } | {
@@ -2093,6 +2377,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2093
2377
  text?: string | undefined;
2094
2378
  cache_control?: {
2095
2379
  type: "ephemeral";
2380
+ ttl?: "5m" | "1h" | undefined;
2096
2381
  } | undefined;
2097
2382
  }[] | null | undefined;
2098
2383
  tool_calls?: {
@@ -2115,6 +2400,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2115
2400
  text?: string | undefined;
2116
2401
  cache_control?: {
2117
2402
  type: "ephemeral";
2403
+ ttl?: "5m" | "1h" | undefined;
2118
2404
  } | undefined;
2119
2405
  }[];
2120
2406
  tool_call_id?: string | undefined;
@@ -2129,6 +2415,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2129
2415
  text?: string | undefined;
2130
2416
  cache_control?: {
2131
2417
  type: "ephemeral";
2418
+ ttl?: "5m" | "1h" | undefined;
2132
2419
  } | undefined;
2133
2420
  }[];
2134
2421
  name?: string | undefined;
@@ -2708,22 +2995,27 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2708
2995
  type: z.ZodLiteral<"text">;
2709
2996
  cache_control: z.ZodOptional<z.ZodObject<{
2710
2997
  type: z.ZodLiteral<"ephemeral">;
2998
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2711
2999
  }, "strip", z.ZodTypeAny, {
2712
3000
  type: "ephemeral";
3001
+ ttl?: "5m" | "1h" | undefined;
2713
3002
  }, {
2714
3003
  type: "ephemeral";
3004
+ ttl?: "5m" | "1h" | undefined;
2715
3005
  }>>;
2716
3006
  }, "strip", z.ZodTypeAny, {
2717
3007
  type: "text";
2718
3008
  text: string;
2719
3009
  cache_control?: {
2720
3010
  type: "ephemeral";
3011
+ ttl?: "5m" | "1h" | undefined;
2721
3012
  } | undefined;
2722
3013
  }, {
2723
3014
  type: "text";
2724
3015
  text?: string | undefined;
2725
3016
  cache_control?: {
2726
3017
  type: "ephemeral";
3018
+ ttl?: "5m" | "1h" | undefined;
2727
3019
  } | undefined;
2728
3020
  }>, "many">]>;
2729
3021
  role: z.ZodLiteral<"system">;
@@ -2735,6 +3027,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2735
3027
  text: string;
2736
3028
  cache_control?: {
2737
3029
  type: "ephemeral";
3030
+ ttl?: "5m" | "1h" | undefined;
2738
3031
  } | undefined;
2739
3032
  }[];
2740
3033
  name?: string | undefined;
@@ -2745,6 +3038,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2745
3038
  text?: string | undefined;
2746
3039
  cache_control?: {
2747
3040
  type: "ephemeral";
3041
+ ttl?: "5m" | "1h" | undefined;
2748
3042
  } | undefined;
2749
3043
  }[];
2750
3044
  name?: string | undefined;
@@ -2754,22 +3048,27 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2754
3048
  type: z.ZodLiteral<"text">;
2755
3049
  cache_control: z.ZodOptional<z.ZodObject<{
2756
3050
  type: z.ZodLiteral<"ephemeral">;
3051
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2757
3052
  }, "strip", z.ZodTypeAny, {
2758
3053
  type: "ephemeral";
3054
+ ttl?: "5m" | "1h" | undefined;
2759
3055
  }, {
2760
3056
  type: "ephemeral";
3057
+ ttl?: "5m" | "1h" | undefined;
2761
3058
  }>>;
2762
3059
  }, "strip", z.ZodTypeAny, {
2763
3060
  type: "text";
2764
3061
  text: string;
2765
3062
  cache_control?: {
2766
3063
  type: "ephemeral";
3064
+ ttl?: "5m" | "1h" | undefined;
2767
3065
  } | undefined;
2768
3066
  }, {
2769
3067
  type: "text";
2770
3068
  text?: string | undefined;
2771
3069
  cache_control?: {
2772
3070
  type: "ephemeral";
3071
+ ttl?: "5m" | "1h" | undefined;
2773
3072
  } | undefined;
2774
3073
  }>, z.ZodObject<{
2775
3074
  image_url: z.ZodObject<{
@@ -2783,18 +3082,36 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2783
3082
  detail?: "auto" | "low" | "high" | undefined;
2784
3083
  }>;
2785
3084
  type: z.ZodLiteral<"image_url">;
3085
+ cache_control: z.ZodOptional<z.ZodObject<{
3086
+ type: z.ZodLiteral<"ephemeral">;
3087
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
3088
+ }, "strip", z.ZodTypeAny, {
3089
+ type: "ephemeral";
3090
+ ttl?: "5m" | "1h" | undefined;
3091
+ }, {
3092
+ type: "ephemeral";
3093
+ ttl?: "5m" | "1h" | undefined;
3094
+ }>>;
2786
3095
  }, "strip", z.ZodTypeAny, {
2787
3096
  type: "image_url";
2788
3097
  image_url: {
2789
3098
  url: string;
2790
3099
  detail?: "auto" | "low" | "high" | undefined;
2791
3100
  };
3101
+ cache_control?: {
3102
+ type: "ephemeral";
3103
+ ttl?: "5m" | "1h" | undefined;
3104
+ } | undefined;
2792
3105
  }, {
2793
3106
  type: "image_url";
2794
3107
  image_url: {
2795
3108
  url: string;
2796
3109
  detail?: "auto" | "low" | "high" | undefined;
2797
3110
  };
3111
+ cache_control?: {
3112
+ type: "ephemeral";
3113
+ ttl?: "5m" | "1h" | undefined;
3114
+ } | undefined;
2798
3115
  }>, z.ZodObject<{
2799
3116
  file: z.ZodObject<{
2800
3117
  file_data: z.ZodOptional<z.ZodString>;
@@ -2810,6 +3127,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2810
3127
  file_id?: string | undefined;
2811
3128
  }>;
2812
3129
  type: z.ZodLiteral<"file">;
3130
+ cache_control: z.ZodOptional<z.ZodObject<{
3131
+ type: z.ZodLiteral<"ephemeral">;
3132
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
3133
+ }, "strip", z.ZodTypeAny, {
3134
+ type: "ephemeral";
3135
+ ttl?: "5m" | "1h" | undefined;
3136
+ }, {
3137
+ type: "ephemeral";
3138
+ ttl?: "5m" | "1h" | undefined;
3139
+ }>>;
2813
3140
  }, "strip", z.ZodTypeAny, {
2814
3141
  type: "file";
2815
3142
  file: {
@@ -2817,6 +3144,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2817
3144
  file_data?: string | undefined;
2818
3145
  file_id?: string | undefined;
2819
3146
  };
3147
+ cache_control?: {
3148
+ type: "ephemeral";
3149
+ ttl?: "5m" | "1h" | undefined;
3150
+ } | undefined;
2820
3151
  }, {
2821
3152
  type: "file";
2822
3153
  file: {
@@ -2824,6 +3155,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2824
3155
  file_data?: string | undefined;
2825
3156
  file_id?: string | undefined;
2826
3157
  };
3158
+ cache_control?: {
3159
+ type: "ephemeral";
3160
+ ttl?: "5m" | "1h" | undefined;
3161
+ } | undefined;
2827
3162
  }>]>, "many">]>;
2828
3163
  role: z.ZodLiteral<"user">;
2829
3164
  name: z.ZodOptional<z.ZodString>;
@@ -2834,6 +3169,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2834
3169
  text: string;
2835
3170
  cache_control?: {
2836
3171
  type: "ephemeral";
3172
+ ttl?: "5m" | "1h" | undefined;
2837
3173
  } | undefined;
2838
3174
  } | {
2839
3175
  type: "image_url";
@@ -2841,6 +3177,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2841
3177
  url: string;
2842
3178
  detail?: "auto" | "low" | "high" | undefined;
2843
3179
  };
3180
+ cache_control?: {
3181
+ type: "ephemeral";
3182
+ ttl?: "5m" | "1h" | undefined;
3183
+ } | undefined;
2844
3184
  } | {
2845
3185
  type: "file";
2846
3186
  file: {
@@ -2848,6 +3188,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2848
3188
  file_data?: string | undefined;
2849
3189
  file_id?: string | undefined;
2850
3190
  };
3191
+ cache_control?: {
3192
+ type: "ephemeral";
3193
+ ttl?: "5m" | "1h" | undefined;
3194
+ } | undefined;
2851
3195
  })[];
2852
3196
  name?: string | undefined;
2853
3197
  }, {
@@ -2857,6 +3201,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2857
3201
  text?: string | undefined;
2858
3202
  cache_control?: {
2859
3203
  type: "ephemeral";
3204
+ ttl?: "5m" | "1h" | undefined;
2860
3205
  } | undefined;
2861
3206
  } | {
2862
3207
  type: "image_url";
@@ -2864,6 +3209,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2864
3209
  url: string;
2865
3210
  detail?: "auto" | "low" | "high" | undefined;
2866
3211
  };
3212
+ cache_control?: {
3213
+ type: "ephemeral";
3214
+ ttl?: "5m" | "1h" | undefined;
3215
+ } | undefined;
2867
3216
  } | {
2868
3217
  type: "file";
2869
3218
  file: {
@@ -2871,6 +3220,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2871
3220
  file_data?: string | undefined;
2872
3221
  file_id?: string | undefined;
2873
3222
  };
3223
+ cache_control?: {
3224
+ type: "ephemeral";
3225
+ ttl?: "5m" | "1h" | undefined;
3226
+ } | undefined;
2874
3227
  })[];
2875
3228
  name?: string | undefined;
2876
3229
  }>, z.ZodObject<{
@@ -2880,22 +3233,27 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2880
3233
  type: z.ZodLiteral<"text">;
2881
3234
  cache_control: z.ZodOptional<z.ZodObject<{
2882
3235
  type: z.ZodLiteral<"ephemeral">;
3236
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2883
3237
  }, "strip", z.ZodTypeAny, {
2884
3238
  type: "ephemeral";
3239
+ ttl?: "5m" | "1h" | undefined;
2885
3240
  }, {
2886
3241
  type: "ephemeral";
3242
+ ttl?: "5m" | "1h" | undefined;
2887
3243
  }>>;
2888
3244
  }, "strip", z.ZodTypeAny, {
2889
3245
  type: "text";
2890
3246
  text: string;
2891
3247
  cache_control?: {
2892
3248
  type: "ephemeral";
3249
+ ttl?: "5m" | "1h" | undefined;
2893
3250
  } | undefined;
2894
3251
  }, {
2895
3252
  type: "text";
2896
3253
  text?: string | undefined;
2897
3254
  cache_control?: {
2898
3255
  type: "ephemeral";
3256
+ ttl?: "5m" | "1h" | undefined;
2899
3257
  } | undefined;
2900
3258
  }>, "many">, z.ZodNull]>>;
2901
3259
  function_call: z.ZodOptional<z.ZodObject<{
@@ -2960,6 +3318,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2960
3318
  text: string;
2961
3319
  cache_control?: {
2962
3320
  type: "ephemeral";
3321
+ ttl?: "5m" | "1h" | undefined;
2963
3322
  } | undefined;
2964
3323
  }[] | null | undefined;
2965
3324
  tool_calls?: {
@@ -2987,6 +3346,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
2987
3346
  text?: string | undefined;
2988
3347
  cache_control?: {
2989
3348
  type: "ephemeral";
3349
+ ttl?: "5m" | "1h" | undefined;
2990
3350
  } | undefined;
2991
3351
  }[] | null | undefined;
2992
3352
  tool_calls?: {
@@ -3008,22 +3368,27 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3008
3368
  type: z.ZodLiteral<"text">;
3009
3369
  cache_control: z.ZodOptional<z.ZodObject<{
3010
3370
  type: z.ZodLiteral<"ephemeral">;
3371
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
3011
3372
  }, "strip", z.ZodTypeAny, {
3012
3373
  type: "ephemeral";
3374
+ ttl?: "5m" | "1h" | undefined;
3013
3375
  }, {
3014
3376
  type: "ephemeral";
3377
+ ttl?: "5m" | "1h" | undefined;
3015
3378
  }>>;
3016
3379
  }, "strip", z.ZodTypeAny, {
3017
3380
  type: "text";
3018
3381
  text: string;
3019
3382
  cache_control?: {
3020
3383
  type: "ephemeral";
3384
+ ttl?: "5m" | "1h" | undefined;
3021
3385
  } | undefined;
3022
3386
  }, {
3023
3387
  type: "text";
3024
3388
  text?: string | undefined;
3025
3389
  cache_control?: {
3026
3390
  type: "ephemeral";
3391
+ ttl?: "5m" | "1h" | undefined;
3027
3392
  } | undefined;
3028
3393
  }>, "many">]>;
3029
3394
  role: z.ZodLiteral<"tool">;
@@ -3035,6 +3400,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3035
3400
  text: string;
3036
3401
  cache_control?: {
3037
3402
  type: "ephemeral";
3403
+ ttl?: "5m" | "1h" | undefined;
3038
3404
  } | undefined;
3039
3405
  }[];
3040
3406
  tool_call_id: string;
@@ -3045,6 +3411,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3045
3411
  text?: string | undefined;
3046
3412
  cache_control?: {
3047
3413
  type: "ephemeral";
3414
+ ttl?: "5m" | "1h" | undefined;
3048
3415
  } | undefined;
3049
3416
  }[];
3050
3417
  tool_call_id?: string | undefined;
@@ -3066,22 +3433,27 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3066
3433
  type: z.ZodLiteral<"text">;
3067
3434
  cache_control: z.ZodOptional<z.ZodObject<{
3068
3435
  type: z.ZodLiteral<"ephemeral">;
3436
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
3069
3437
  }, "strip", z.ZodTypeAny, {
3070
3438
  type: "ephemeral";
3439
+ ttl?: "5m" | "1h" | undefined;
3071
3440
  }, {
3072
3441
  type: "ephemeral";
3442
+ ttl?: "5m" | "1h" | undefined;
3073
3443
  }>>;
3074
3444
  }, "strip", z.ZodTypeAny, {
3075
3445
  type: "text";
3076
3446
  text: string;
3077
3447
  cache_control?: {
3078
3448
  type: "ephemeral";
3449
+ ttl?: "5m" | "1h" | undefined;
3079
3450
  } | undefined;
3080
3451
  }, {
3081
3452
  type: "text";
3082
3453
  text?: string | undefined;
3083
3454
  cache_control?: {
3084
3455
  type: "ephemeral";
3456
+ ttl?: "5m" | "1h" | undefined;
3085
3457
  } | undefined;
3086
3458
  }>, "many">]>;
3087
3459
  role: z.ZodLiteral<"developer">;
@@ -3093,6 +3465,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3093
3465
  text: string;
3094
3466
  cache_control?: {
3095
3467
  type: "ephemeral";
3468
+ ttl?: "5m" | "1h" | undefined;
3096
3469
  } | undefined;
3097
3470
  }[];
3098
3471
  name?: string | undefined;
@@ -3103,6 +3476,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3103
3476
  text?: string | undefined;
3104
3477
  cache_control?: {
3105
3478
  type: "ephemeral";
3479
+ ttl?: "5m" | "1h" | undefined;
3106
3480
  } | undefined;
3107
3481
  }[];
3108
3482
  name?: string | undefined;
@@ -3126,6 +3500,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3126
3500
  text: string;
3127
3501
  cache_control?: {
3128
3502
  type: "ephemeral";
3503
+ ttl?: "5m" | "1h" | undefined;
3129
3504
  } | undefined;
3130
3505
  }[];
3131
3506
  name?: string | undefined;
@@ -3136,6 +3511,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3136
3511
  text: string;
3137
3512
  cache_control?: {
3138
3513
  type: "ephemeral";
3514
+ ttl?: "5m" | "1h" | undefined;
3139
3515
  } | undefined;
3140
3516
  } | {
3141
3517
  type: "image_url";
@@ -3143,6 +3519,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3143
3519
  url: string;
3144
3520
  detail?: "auto" | "low" | "high" | undefined;
3145
3521
  };
3522
+ cache_control?: {
3523
+ type: "ephemeral";
3524
+ ttl?: "5m" | "1h" | undefined;
3525
+ } | undefined;
3146
3526
  } | {
3147
3527
  type: "file";
3148
3528
  file: {
@@ -3150,6 +3530,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3150
3530
  file_data?: string | undefined;
3151
3531
  file_id?: string | undefined;
3152
3532
  };
3533
+ cache_control?: {
3534
+ type: "ephemeral";
3535
+ ttl?: "5m" | "1h" | undefined;
3536
+ } | undefined;
3153
3537
  })[];
3154
3538
  name?: string | undefined;
3155
3539
  } | {
@@ -3164,6 +3548,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3164
3548
  text: string;
3165
3549
  cache_control?: {
3166
3550
  type: "ephemeral";
3551
+ ttl?: "5m" | "1h" | undefined;
3167
3552
  } | undefined;
3168
3553
  }[] | null | undefined;
3169
3554
  tool_calls?: {
@@ -3186,6 +3571,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3186
3571
  text: string;
3187
3572
  cache_control?: {
3188
3573
  type: "ephemeral";
3574
+ ttl?: "5m" | "1h" | undefined;
3189
3575
  } | undefined;
3190
3576
  }[];
3191
3577
  tool_call_id: string;
@@ -3200,6 +3586,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3200
3586
  text: string;
3201
3587
  cache_control?: {
3202
3588
  type: "ephemeral";
3589
+ ttl?: "5m" | "1h" | undefined;
3203
3590
  } | undefined;
3204
3591
  }[];
3205
3592
  name?: string | undefined;
@@ -3217,6 +3604,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3217
3604
  text?: string | undefined;
3218
3605
  cache_control?: {
3219
3606
  type: "ephemeral";
3607
+ ttl?: "5m" | "1h" | undefined;
3220
3608
  } | undefined;
3221
3609
  }[];
3222
3610
  name?: string | undefined;
@@ -3227,6 +3615,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3227
3615
  text?: string | undefined;
3228
3616
  cache_control?: {
3229
3617
  type: "ephemeral";
3618
+ ttl?: "5m" | "1h" | undefined;
3230
3619
  } | undefined;
3231
3620
  } | {
3232
3621
  type: "image_url";
@@ -3234,6 +3623,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3234
3623
  url: string;
3235
3624
  detail?: "auto" | "low" | "high" | undefined;
3236
3625
  };
3626
+ cache_control?: {
3627
+ type: "ephemeral";
3628
+ ttl?: "5m" | "1h" | undefined;
3629
+ } | undefined;
3237
3630
  } | {
3238
3631
  type: "file";
3239
3632
  file: {
@@ -3241,6 +3634,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3241
3634
  file_data?: string | undefined;
3242
3635
  file_id?: string | undefined;
3243
3636
  };
3637
+ cache_control?: {
3638
+ type: "ephemeral";
3639
+ ttl?: "5m" | "1h" | undefined;
3640
+ } | undefined;
3244
3641
  })[];
3245
3642
  name?: string | undefined;
3246
3643
  } | {
@@ -3255,6 +3652,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3255
3652
  text?: string | undefined;
3256
3653
  cache_control?: {
3257
3654
  type: "ephemeral";
3655
+ ttl?: "5m" | "1h" | undefined;
3258
3656
  } | undefined;
3259
3657
  }[] | null | undefined;
3260
3658
  tool_calls?: {
@@ -3277,6 +3675,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3277
3675
  text?: string | undefined;
3278
3676
  cache_control?: {
3279
3677
  type: "ephemeral";
3678
+ ttl?: "5m" | "1h" | undefined;
3280
3679
  } | undefined;
3281
3680
  }[];
3282
3681
  tool_call_id?: string | undefined;
@@ -3291,6 +3690,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3291
3690
  text?: string | undefined;
3292
3691
  cache_control?: {
3293
3692
  type: "ephemeral";
3693
+ ttl?: "5m" | "1h" | undefined;
3294
3694
  } | undefined;
3295
3695
  }[];
3296
3696
  name?: string | undefined;
@@ -3320,6 +3720,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3320
3720
  text: string;
3321
3721
  cache_control?: {
3322
3722
  type: "ephemeral";
3723
+ ttl?: "5m" | "1h" | undefined;
3323
3724
  } | undefined;
3324
3725
  }[];
3325
3726
  name?: string | undefined;
@@ -3330,6 +3731,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3330
3731
  text: string;
3331
3732
  cache_control?: {
3332
3733
  type: "ephemeral";
3734
+ ttl?: "5m" | "1h" | undefined;
3333
3735
  } | undefined;
3334
3736
  } | {
3335
3737
  type: "image_url";
@@ -3337,6 +3739,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3337
3739
  url: string;
3338
3740
  detail?: "auto" | "low" | "high" | undefined;
3339
3741
  };
3742
+ cache_control?: {
3743
+ type: "ephemeral";
3744
+ ttl?: "5m" | "1h" | undefined;
3745
+ } | undefined;
3340
3746
  } | {
3341
3747
  type: "file";
3342
3748
  file: {
@@ -3344,6 +3750,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3344
3750
  file_data?: string | undefined;
3345
3751
  file_id?: string | undefined;
3346
3752
  };
3753
+ cache_control?: {
3754
+ type: "ephemeral";
3755
+ ttl?: "5m" | "1h" | undefined;
3756
+ } | undefined;
3347
3757
  })[];
3348
3758
  name?: string | undefined;
3349
3759
  } | {
@@ -3358,6 +3768,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3358
3768
  text: string;
3359
3769
  cache_control?: {
3360
3770
  type: "ephemeral";
3771
+ ttl?: "5m" | "1h" | undefined;
3361
3772
  } | undefined;
3362
3773
  }[] | null | undefined;
3363
3774
  tool_calls?: {
@@ -3380,6 +3791,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3380
3791
  text: string;
3381
3792
  cache_control?: {
3382
3793
  type: "ephemeral";
3794
+ ttl?: "5m" | "1h" | undefined;
3383
3795
  } | undefined;
3384
3796
  }[];
3385
3797
  tool_call_id: string;
@@ -3394,6 +3806,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3394
3806
  text: string;
3395
3807
  cache_control?: {
3396
3808
  type: "ephemeral";
3809
+ ttl?: "5m" | "1h" | undefined;
3397
3810
  } | undefined;
3398
3811
  }[];
3399
3812
  name?: string | undefined;
@@ -3422,6 +3835,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3422
3835
  text?: string | undefined;
3423
3836
  cache_control?: {
3424
3837
  type: "ephemeral";
3838
+ ttl?: "5m" | "1h" | undefined;
3425
3839
  } | undefined;
3426
3840
  }[];
3427
3841
  name?: string | undefined;
@@ -3432,6 +3846,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3432
3846
  text?: string | undefined;
3433
3847
  cache_control?: {
3434
3848
  type: "ephemeral";
3849
+ ttl?: "5m" | "1h" | undefined;
3435
3850
  } | undefined;
3436
3851
  } | {
3437
3852
  type: "image_url";
@@ -3439,6 +3854,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3439
3854
  url: string;
3440
3855
  detail?: "auto" | "low" | "high" | undefined;
3441
3856
  };
3857
+ cache_control?: {
3858
+ type: "ephemeral";
3859
+ ttl?: "5m" | "1h" | undefined;
3860
+ } | undefined;
3442
3861
  } | {
3443
3862
  type: "file";
3444
3863
  file: {
@@ -3446,6 +3865,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3446
3865
  file_data?: string | undefined;
3447
3866
  file_id?: string | undefined;
3448
3867
  };
3868
+ cache_control?: {
3869
+ type: "ephemeral";
3870
+ ttl?: "5m" | "1h" | undefined;
3871
+ } | undefined;
3449
3872
  })[];
3450
3873
  name?: string | undefined;
3451
3874
  } | {
@@ -3460,6 +3883,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3460
3883
  text?: string | undefined;
3461
3884
  cache_control?: {
3462
3885
  type: "ephemeral";
3886
+ ttl?: "5m" | "1h" | undefined;
3463
3887
  } | undefined;
3464
3888
  }[] | null | undefined;
3465
3889
  tool_calls?: {
@@ -3482,6 +3906,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3482
3906
  text?: string | undefined;
3483
3907
  cache_control?: {
3484
3908
  type: "ephemeral";
3909
+ ttl?: "5m" | "1h" | undefined;
3485
3910
  } | undefined;
3486
3911
  }[];
3487
3912
  tool_call_id?: string | undefined;
@@ -3496,6 +3921,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3496
3921
  text?: string | undefined;
3497
3922
  cache_control?: {
3498
3923
  type: "ephemeral";
3924
+ ttl?: "5m" | "1h" | undefined;
3499
3925
  } | undefined;
3500
3926
  }[];
3501
3927
  name?: string | undefined;
@@ -3625,6 +4051,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3625
4051
  text: string;
3626
4052
  cache_control?: {
3627
4053
  type: "ephemeral";
4054
+ ttl?: "5m" | "1h" | undefined;
3628
4055
  } | undefined;
3629
4056
  }[];
3630
4057
  name?: string | undefined;
@@ -3635,6 +4062,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3635
4062
  text: string;
3636
4063
  cache_control?: {
3637
4064
  type: "ephemeral";
4065
+ ttl?: "5m" | "1h" | undefined;
3638
4066
  } | undefined;
3639
4067
  } | {
3640
4068
  type: "image_url";
@@ -3642,6 +4070,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3642
4070
  url: string;
3643
4071
  detail?: "auto" | "low" | "high" | undefined;
3644
4072
  };
4073
+ cache_control?: {
4074
+ type: "ephemeral";
4075
+ ttl?: "5m" | "1h" | undefined;
4076
+ } | undefined;
3645
4077
  } | {
3646
4078
  type: "file";
3647
4079
  file: {
@@ -3649,6 +4081,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3649
4081
  file_data?: string | undefined;
3650
4082
  file_id?: string | undefined;
3651
4083
  };
4084
+ cache_control?: {
4085
+ type: "ephemeral";
4086
+ ttl?: "5m" | "1h" | undefined;
4087
+ } | undefined;
3652
4088
  })[];
3653
4089
  name?: string | undefined;
3654
4090
  } | {
@@ -3663,6 +4099,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3663
4099
  text: string;
3664
4100
  cache_control?: {
3665
4101
  type: "ephemeral";
4102
+ ttl?: "5m" | "1h" | undefined;
3666
4103
  } | undefined;
3667
4104
  }[] | null | undefined;
3668
4105
  tool_calls?: {
@@ -3685,6 +4122,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3685
4122
  text: string;
3686
4123
  cache_control?: {
3687
4124
  type: "ephemeral";
4125
+ ttl?: "5m" | "1h" | undefined;
3688
4126
  } | undefined;
3689
4127
  }[];
3690
4128
  tool_call_id: string;
@@ -3699,6 +4137,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3699
4137
  text: string;
3700
4138
  cache_control?: {
3701
4139
  type: "ephemeral";
4140
+ ttl?: "5m" | "1h" | undefined;
3702
4141
  } | undefined;
3703
4142
  }[];
3704
4143
  name?: string | undefined;
@@ -3796,6 +4235,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3796
4235
  text?: string | undefined;
3797
4236
  cache_control?: {
3798
4237
  type: "ephemeral";
4238
+ ttl?: "5m" | "1h" | undefined;
3799
4239
  } | undefined;
3800
4240
  }[];
3801
4241
  name?: string | undefined;
@@ -3806,6 +4246,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3806
4246
  text?: string | undefined;
3807
4247
  cache_control?: {
3808
4248
  type: "ephemeral";
4249
+ ttl?: "5m" | "1h" | undefined;
3809
4250
  } | undefined;
3810
4251
  } | {
3811
4252
  type: "image_url";
@@ -3813,6 +4254,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3813
4254
  url: string;
3814
4255
  detail?: "auto" | "low" | "high" | undefined;
3815
4256
  };
4257
+ cache_control?: {
4258
+ type: "ephemeral";
4259
+ ttl?: "5m" | "1h" | undefined;
4260
+ } | undefined;
3816
4261
  } | {
3817
4262
  type: "file";
3818
4263
  file: {
@@ -3820,6 +4265,10 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3820
4265
  file_data?: string | undefined;
3821
4266
  file_id?: string | undefined;
3822
4267
  };
4268
+ cache_control?: {
4269
+ type: "ephemeral";
4270
+ ttl?: "5m" | "1h" | undefined;
4271
+ } | undefined;
3823
4272
  })[];
3824
4273
  name?: string | undefined;
3825
4274
  } | {
@@ -3834,6 +4283,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3834
4283
  text?: string | undefined;
3835
4284
  cache_control?: {
3836
4285
  type: "ephemeral";
4286
+ ttl?: "5m" | "1h" | undefined;
3837
4287
  } | undefined;
3838
4288
  }[] | null | undefined;
3839
4289
  tool_calls?: {
@@ -3856,6 +4306,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3856
4306
  text?: string | undefined;
3857
4307
  cache_control?: {
3858
4308
  type: "ephemeral";
4309
+ ttl?: "5m" | "1h" | undefined;
3859
4310
  } | undefined;
3860
4311
  }[];
3861
4312
  tool_call_id?: string | undefined;
@@ -3870,6 +4321,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
3870
4321
  text?: string | undefined;
3871
4322
  cache_control?: {
3872
4323
  type: "ephemeral";
4324
+ ttl?: "5m" | "1h" | undefined;
3873
4325
  } | undefined;
3874
4326
  }[];
3875
4327
  name?: string | undefined;
@@ -4399,22 +4851,27 @@ declare const PromptData: z.ZodObject<{
4399
4851
  type: z.ZodLiteral<"text">;
4400
4852
  cache_control: z.ZodOptional<z.ZodObject<{
4401
4853
  type: z.ZodLiteral<"ephemeral">;
4854
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4402
4855
  }, "strip", z.ZodTypeAny, {
4403
4856
  type: "ephemeral";
4857
+ ttl?: "5m" | "1h" | undefined;
4404
4858
  }, {
4405
4859
  type: "ephemeral";
4860
+ ttl?: "5m" | "1h" | undefined;
4406
4861
  }>>;
4407
4862
  }, "strip", z.ZodTypeAny, {
4408
4863
  type: "text";
4409
4864
  text: string;
4410
4865
  cache_control?: {
4411
4866
  type: "ephemeral";
4867
+ ttl?: "5m" | "1h" | undefined;
4412
4868
  } | undefined;
4413
4869
  }, {
4414
4870
  type: "text";
4415
4871
  text?: string | undefined;
4416
4872
  cache_control?: {
4417
4873
  type: "ephemeral";
4874
+ ttl?: "5m" | "1h" | undefined;
4418
4875
  } | undefined;
4419
4876
  }>, "many">]>;
4420
4877
  role: z.ZodLiteral<"system">;
@@ -4426,6 +4883,7 @@ declare const PromptData: z.ZodObject<{
4426
4883
  text: string;
4427
4884
  cache_control?: {
4428
4885
  type: "ephemeral";
4886
+ ttl?: "5m" | "1h" | undefined;
4429
4887
  } | undefined;
4430
4888
  }[];
4431
4889
  name?: string | undefined;
@@ -4436,6 +4894,7 @@ declare const PromptData: z.ZodObject<{
4436
4894
  text?: string | undefined;
4437
4895
  cache_control?: {
4438
4896
  type: "ephemeral";
4897
+ ttl?: "5m" | "1h" | undefined;
4439
4898
  } | undefined;
4440
4899
  }[];
4441
4900
  name?: string | undefined;
@@ -4445,22 +4904,27 @@ declare const PromptData: z.ZodObject<{
4445
4904
  type: z.ZodLiteral<"text">;
4446
4905
  cache_control: z.ZodOptional<z.ZodObject<{
4447
4906
  type: z.ZodLiteral<"ephemeral">;
4907
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4448
4908
  }, "strip", z.ZodTypeAny, {
4449
4909
  type: "ephemeral";
4910
+ ttl?: "5m" | "1h" | undefined;
4450
4911
  }, {
4451
4912
  type: "ephemeral";
4913
+ ttl?: "5m" | "1h" | undefined;
4452
4914
  }>>;
4453
4915
  }, "strip", z.ZodTypeAny, {
4454
4916
  type: "text";
4455
4917
  text: string;
4456
4918
  cache_control?: {
4457
4919
  type: "ephemeral";
4920
+ ttl?: "5m" | "1h" | undefined;
4458
4921
  } | undefined;
4459
4922
  }, {
4460
4923
  type: "text";
4461
4924
  text?: string | undefined;
4462
4925
  cache_control?: {
4463
4926
  type: "ephemeral";
4927
+ ttl?: "5m" | "1h" | undefined;
4464
4928
  } | undefined;
4465
4929
  }>, z.ZodObject<{
4466
4930
  image_url: z.ZodObject<{
@@ -4474,18 +4938,36 @@ declare const PromptData: z.ZodObject<{
4474
4938
  detail?: "auto" | "low" | "high" | undefined;
4475
4939
  }>;
4476
4940
  type: z.ZodLiteral<"image_url">;
4941
+ cache_control: z.ZodOptional<z.ZodObject<{
4942
+ type: z.ZodLiteral<"ephemeral">;
4943
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4944
+ }, "strip", z.ZodTypeAny, {
4945
+ type: "ephemeral";
4946
+ ttl?: "5m" | "1h" | undefined;
4947
+ }, {
4948
+ type: "ephemeral";
4949
+ ttl?: "5m" | "1h" | undefined;
4950
+ }>>;
4477
4951
  }, "strip", z.ZodTypeAny, {
4478
4952
  type: "image_url";
4479
4953
  image_url: {
4480
4954
  url: string;
4481
4955
  detail?: "auto" | "low" | "high" | undefined;
4482
4956
  };
4957
+ cache_control?: {
4958
+ type: "ephemeral";
4959
+ ttl?: "5m" | "1h" | undefined;
4960
+ } | undefined;
4483
4961
  }, {
4484
4962
  type: "image_url";
4485
4963
  image_url: {
4486
4964
  url: string;
4487
4965
  detail?: "auto" | "low" | "high" | undefined;
4488
4966
  };
4967
+ cache_control?: {
4968
+ type: "ephemeral";
4969
+ ttl?: "5m" | "1h" | undefined;
4970
+ } | undefined;
4489
4971
  }>, z.ZodObject<{
4490
4972
  file: z.ZodObject<{
4491
4973
  file_data: z.ZodOptional<z.ZodString>;
@@ -4501,6 +4983,16 @@ declare const PromptData: z.ZodObject<{
4501
4983
  file_id?: string | undefined;
4502
4984
  }>;
4503
4985
  type: z.ZodLiteral<"file">;
4986
+ cache_control: z.ZodOptional<z.ZodObject<{
4987
+ type: z.ZodLiteral<"ephemeral">;
4988
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4989
+ }, "strip", z.ZodTypeAny, {
4990
+ type: "ephemeral";
4991
+ ttl?: "5m" | "1h" | undefined;
4992
+ }, {
4993
+ type: "ephemeral";
4994
+ ttl?: "5m" | "1h" | undefined;
4995
+ }>>;
4504
4996
  }, "strip", z.ZodTypeAny, {
4505
4997
  type: "file";
4506
4998
  file: {
@@ -4508,6 +5000,10 @@ declare const PromptData: z.ZodObject<{
4508
5000
  file_data?: string | undefined;
4509
5001
  file_id?: string | undefined;
4510
5002
  };
5003
+ cache_control?: {
5004
+ type: "ephemeral";
5005
+ ttl?: "5m" | "1h" | undefined;
5006
+ } | undefined;
4511
5007
  }, {
4512
5008
  type: "file";
4513
5009
  file: {
@@ -4515,6 +5011,10 @@ declare const PromptData: z.ZodObject<{
4515
5011
  file_data?: string | undefined;
4516
5012
  file_id?: string | undefined;
4517
5013
  };
5014
+ cache_control?: {
5015
+ type: "ephemeral";
5016
+ ttl?: "5m" | "1h" | undefined;
5017
+ } | undefined;
4518
5018
  }>]>, "many">]>;
4519
5019
  role: z.ZodLiteral<"user">;
4520
5020
  name: z.ZodOptional<z.ZodString>;
@@ -4525,6 +5025,7 @@ declare const PromptData: z.ZodObject<{
4525
5025
  text: string;
4526
5026
  cache_control?: {
4527
5027
  type: "ephemeral";
5028
+ ttl?: "5m" | "1h" | undefined;
4528
5029
  } | undefined;
4529
5030
  } | {
4530
5031
  type: "image_url";
@@ -4532,6 +5033,10 @@ declare const PromptData: z.ZodObject<{
4532
5033
  url: string;
4533
5034
  detail?: "auto" | "low" | "high" | undefined;
4534
5035
  };
5036
+ cache_control?: {
5037
+ type: "ephemeral";
5038
+ ttl?: "5m" | "1h" | undefined;
5039
+ } | undefined;
4535
5040
  } | {
4536
5041
  type: "file";
4537
5042
  file: {
@@ -4539,6 +5044,10 @@ declare const PromptData: z.ZodObject<{
4539
5044
  file_data?: string | undefined;
4540
5045
  file_id?: string | undefined;
4541
5046
  };
5047
+ cache_control?: {
5048
+ type: "ephemeral";
5049
+ ttl?: "5m" | "1h" | undefined;
5050
+ } | undefined;
4542
5051
  })[];
4543
5052
  name?: string | undefined;
4544
5053
  }, {
@@ -4548,6 +5057,7 @@ declare const PromptData: z.ZodObject<{
4548
5057
  text?: string | undefined;
4549
5058
  cache_control?: {
4550
5059
  type: "ephemeral";
5060
+ ttl?: "5m" | "1h" | undefined;
4551
5061
  } | undefined;
4552
5062
  } | {
4553
5063
  type: "image_url";
@@ -4555,6 +5065,10 @@ declare const PromptData: z.ZodObject<{
4555
5065
  url: string;
4556
5066
  detail?: "auto" | "low" | "high" | undefined;
4557
5067
  };
5068
+ cache_control?: {
5069
+ type: "ephemeral";
5070
+ ttl?: "5m" | "1h" | undefined;
5071
+ } | undefined;
4558
5072
  } | {
4559
5073
  type: "file";
4560
5074
  file: {
@@ -4562,6 +5076,10 @@ declare const PromptData: z.ZodObject<{
4562
5076
  file_data?: string | undefined;
4563
5077
  file_id?: string | undefined;
4564
5078
  };
5079
+ cache_control?: {
5080
+ type: "ephemeral";
5081
+ ttl?: "5m" | "1h" | undefined;
5082
+ } | undefined;
4565
5083
  })[];
4566
5084
  name?: string | undefined;
4567
5085
  }>, z.ZodObject<{
@@ -4571,22 +5089,27 @@ declare const PromptData: z.ZodObject<{
4571
5089
  type: z.ZodLiteral<"text">;
4572
5090
  cache_control: z.ZodOptional<z.ZodObject<{
4573
5091
  type: z.ZodLiteral<"ephemeral">;
5092
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4574
5093
  }, "strip", z.ZodTypeAny, {
4575
5094
  type: "ephemeral";
5095
+ ttl?: "5m" | "1h" | undefined;
4576
5096
  }, {
4577
5097
  type: "ephemeral";
5098
+ ttl?: "5m" | "1h" | undefined;
4578
5099
  }>>;
4579
5100
  }, "strip", z.ZodTypeAny, {
4580
5101
  type: "text";
4581
5102
  text: string;
4582
5103
  cache_control?: {
4583
5104
  type: "ephemeral";
5105
+ ttl?: "5m" | "1h" | undefined;
4584
5106
  } | undefined;
4585
5107
  }, {
4586
5108
  type: "text";
4587
5109
  text?: string | undefined;
4588
5110
  cache_control?: {
4589
5111
  type: "ephemeral";
5112
+ ttl?: "5m" | "1h" | undefined;
4590
5113
  } | undefined;
4591
5114
  }>, "many">, z.ZodNull]>>;
4592
5115
  function_call: z.ZodOptional<z.ZodObject<{
@@ -4651,6 +5174,7 @@ declare const PromptData: z.ZodObject<{
4651
5174
  text: string;
4652
5175
  cache_control?: {
4653
5176
  type: "ephemeral";
5177
+ ttl?: "5m" | "1h" | undefined;
4654
5178
  } | undefined;
4655
5179
  }[] | null | undefined;
4656
5180
  tool_calls?: {
@@ -4678,6 +5202,7 @@ declare const PromptData: z.ZodObject<{
4678
5202
  text?: string | undefined;
4679
5203
  cache_control?: {
4680
5204
  type: "ephemeral";
5205
+ ttl?: "5m" | "1h" | undefined;
4681
5206
  } | undefined;
4682
5207
  }[] | null | undefined;
4683
5208
  tool_calls?: {
@@ -4699,22 +5224,27 @@ declare const PromptData: z.ZodObject<{
4699
5224
  type: z.ZodLiteral<"text">;
4700
5225
  cache_control: z.ZodOptional<z.ZodObject<{
4701
5226
  type: z.ZodLiteral<"ephemeral">;
5227
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4702
5228
  }, "strip", z.ZodTypeAny, {
4703
5229
  type: "ephemeral";
5230
+ ttl?: "5m" | "1h" | undefined;
4704
5231
  }, {
4705
5232
  type: "ephemeral";
5233
+ ttl?: "5m" | "1h" | undefined;
4706
5234
  }>>;
4707
5235
  }, "strip", z.ZodTypeAny, {
4708
5236
  type: "text";
4709
5237
  text: string;
4710
5238
  cache_control?: {
4711
5239
  type: "ephemeral";
5240
+ ttl?: "5m" | "1h" | undefined;
4712
5241
  } | undefined;
4713
5242
  }, {
4714
5243
  type: "text";
4715
5244
  text?: string | undefined;
4716
5245
  cache_control?: {
4717
5246
  type: "ephemeral";
5247
+ ttl?: "5m" | "1h" | undefined;
4718
5248
  } | undefined;
4719
5249
  }>, "many">]>;
4720
5250
  role: z.ZodLiteral<"tool">;
@@ -4726,6 +5256,7 @@ declare const PromptData: z.ZodObject<{
4726
5256
  text: string;
4727
5257
  cache_control?: {
4728
5258
  type: "ephemeral";
5259
+ ttl?: "5m" | "1h" | undefined;
4729
5260
  } | undefined;
4730
5261
  }[];
4731
5262
  tool_call_id: string;
@@ -4736,6 +5267,7 @@ declare const PromptData: z.ZodObject<{
4736
5267
  text?: string | undefined;
4737
5268
  cache_control?: {
4738
5269
  type: "ephemeral";
5270
+ ttl?: "5m" | "1h" | undefined;
4739
5271
  } | undefined;
4740
5272
  }[];
4741
5273
  tool_call_id?: string | undefined;
@@ -4757,22 +5289,27 @@ declare const PromptData: z.ZodObject<{
4757
5289
  type: z.ZodLiteral<"text">;
4758
5290
  cache_control: z.ZodOptional<z.ZodObject<{
4759
5291
  type: z.ZodLiteral<"ephemeral">;
5292
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
4760
5293
  }, "strip", z.ZodTypeAny, {
4761
5294
  type: "ephemeral";
5295
+ ttl?: "5m" | "1h" | undefined;
4762
5296
  }, {
4763
5297
  type: "ephemeral";
5298
+ ttl?: "5m" | "1h" | undefined;
4764
5299
  }>>;
4765
5300
  }, "strip", z.ZodTypeAny, {
4766
5301
  type: "text";
4767
5302
  text: string;
4768
5303
  cache_control?: {
4769
5304
  type: "ephemeral";
5305
+ ttl?: "5m" | "1h" | undefined;
4770
5306
  } | undefined;
4771
5307
  }, {
4772
5308
  type: "text";
4773
5309
  text?: string | undefined;
4774
5310
  cache_control?: {
4775
5311
  type: "ephemeral";
5312
+ ttl?: "5m" | "1h" | undefined;
4776
5313
  } | undefined;
4777
5314
  }>, "many">]>;
4778
5315
  role: z.ZodLiteral<"developer">;
@@ -4784,6 +5321,7 @@ declare const PromptData: z.ZodObject<{
4784
5321
  text: string;
4785
5322
  cache_control?: {
4786
5323
  type: "ephemeral";
5324
+ ttl?: "5m" | "1h" | undefined;
4787
5325
  } | undefined;
4788
5326
  }[];
4789
5327
  name?: string | undefined;
@@ -4794,6 +5332,7 @@ declare const PromptData: z.ZodObject<{
4794
5332
  text?: string | undefined;
4795
5333
  cache_control?: {
4796
5334
  type: "ephemeral";
5335
+ ttl?: "5m" | "1h" | undefined;
4797
5336
  } | undefined;
4798
5337
  }[];
4799
5338
  name?: string | undefined;
@@ -4817,6 +5356,7 @@ declare const PromptData: z.ZodObject<{
4817
5356
  text: string;
4818
5357
  cache_control?: {
4819
5358
  type: "ephemeral";
5359
+ ttl?: "5m" | "1h" | undefined;
4820
5360
  } | undefined;
4821
5361
  }[];
4822
5362
  name?: string | undefined;
@@ -4827,6 +5367,7 @@ declare const PromptData: z.ZodObject<{
4827
5367
  text: string;
4828
5368
  cache_control?: {
4829
5369
  type: "ephemeral";
5370
+ ttl?: "5m" | "1h" | undefined;
4830
5371
  } | undefined;
4831
5372
  } | {
4832
5373
  type: "image_url";
@@ -4834,6 +5375,10 @@ declare const PromptData: z.ZodObject<{
4834
5375
  url: string;
4835
5376
  detail?: "auto" | "low" | "high" | undefined;
4836
5377
  };
5378
+ cache_control?: {
5379
+ type: "ephemeral";
5380
+ ttl?: "5m" | "1h" | undefined;
5381
+ } | undefined;
4837
5382
  } | {
4838
5383
  type: "file";
4839
5384
  file: {
@@ -4841,6 +5386,10 @@ declare const PromptData: z.ZodObject<{
4841
5386
  file_data?: string | undefined;
4842
5387
  file_id?: string | undefined;
4843
5388
  };
5389
+ cache_control?: {
5390
+ type: "ephemeral";
5391
+ ttl?: "5m" | "1h" | undefined;
5392
+ } | undefined;
4844
5393
  })[];
4845
5394
  name?: string | undefined;
4846
5395
  } | {
@@ -4855,6 +5404,7 @@ declare const PromptData: z.ZodObject<{
4855
5404
  text: string;
4856
5405
  cache_control?: {
4857
5406
  type: "ephemeral";
5407
+ ttl?: "5m" | "1h" | undefined;
4858
5408
  } | undefined;
4859
5409
  }[] | null | undefined;
4860
5410
  tool_calls?: {
@@ -4877,6 +5427,7 @@ declare const PromptData: z.ZodObject<{
4877
5427
  text: string;
4878
5428
  cache_control?: {
4879
5429
  type: "ephemeral";
5430
+ ttl?: "5m" | "1h" | undefined;
4880
5431
  } | undefined;
4881
5432
  }[];
4882
5433
  tool_call_id: string;
@@ -4891,6 +5442,7 @@ declare const PromptData: z.ZodObject<{
4891
5442
  text: string;
4892
5443
  cache_control?: {
4893
5444
  type: "ephemeral";
5445
+ ttl?: "5m" | "1h" | undefined;
4894
5446
  } | undefined;
4895
5447
  }[];
4896
5448
  name?: string | undefined;
@@ -4908,6 +5460,7 @@ declare const PromptData: z.ZodObject<{
4908
5460
  text?: string | undefined;
4909
5461
  cache_control?: {
4910
5462
  type: "ephemeral";
5463
+ ttl?: "5m" | "1h" | undefined;
4911
5464
  } | undefined;
4912
5465
  }[];
4913
5466
  name?: string | undefined;
@@ -4918,6 +5471,7 @@ declare const PromptData: z.ZodObject<{
4918
5471
  text?: string | undefined;
4919
5472
  cache_control?: {
4920
5473
  type: "ephemeral";
5474
+ ttl?: "5m" | "1h" | undefined;
4921
5475
  } | undefined;
4922
5476
  } | {
4923
5477
  type: "image_url";
@@ -4925,6 +5479,10 @@ declare const PromptData: z.ZodObject<{
4925
5479
  url: string;
4926
5480
  detail?: "auto" | "low" | "high" | undefined;
4927
5481
  };
5482
+ cache_control?: {
5483
+ type: "ephemeral";
5484
+ ttl?: "5m" | "1h" | undefined;
5485
+ } | undefined;
4928
5486
  } | {
4929
5487
  type: "file";
4930
5488
  file: {
@@ -4932,6 +5490,10 @@ declare const PromptData: z.ZodObject<{
4932
5490
  file_data?: string | undefined;
4933
5491
  file_id?: string | undefined;
4934
5492
  };
5493
+ cache_control?: {
5494
+ type: "ephemeral";
5495
+ ttl?: "5m" | "1h" | undefined;
5496
+ } | undefined;
4935
5497
  })[];
4936
5498
  name?: string | undefined;
4937
5499
  } | {
@@ -4946,6 +5508,7 @@ declare const PromptData: z.ZodObject<{
4946
5508
  text?: string | undefined;
4947
5509
  cache_control?: {
4948
5510
  type: "ephemeral";
5511
+ ttl?: "5m" | "1h" | undefined;
4949
5512
  } | undefined;
4950
5513
  }[] | null | undefined;
4951
5514
  tool_calls?: {
@@ -4968,6 +5531,7 @@ declare const PromptData: z.ZodObject<{
4968
5531
  text?: string | undefined;
4969
5532
  cache_control?: {
4970
5533
  type: "ephemeral";
5534
+ ttl?: "5m" | "1h" | undefined;
4971
5535
  } | undefined;
4972
5536
  }[];
4973
5537
  tool_call_id?: string | undefined;
@@ -4982,6 +5546,7 @@ declare const PromptData: z.ZodObject<{
4982
5546
  text?: string | undefined;
4983
5547
  cache_control?: {
4984
5548
  type: "ephemeral";
5549
+ ttl?: "5m" | "1h" | undefined;
4985
5550
  } | undefined;
4986
5551
  }[];
4987
5552
  name?: string | undefined;
@@ -5816,6 +6381,7 @@ declare const PromptData: z.ZodObject<{
5816
6381
  text: string;
5817
6382
  cache_control?: {
5818
6383
  type: "ephemeral";
6384
+ ttl?: "5m" | "1h" | undefined;
5819
6385
  } | undefined;
5820
6386
  }[];
5821
6387
  name?: string | undefined;
@@ -5826,6 +6392,7 @@ declare const PromptData: z.ZodObject<{
5826
6392
  text: string;
5827
6393
  cache_control?: {
5828
6394
  type: "ephemeral";
6395
+ ttl?: "5m" | "1h" | undefined;
5829
6396
  } | undefined;
5830
6397
  } | {
5831
6398
  type: "image_url";
@@ -5833,6 +6400,10 @@ declare const PromptData: z.ZodObject<{
5833
6400
  url: string;
5834
6401
  detail?: "auto" | "low" | "high" | undefined;
5835
6402
  };
6403
+ cache_control?: {
6404
+ type: "ephemeral";
6405
+ ttl?: "5m" | "1h" | undefined;
6406
+ } | undefined;
5836
6407
  } | {
5837
6408
  type: "file";
5838
6409
  file: {
@@ -5840,6 +6411,10 @@ declare const PromptData: z.ZodObject<{
5840
6411
  file_data?: string | undefined;
5841
6412
  file_id?: string | undefined;
5842
6413
  };
6414
+ cache_control?: {
6415
+ type: "ephemeral";
6416
+ ttl?: "5m" | "1h" | undefined;
6417
+ } | undefined;
5843
6418
  })[];
5844
6419
  name?: string | undefined;
5845
6420
  } | {
@@ -5854,6 +6429,7 @@ declare const PromptData: z.ZodObject<{
5854
6429
  text: string;
5855
6430
  cache_control?: {
5856
6431
  type: "ephemeral";
6432
+ ttl?: "5m" | "1h" | undefined;
5857
6433
  } | undefined;
5858
6434
  }[] | null | undefined;
5859
6435
  tool_calls?: {
@@ -5876,6 +6452,7 @@ declare const PromptData: z.ZodObject<{
5876
6452
  text: string;
5877
6453
  cache_control?: {
5878
6454
  type: "ephemeral";
6455
+ ttl?: "5m" | "1h" | undefined;
5879
6456
  } | undefined;
5880
6457
  }[];
5881
6458
  tool_call_id: string;
@@ -5890,6 +6467,7 @@ declare const PromptData: z.ZodObject<{
5890
6467
  text: string;
5891
6468
  cache_control?: {
5892
6469
  type: "ephemeral";
6470
+ ttl?: "5m" | "1h" | undefined;
5893
6471
  } | undefined;
5894
6472
  }[];
5895
6473
  name?: string | undefined;
@@ -6067,6 +6645,7 @@ declare const PromptData: z.ZodObject<{
6067
6645
  text?: string | undefined;
6068
6646
  cache_control?: {
6069
6647
  type: "ephemeral";
6648
+ ttl?: "5m" | "1h" | undefined;
6070
6649
  } | undefined;
6071
6650
  }[];
6072
6651
  name?: string | undefined;
@@ -6077,6 +6656,7 @@ declare const PromptData: z.ZodObject<{
6077
6656
  text?: string | undefined;
6078
6657
  cache_control?: {
6079
6658
  type: "ephemeral";
6659
+ ttl?: "5m" | "1h" | undefined;
6080
6660
  } | undefined;
6081
6661
  } | {
6082
6662
  type: "image_url";
@@ -6084,6 +6664,10 @@ declare const PromptData: z.ZodObject<{
6084
6664
  url: string;
6085
6665
  detail?: "auto" | "low" | "high" | undefined;
6086
6666
  };
6667
+ cache_control?: {
6668
+ type: "ephemeral";
6669
+ ttl?: "5m" | "1h" | undefined;
6670
+ } | undefined;
6087
6671
  } | {
6088
6672
  type: "file";
6089
6673
  file: {
@@ -6091,6 +6675,10 @@ declare const PromptData: z.ZodObject<{
6091
6675
  file_data?: string | undefined;
6092
6676
  file_id?: string | undefined;
6093
6677
  };
6678
+ cache_control?: {
6679
+ type: "ephemeral";
6680
+ ttl?: "5m" | "1h" | undefined;
6681
+ } | undefined;
6094
6682
  })[];
6095
6683
  name?: string | undefined;
6096
6684
  } | {
@@ -6105,6 +6693,7 @@ declare const PromptData: z.ZodObject<{
6105
6693
  text?: string | undefined;
6106
6694
  cache_control?: {
6107
6695
  type: "ephemeral";
6696
+ ttl?: "5m" | "1h" | undefined;
6108
6697
  } | undefined;
6109
6698
  }[] | null | undefined;
6110
6699
  tool_calls?: {
@@ -6127,6 +6716,7 @@ declare const PromptData: z.ZodObject<{
6127
6716
  text?: string | undefined;
6128
6717
  cache_control?: {
6129
6718
  type: "ephemeral";
6719
+ ttl?: "5m" | "1h" | undefined;
6130
6720
  } | undefined;
6131
6721
  }[];
6132
6722
  tool_call_id?: string | undefined;
@@ -6141,6 +6731,7 @@ declare const PromptData: z.ZodObject<{
6141
6731
  text?: string | undefined;
6142
6732
  cache_control?: {
6143
6733
  type: "ephemeral";
6734
+ ttl?: "5m" | "1h" | undefined;
6144
6735
  } | undefined;
6145
6736
  }[];
6146
6737
  name?: string | undefined;
@@ -6241,22 +6832,27 @@ declare const Prompt$1: z.ZodObject<{
6241
6832
  type: z.ZodLiteral<"text">;
6242
6833
  cache_control: z.ZodOptional<z.ZodObject<{
6243
6834
  type: z.ZodLiteral<"ephemeral">;
6835
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6244
6836
  }, "strip", z.ZodTypeAny, {
6245
6837
  type: "ephemeral";
6838
+ ttl?: "5m" | "1h" | undefined;
6246
6839
  }, {
6247
6840
  type: "ephemeral";
6841
+ ttl?: "5m" | "1h" | undefined;
6248
6842
  }>>;
6249
6843
  }, "strip", z.ZodTypeAny, {
6250
6844
  type: "text";
6251
6845
  text: string;
6252
6846
  cache_control?: {
6253
6847
  type: "ephemeral";
6848
+ ttl?: "5m" | "1h" | undefined;
6254
6849
  } | undefined;
6255
6850
  }, {
6256
6851
  type: "text";
6257
6852
  text?: string | undefined;
6258
6853
  cache_control?: {
6259
6854
  type: "ephemeral";
6855
+ ttl?: "5m" | "1h" | undefined;
6260
6856
  } | undefined;
6261
6857
  }>, "many">]>;
6262
6858
  role: z.ZodLiteral<"system">;
@@ -6268,6 +6864,7 @@ declare const Prompt$1: z.ZodObject<{
6268
6864
  text: string;
6269
6865
  cache_control?: {
6270
6866
  type: "ephemeral";
6867
+ ttl?: "5m" | "1h" | undefined;
6271
6868
  } | undefined;
6272
6869
  }[];
6273
6870
  name?: string | undefined;
@@ -6278,6 +6875,7 @@ declare const Prompt$1: z.ZodObject<{
6278
6875
  text?: string | undefined;
6279
6876
  cache_control?: {
6280
6877
  type: "ephemeral";
6878
+ ttl?: "5m" | "1h" | undefined;
6281
6879
  } | undefined;
6282
6880
  }[];
6283
6881
  name?: string | undefined;
@@ -6287,22 +6885,27 @@ declare const Prompt$1: z.ZodObject<{
6287
6885
  type: z.ZodLiteral<"text">;
6288
6886
  cache_control: z.ZodOptional<z.ZodObject<{
6289
6887
  type: z.ZodLiteral<"ephemeral">;
6888
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6290
6889
  }, "strip", z.ZodTypeAny, {
6291
6890
  type: "ephemeral";
6891
+ ttl?: "5m" | "1h" | undefined;
6292
6892
  }, {
6293
6893
  type: "ephemeral";
6894
+ ttl?: "5m" | "1h" | undefined;
6294
6895
  }>>;
6295
6896
  }, "strip", z.ZodTypeAny, {
6296
6897
  type: "text";
6297
6898
  text: string;
6298
6899
  cache_control?: {
6299
6900
  type: "ephemeral";
6901
+ ttl?: "5m" | "1h" | undefined;
6300
6902
  } | undefined;
6301
6903
  }, {
6302
6904
  type: "text";
6303
6905
  text?: string | undefined;
6304
6906
  cache_control?: {
6305
6907
  type: "ephemeral";
6908
+ ttl?: "5m" | "1h" | undefined;
6306
6909
  } | undefined;
6307
6910
  }>, z.ZodObject<{
6308
6911
  image_url: z.ZodObject<{
@@ -6316,18 +6919,36 @@ declare const Prompt$1: z.ZodObject<{
6316
6919
  detail?: "auto" | "low" | "high" | undefined;
6317
6920
  }>;
6318
6921
  type: z.ZodLiteral<"image_url">;
6922
+ cache_control: z.ZodOptional<z.ZodObject<{
6923
+ type: z.ZodLiteral<"ephemeral">;
6924
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6925
+ }, "strip", z.ZodTypeAny, {
6926
+ type: "ephemeral";
6927
+ ttl?: "5m" | "1h" | undefined;
6928
+ }, {
6929
+ type: "ephemeral";
6930
+ ttl?: "5m" | "1h" | undefined;
6931
+ }>>;
6319
6932
  }, "strip", z.ZodTypeAny, {
6320
6933
  type: "image_url";
6321
6934
  image_url: {
6322
6935
  url: string;
6323
6936
  detail?: "auto" | "low" | "high" | undefined;
6324
6937
  };
6938
+ cache_control?: {
6939
+ type: "ephemeral";
6940
+ ttl?: "5m" | "1h" | undefined;
6941
+ } | undefined;
6325
6942
  }, {
6326
6943
  type: "image_url";
6327
6944
  image_url: {
6328
6945
  url: string;
6329
6946
  detail?: "auto" | "low" | "high" | undefined;
6330
6947
  };
6948
+ cache_control?: {
6949
+ type: "ephemeral";
6950
+ ttl?: "5m" | "1h" | undefined;
6951
+ } | undefined;
6331
6952
  }>, z.ZodObject<{
6332
6953
  file: z.ZodObject<{
6333
6954
  file_data: z.ZodOptional<z.ZodString>;
@@ -6343,6 +6964,16 @@ declare const Prompt$1: z.ZodObject<{
6343
6964
  file_id?: string | undefined;
6344
6965
  }>;
6345
6966
  type: z.ZodLiteral<"file">;
6967
+ cache_control: z.ZodOptional<z.ZodObject<{
6968
+ type: z.ZodLiteral<"ephemeral">;
6969
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6970
+ }, "strip", z.ZodTypeAny, {
6971
+ type: "ephemeral";
6972
+ ttl?: "5m" | "1h" | undefined;
6973
+ }, {
6974
+ type: "ephemeral";
6975
+ ttl?: "5m" | "1h" | undefined;
6976
+ }>>;
6346
6977
  }, "strip", z.ZodTypeAny, {
6347
6978
  type: "file";
6348
6979
  file: {
@@ -6350,6 +6981,10 @@ declare const Prompt$1: z.ZodObject<{
6350
6981
  file_data?: string | undefined;
6351
6982
  file_id?: string | undefined;
6352
6983
  };
6984
+ cache_control?: {
6985
+ type: "ephemeral";
6986
+ ttl?: "5m" | "1h" | undefined;
6987
+ } | undefined;
6353
6988
  }, {
6354
6989
  type: "file";
6355
6990
  file: {
@@ -6357,6 +6992,10 @@ declare const Prompt$1: z.ZodObject<{
6357
6992
  file_data?: string | undefined;
6358
6993
  file_id?: string | undefined;
6359
6994
  };
6995
+ cache_control?: {
6996
+ type: "ephemeral";
6997
+ ttl?: "5m" | "1h" | undefined;
6998
+ } | undefined;
6360
6999
  }>]>, "many">]>;
6361
7000
  role: z.ZodLiteral<"user">;
6362
7001
  name: z.ZodOptional<z.ZodString>;
@@ -6367,6 +7006,7 @@ declare const Prompt$1: z.ZodObject<{
6367
7006
  text: string;
6368
7007
  cache_control?: {
6369
7008
  type: "ephemeral";
7009
+ ttl?: "5m" | "1h" | undefined;
6370
7010
  } | undefined;
6371
7011
  } | {
6372
7012
  type: "image_url";
@@ -6374,6 +7014,10 @@ declare const Prompt$1: z.ZodObject<{
6374
7014
  url: string;
6375
7015
  detail?: "auto" | "low" | "high" | undefined;
6376
7016
  };
7017
+ cache_control?: {
7018
+ type: "ephemeral";
7019
+ ttl?: "5m" | "1h" | undefined;
7020
+ } | undefined;
6377
7021
  } | {
6378
7022
  type: "file";
6379
7023
  file: {
@@ -6381,6 +7025,10 @@ declare const Prompt$1: z.ZodObject<{
6381
7025
  file_data?: string | undefined;
6382
7026
  file_id?: string | undefined;
6383
7027
  };
7028
+ cache_control?: {
7029
+ type: "ephemeral";
7030
+ ttl?: "5m" | "1h" | undefined;
7031
+ } | undefined;
6384
7032
  })[];
6385
7033
  name?: string | undefined;
6386
7034
  }, {
@@ -6390,6 +7038,7 @@ declare const Prompt$1: z.ZodObject<{
6390
7038
  text?: string | undefined;
6391
7039
  cache_control?: {
6392
7040
  type: "ephemeral";
7041
+ ttl?: "5m" | "1h" | undefined;
6393
7042
  } | undefined;
6394
7043
  } | {
6395
7044
  type: "image_url";
@@ -6397,6 +7046,10 @@ declare const Prompt$1: z.ZodObject<{
6397
7046
  url: string;
6398
7047
  detail?: "auto" | "low" | "high" | undefined;
6399
7048
  };
7049
+ cache_control?: {
7050
+ type: "ephemeral";
7051
+ ttl?: "5m" | "1h" | undefined;
7052
+ } | undefined;
6400
7053
  } | {
6401
7054
  type: "file";
6402
7055
  file: {
@@ -6404,6 +7057,10 @@ declare const Prompt$1: z.ZodObject<{
6404
7057
  file_data?: string | undefined;
6405
7058
  file_id?: string | undefined;
6406
7059
  };
7060
+ cache_control?: {
7061
+ type: "ephemeral";
7062
+ ttl?: "5m" | "1h" | undefined;
7063
+ } | undefined;
6407
7064
  })[];
6408
7065
  name?: string | undefined;
6409
7066
  }>, z.ZodObject<{
@@ -6413,22 +7070,27 @@ declare const Prompt$1: z.ZodObject<{
6413
7070
  type: z.ZodLiteral<"text">;
6414
7071
  cache_control: z.ZodOptional<z.ZodObject<{
6415
7072
  type: z.ZodLiteral<"ephemeral">;
7073
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6416
7074
  }, "strip", z.ZodTypeAny, {
6417
7075
  type: "ephemeral";
7076
+ ttl?: "5m" | "1h" | undefined;
6418
7077
  }, {
6419
7078
  type: "ephemeral";
7079
+ ttl?: "5m" | "1h" | undefined;
6420
7080
  }>>;
6421
7081
  }, "strip", z.ZodTypeAny, {
6422
7082
  type: "text";
6423
7083
  text: string;
6424
7084
  cache_control?: {
6425
7085
  type: "ephemeral";
7086
+ ttl?: "5m" | "1h" | undefined;
6426
7087
  } | undefined;
6427
7088
  }, {
6428
7089
  type: "text";
6429
7090
  text?: string | undefined;
6430
7091
  cache_control?: {
6431
7092
  type: "ephemeral";
7093
+ ttl?: "5m" | "1h" | undefined;
6432
7094
  } | undefined;
6433
7095
  }>, "many">, z.ZodNull]>>;
6434
7096
  function_call: z.ZodOptional<z.ZodObject<{
@@ -6493,6 +7155,7 @@ declare const Prompt$1: z.ZodObject<{
6493
7155
  text: string;
6494
7156
  cache_control?: {
6495
7157
  type: "ephemeral";
7158
+ ttl?: "5m" | "1h" | undefined;
6496
7159
  } | undefined;
6497
7160
  }[] | null | undefined;
6498
7161
  tool_calls?: {
@@ -6520,6 +7183,7 @@ declare const Prompt$1: z.ZodObject<{
6520
7183
  text?: string | undefined;
6521
7184
  cache_control?: {
6522
7185
  type: "ephemeral";
7186
+ ttl?: "5m" | "1h" | undefined;
6523
7187
  } | undefined;
6524
7188
  }[] | null | undefined;
6525
7189
  tool_calls?: {
@@ -6541,22 +7205,27 @@ declare const Prompt$1: z.ZodObject<{
6541
7205
  type: z.ZodLiteral<"text">;
6542
7206
  cache_control: z.ZodOptional<z.ZodObject<{
6543
7207
  type: z.ZodLiteral<"ephemeral">;
7208
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6544
7209
  }, "strip", z.ZodTypeAny, {
6545
7210
  type: "ephemeral";
7211
+ ttl?: "5m" | "1h" | undefined;
6546
7212
  }, {
6547
7213
  type: "ephemeral";
7214
+ ttl?: "5m" | "1h" | undefined;
6548
7215
  }>>;
6549
7216
  }, "strip", z.ZodTypeAny, {
6550
7217
  type: "text";
6551
7218
  text: string;
6552
7219
  cache_control?: {
6553
7220
  type: "ephemeral";
7221
+ ttl?: "5m" | "1h" | undefined;
6554
7222
  } | undefined;
6555
7223
  }, {
6556
7224
  type: "text";
6557
7225
  text?: string | undefined;
6558
7226
  cache_control?: {
6559
7227
  type: "ephemeral";
7228
+ ttl?: "5m" | "1h" | undefined;
6560
7229
  } | undefined;
6561
7230
  }>, "many">]>;
6562
7231
  role: z.ZodLiteral<"tool">;
@@ -6568,6 +7237,7 @@ declare const Prompt$1: z.ZodObject<{
6568
7237
  text: string;
6569
7238
  cache_control?: {
6570
7239
  type: "ephemeral";
7240
+ ttl?: "5m" | "1h" | undefined;
6571
7241
  } | undefined;
6572
7242
  }[];
6573
7243
  tool_call_id: string;
@@ -6578,6 +7248,7 @@ declare const Prompt$1: z.ZodObject<{
6578
7248
  text?: string | undefined;
6579
7249
  cache_control?: {
6580
7250
  type: "ephemeral";
7251
+ ttl?: "5m" | "1h" | undefined;
6581
7252
  } | undefined;
6582
7253
  }[];
6583
7254
  tool_call_id?: string | undefined;
@@ -6599,22 +7270,27 @@ declare const Prompt$1: z.ZodObject<{
6599
7270
  type: z.ZodLiteral<"text">;
6600
7271
  cache_control: z.ZodOptional<z.ZodObject<{
6601
7272
  type: z.ZodLiteral<"ephemeral">;
7273
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
6602
7274
  }, "strip", z.ZodTypeAny, {
6603
7275
  type: "ephemeral";
7276
+ ttl?: "5m" | "1h" | undefined;
6604
7277
  }, {
6605
7278
  type: "ephemeral";
7279
+ ttl?: "5m" | "1h" | undefined;
6606
7280
  }>>;
6607
7281
  }, "strip", z.ZodTypeAny, {
6608
7282
  type: "text";
6609
7283
  text: string;
6610
7284
  cache_control?: {
6611
7285
  type: "ephemeral";
7286
+ ttl?: "5m" | "1h" | undefined;
6612
7287
  } | undefined;
6613
7288
  }, {
6614
7289
  type: "text";
6615
7290
  text?: string | undefined;
6616
7291
  cache_control?: {
6617
7292
  type: "ephemeral";
7293
+ ttl?: "5m" | "1h" | undefined;
6618
7294
  } | undefined;
6619
7295
  }>, "many">]>;
6620
7296
  role: z.ZodLiteral<"developer">;
@@ -6626,6 +7302,7 @@ declare const Prompt$1: z.ZodObject<{
6626
7302
  text: string;
6627
7303
  cache_control?: {
6628
7304
  type: "ephemeral";
7305
+ ttl?: "5m" | "1h" | undefined;
6629
7306
  } | undefined;
6630
7307
  }[];
6631
7308
  name?: string | undefined;
@@ -6636,6 +7313,7 @@ declare const Prompt$1: z.ZodObject<{
6636
7313
  text?: string | undefined;
6637
7314
  cache_control?: {
6638
7315
  type: "ephemeral";
7316
+ ttl?: "5m" | "1h" | undefined;
6639
7317
  } | undefined;
6640
7318
  }[];
6641
7319
  name?: string | undefined;
@@ -6659,6 +7337,7 @@ declare const Prompt$1: z.ZodObject<{
6659
7337
  text: string;
6660
7338
  cache_control?: {
6661
7339
  type: "ephemeral";
7340
+ ttl?: "5m" | "1h" | undefined;
6662
7341
  } | undefined;
6663
7342
  }[];
6664
7343
  name?: string | undefined;
@@ -6669,6 +7348,7 @@ declare const Prompt$1: z.ZodObject<{
6669
7348
  text: string;
6670
7349
  cache_control?: {
6671
7350
  type: "ephemeral";
7351
+ ttl?: "5m" | "1h" | undefined;
6672
7352
  } | undefined;
6673
7353
  } | {
6674
7354
  type: "image_url";
@@ -6676,6 +7356,10 @@ declare const Prompt$1: z.ZodObject<{
6676
7356
  url: string;
6677
7357
  detail?: "auto" | "low" | "high" | undefined;
6678
7358
  };
7359
+ cache_control?: {
7360
+ type: "ephemeral";
7361
+ ttl?: "5m" | "1h" | undefined;
7362
+ } | undefined;
6679
7363
  } | {
6680
7364
  type: "file";
6681
7365
  file: {
@@ -6683,6 +7367,10 @@ declare const Prompt$1: z.ZodObject<{
6683
7367
  file_data?: string | undefined;
6684
7368
  file_id?: string | undefined;
6685
7369
  };
7370
+ cache_control?: {
7371
+ type: "ephemeral";
7372
+ ttl?: "5m" | "1h" | undefined;
7373
+ } | undefined;
6686
7374
  })[];
6687
7375
  name?: string | undefined;
6688
7376
  } | {
@@ -6697,6 +7385,7 @@ declare const Prompt$1: z.ZodObject<{
6697
7385
  text: string;
6698
7386
  cache_control?: {
6699
7387
  type: "ephemeral";
7388
+ ttl?: "5m" | "1h" | undefined;
6700
7389
  } | undefined;
6701
7390
  }[] | null | undefined;
6702
7391
  tool_calls?: {
@@ -6719,6 +7408,7 @@ declare const Prompt$1: z.ZodObject<{
6719
7408
  text: string;
6720
7409
  cache_control?: {
6721
7410
  type: "ephemeral";
7411
+ ttl?: "5m" | "1h" | undefined;
6722
7412
  } | undefined;
6723
7413
  }[];
6724
7414
  tool_call_id: string;
@@ -6733,6 +7423,7 @@ declare const Prompt$1: z.ZodObject<{
6733
7423
  text: string;
6734
7424
  cache_control?: {
6735
7425
  type: "ephemeral";
7426
+ ttl?: "5m" | "1h" | undefined;
6736
7427
  } | undefined;
6737
7428
  }[];
6738
7429
  name?: string | undefined;
@@ -6750,6 +7441,7 @@ declare const Prompt$1: z.ZodObject<{
6750
7441
  text?: string | undefined;
6751
7442
  cache_control?: {
6752
7443
  type: "ephemeral";
7444
+ ttl?: "5m" | "1h" | undefined;
6753
7445
  } | undefined;
6754
7446
  }[];
6755
7447
  name?: string | undefined;
@@ -6760,6 +7452,7 @@ declare const Prompt$1: z.ZodObject<{
6760
7452
  text?: string | undefined;
6761
7453
  cache_control?: {
6762
7454
  type: "ephemeral";
7455
+ ttl?: "5m" | "1h" | undefined;
6763
7456
  } | undefined;
6764
7457
  } | {
6765
7458
  type: "image_url";
@@ -6767,6 +7460,10 @@ declare const Prompt$1: z.ZodObject<{
6767
7460
  url: string;
6768
7461
  detail?: "auto" | "low" | "high" | undefined;
6769
7462
  };
7463
+ cache_control?: {
7464
+ type: "ephemeral";
7465
+ ttl?: "5m" | "1h" | undefined;
7466
+ } | undefined;
6770
7467
  } | {
6771
7468
  type: "file";
6772
7469
  file: {
@@ -6774,6 +7471,10 @@ declare const Prompt$1: z.ZodObject<{
6774
7471
  file_data?: string | undefined;
6775
7472
  file_id?: string | undefined;
6776
7473
  };
7474
+ cache_control?: {
7475
+ type: "ephemeral";
7476
+ ttl?: "5m" | "1h" | undefined;
7477
+ } | undefined;
6777
7478
  })[];
6778
7479
  name?: string | undefined;
6779
7480
  } | {
@@ -6788,6 +7489,7 @@ declare const Prompt$1: z.ZodObject<{
6788
7489
  text?: string | undefined;
6789
7490
  cache_control?: {
6790
7491
  type: "ephemeral";
7492
+ ttl?: "5m" | "1h" | undefined;
6791
7493
  } | undefined;
6792
7494
  }[] | null | undefined;
6793
7495
  tool_calls?: {
@@ -6810,6 +7512,7 @@ declare const Prompt$1: z.ZodObject<{
6810
7512
  text?: string | undefined;
6811
7513
  cache_control?: {
6812
7514
  type: "ephemeral";
7515
+ ttl?: "5m" | "1h" | undefined;
6813
7516
  } | undefined;
6814
7517
  }[];
6815
7518
  tool_call_id?: string | undefined;
@@ -6824,6 +7527,7 @@ declare const Prompt$1: z.ZodObject<{
6824
7527
  text?: string | undefined;
6825
7528
  cache_control?: {
6826
7529
  type: "ephemeral";
7530
+ ttl?: "5m" | "1h" | undefined;
6827
7531
  } | undefined;
6828
7532
  }[];
6829
7533
  name?: string | undefined;
@@ -7658,6 +8362,7 @@ declare const Prompt$1: z.ZodObject<{
7658
8362
  text: string;
7659
8363
  cache_control?: {
7660
8364
  type: "ephemeral";
8365
+ ttl?: "5m" | "1h" | undefined;
7661
8366
  } | undefined;
7662
8367
  }[];
7663
8368
  name?: string | undefined;
@@ -7668,6 +8373,7 @@ declare const Prompt$1: z.ZodObject<{
7668
8373
  text: string;
7669
8374
  cache_control?: {
7670
8375
  type: "ephemeral";
8376
+ ttl?: "5m" | "1h" | undefined;
7671
8377
  } | undefined;
7672
8378
  } | {
7673
8379
  type: "image_url";
@@ -7675,6 +8381,10 @@ declare const Prompt$1: z.ZodObject<{
7675
8381
  url: string;
7676
8382
  detail?: "auto" | "low" | "high" | undefined;
7677
8383
  };
8384
+ cache_control?: {
8385
+ type: "ephemeral";
8386
+ ttl?: "5m" | "1h" | undefined;
8387
+ } | undefined;
7678
8388
  } | {
7679
8389
  type: "file";
7680
8390
  file: {
@@ -7682,6 +8392,10 @@ declare const Prompt$1: z.ZodObject<{
7682
8392
  file_data?: string | undefined;
7683
8393
  file_id?: string | undefined;
7684
8394
  };
8395
+ cache_control?: {
8396
+ type: "ephemeral";
8397
+ ttl?: "5m" | "1h" | undefined;
8398
+ } | undefined;
7685
8399
  })[];
7686
8400
  name?: string | undefined;
7687
8401
  } | {
@@ -7696,6 +8410,7 @@ declare const Prompt$1: z.ZodObject<{
7696
8410
  text: string;
7697
8411
  cache_control?: {
7698
8412
  type: "ephemeral";
8413
+ ttl?: "5m" | "1h" | undefined;
7699
8414
  } | undefined;
7700
8415
  }[] | null | undefined;
7701
8416
  tool_calls?: {
@@ -7718,6 +8433,7 @@ declare const Prompt$1: z.ZodObject<{
7718
8433
  text: string;
7719
8434
  cache_control?: {
7720
8435
  type: "ephemeral";
8436
+ ttl?: "5m" | "1h" | undefined;
7721
8437
  } | undefined;
7722
8438
  }[];
7723
8439
  tool_call_id: string;
@@ -7732,6 +8448,7 @@ declare const Prompt$1: z.ZodObject<{
7732
8448
  text: string;
7733
8449
  cache_control?: {
7734
8450
  type: "ephemeral";
8451
+ ttl?: "5m" | "1h" | undefined;
7735
8452
  } | undefined;
7736
8453
  }[];
7737
8454
  name?: string | undefined;
@@ -7909,6 +8626,7 @@ declare const Prompt$1: z.ZodObject<{
7909
8626
  text?: string | undefined;
7910
8627
  cache_control?: {
7911
8628
  type: "ephemeral";
8629
+ ttl?: "5m" | "1h" | undefined;
7912
8630
  } | undefined;
7913
8631
  }[];
7914
8632
  name?: string | undefined;
@@ -7919,6 +8637,7 @@ declare const Prompt$1: z.ZodObject<{
7919
8637
  text?: string | undefined;
7920
8638
  cache_control?: {
7921
8639
  type: "ephemeral";
8640
+ ttl?: "5m" | "1h" | undefined;
7922
8641
  } | undefined;
7923
8642
  } | {
7924
8643
  type: "image_url";
@@ -7926,6 +8645,10 @@ declare const Prompt$1: z.ZodObject<{
7926
8645
  url: string;
7927
8646
  detail?: "auto" | "low" | "high" | undefined;
7928
8647
  };
8648
+ cache_control?: {
8649
+ type: "ephemeral";
8650
+ ttl?: "5m" | "1h" | undefined;
8651
+ } | undefined;
7929
8652
  } | {
7930
8653
  type: "file";
7931
8654
  file: {
@@ -7933,6 +8656,10 @@ declare const Prompt$1: z.ZodObject<{
7933
8656
  file_data?: string | undefined;
7934
8657
  file_id?: string | undefined;
7935
8658
  };
8659
+ cache_control?: {
8660
+ type: "ephemeral";
8661
+ ttl?: "5m" | "1h" | undefined;
8662
+ } | undefined;
7936
8663
  })[];
7937
8664
  name?: string | undefined;
7938
8665
  } | {
@@ -7947,6 +8674,7 @@ declare const Prompt$1: z.ZodObject<{
7947
8674
  text?: string | undefined;
7948
8675
  cache_control?: {
7949
8676
  type: "ephemeral";
8677
+ ttl?: "5m" | "1h" | undefined;
7950
8678
  } | undefined;
7951
8679
  }[] | null | undefined;
7952
8680
  tool_calls?: {
@@ -7969,6 +8697,7 @@ declare const Prompt$1: z.ZodObject<{
7969
8697
  text?: string | undefined;
7970
8698
  cache_control?: {
7971
8699
  type: "ephemeral";
8700
+ ttl?: "5m" | "1h" | undefined;
7972
8701
  } | undefined;
7973
8702
  }[];
7974
8703
  tool_call_id?: string | undefined;
@@ -7983,6 +8712,7 @@ declare const Prompt$1: z.ZodObject<{
7983
8712
  text?: string | undefined;
7984
8713
  cache_control?: {
7985
8714
  type: "ephemeral";
8715
+ ttl?: "5m" | "1h" | undefined;
7986
8716
  } | undefined;
7987
8717
  }[];
7988
8718
  name?: string | undefined;
@@ -8176,6 +8906,7 @@ declare const Prompt$1: z.ZodObject<{
8176
8906
  text: string;
8177
8907
  cache_control?: {
8178
8908
  type: "ephemeral";
8909
+ ttl?: "5m" | "1h" | undefined;
8179
8910
  } | undefined;
8180
8911
  }[];
8181
8912
  name?: string | undefined;
@@ -8186,6 +8917,7 @@ declare const Prompt$1: z.ZodObject<{
8186
8917
  text: string;
8187
8918
  cache_control?: {
8188
8919
  type: "ephemeral";
8920
+ ttl?: "5m" | "1h" | undefined;
8189
8921
  } | undefined;
8190
8922
  } | {
8191
8923
  type: "image_url";
@@ -8193,6 +8925,10 @@ declare const Prompt$1: z.ZodObject<{
8193
8925
  url: string;
8194
8926
  detail?: "auto" | "low" | "high" | undefined;
8195
8927
  };
8928
+ cache_control?: {
8929
+ type: "ephemeral";
8930
+ ttl?: "5m" | "1h" | undefined;
8931
+ } | undefined;
8196
8932
  } | {
8197
8933
  type: "file";
8198
8934
  file: {
@@ -8200,6 +8936,10 @@ declare const Prompt$1: z.ZodObject<{
8200
8936
  file_data?: string | undefined;
8201
8937
  file_id?: string | undefined;
8202
8938
  };
8939
+ cache_control?: {
8940
+ type: "ephemeral";
8941
+ ttl?: "5m" | "1h" | undefined;
8942
+ } | undefined;
8203
8943
  })[];
8204
8944
  name?: string | undefined;
8205
8945
  } | {
@@ -8214,6 +8954,7 @@ declare const Prompt$1: z.ZodObject<{
8214
8954
  text: string;
8215
8955
  cache_control?: {
8216
8956
  type: "ephemeral";
8957
+ ttl?: "5m" | "1h" | undefined;
8217
8958
  } | undefined;
8218
8959
  }[] | null | undefined;
8219
8960
  tool_calls?: {
@@ -8236,6 +8977,7 @@ declare const Prompt$1: z.ZodObject<{
8236
8977
  text: string;
8237
8978
  cache_control?: {
8238
8979
  type: "ephemeral";
8980
+ ttl?: "5m" | "1h" | undefined;
8239
8981
  } | undefined;
8240
8982
  }[];
8241
8983
  tool_call_id: string;
@@ -8250,6 +8992,7 @@ declare const Prompt$1: z.ZodObject<{
8250
8992
  text: string;
8251
8993
  cache_control?: {
8252
8994
  type: "ephemeral";
8995
+ ttl?: "5m" | "1h" | undefined;
8253
8996
  } | undefined;
8254
8997
  }[];
8255
8998
  name?: string | undefined;
@@ -8441,6 +9184,7 @@ declare const Prompt$1: z.ZodObject<{
8441
9184
  text?: string | undefined;
8442
9185
  cache_control?: {
8443
9186
  type: "ephemeral";
9187
+ ttl?: "5m" | "1h" | undefined;
8444
9188
  } | undefined;
8445
9189
  }[];
8446
9190
  name?: string | undefined;
@@ -8451,6 +9195,7 @@ declare const Prompt$1: z.ZodObject<{
8451
9195
  text?: string | undefined;
8452
9196
  cache_control?: {
8453
9197
  type: "ephemeral";
9198
+ ttl?: "5m" | "1h" | undefined;
8454
9199
  } | undefined;
8455
9200
  } | {
8456
9201
  type: "image_url";
@@ -8458,6 +9203,10 @@ declare const Prompt$1: z.ZodObject<{
8458
9203
  url: string;
8459
9204
  detail?: "auto" | "low" | "high" | undefined;
8460
9205
  };
9206
+ cache_control?: {
9207
+ type: "ephemeral";
9208
+ ttl?: "5m" | "1h" | undefined;
9209
+ } | undefined;
8461
9210
  } | {
8462
9211
  type: "file";
8463
9212
  file: {
@@ -8465,6 +9214,10 @@ declare const Prompt$1: z.ZodObject<{
8465
9214
  file_data?: string | undefined;
8466
9215
  file_id?: string | undefined;
8467
9216
  };
9217
+ cache_control?: {
9218
+ type: "ephemeral";
9219
+ ttl?: "5m" | "1h" | undefined;
9220
+ } | undefined;
8468
9221
  })[];
8469
9222
  name?: string | undefined;
8470
9223
  } | {
@@ -8479,6 +9232,7 @@ declare const Prompt$1: z.ZodObject<{
8479
9232
  text?: string | undefined;
8480
9233
  cache_control?: {
8481
9234
  type: "ephemeral";
9235
+ ttl?: "5m" | "1h" | undefined;
8482
9236
  } | undefined;
8483
9237
  }[] | null | undefined;
8484
9238
  tool_calls?: {
@@ -8501,6 +9255,7 @@ declare const Prompt$1: z.ZodObject<{
8501
9255
  text?: string | undefined;
8502
9256
  cache_control?: {
8503
9257
  type: "ephemeral";
9258
+ ttl?: "5m" | "1h" | undefined;
8504
9259
  } | undefined;
8505
9260
  }[];
8506
9261
  tool_call_id?: string | undefined;
@@ -8515,6 +9270,7 @@ declare const Prompt$1: z.ZodObject<{
8515
9270
  text?: string | undefined;
8516
9271
  cache_control?: {
8517
9272
  type: "ephemeral";
9273
+ ttl?: "5m" | "1h" | undefined;
8518
9274
  } | undefined;
8519
9275
  }[];
8520
9276
  name?: string | undefined;
@@ -8816,6 +9572,10 @@ declare class LRUCache<K, V> {
8816
9572
  * @returns The cached value if found, undefined otherwise.
8817
9573
  */
8818
9574
  get(key: K): V | undefined;
9575
+ /**
9576
+ * Checks whether a key exists and marks it as most recently used.
9577
+ */
9578
+ has(key: K): boolean;
8819
9579
  /**
8820
9580
  * Stores a value in the cache.
8821
9581
  * If the key already exists, the value is updated and marked as most recently used.
@@ -8825,6 +9585,23 @@ declare class LRUCache<K, V> {
8825
9585
  * @param value - The value to store.
8826
9586
  */
8827
9587
  set(key: K, value: V): void;
9588
+ /**
9589
+ * Removes an item from the cache.
9590
+ */
9591
+ delete(key: K): boolean;
9592
+ /**
9593
+ * Iterates over cache entries from least to most recently used.
9594
+ */
9595
+ entries(): IterableIterator<[K, V]>;
9596
+ /**
9597
+ * Iterates over cache keys from least to most recently used.
9598
+ */
9599
+ keys(): IterableIterator<K>;
9600
+ /**
9601
+ * Iterates over cache values from least to most recently used.
9602
+ */
9603
+ values(): IterableIterator<V>;
9604
+ [Symbol.iterator](): IterableIterator<[K, V]>;
8828
9605
  /**
8829
9606
  * Removes all items from the cache.
8830
9607
  */
@@ -9109,22 +9886,27 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9109
9886
  type: z.ZodLiteral<"text">;
9110
9887
  cache_control: z.ZodOptional<z.ZodObject<{
9111
9888
  type: z.ZodLiteral<"ephemeral">;
9889
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9112
9890
  }, "strip", z.ZodTypeAny, {
9113
9891
  type: "ephemeral";
9892
+ ttl?: "5m" | "1h" | undefined;
9114
9893
  }, {
9115
9894
  type: "ephemeral";
9895
+ ttl?: "5m" | "1h" | undefined;
9116
9896
  }>>;
9117
9897
  }, "strip", z.ZodTypeAny, {
9118
9898
  type: "text";
9119
9899
  text: string;
9120
9900
  cache_control?: {
9121
9901
  type: "ephemeral";
9902
+ ttl?: "5m" | "1h" | undefined;
9122
9903
  } | undefined;
9123
9904
  }, {
9124
9905
  type: "text";
9125
9906
  text?: string | undefined;
9126
9907
  cache_control?: {
9127
9908
  type: "ephemeral";
9909
+ ttl?: "5m" | "1h" | undefined;
9128
9910
  } | undefined;
9129
9911
  }>, "many">]>;
9130
9912
  role: z.ZodLiteral<"system">;
@@ -9136,6 +9918,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9136
9918
  text: string;
9137
9919
  cache_control?: {
9138
9920
  type: "ephemeral";
9921
+ ttl?: "5m" | "1h" | undefined;
9139
9922
  } | undefined;
9140
9923
  }[];
9141
9924
  name?: string | undefined;
@@ -9146,6 +9929,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9146
9929
  text?: string | undefined;
9147
9930
  cache_control?: {
9148
9931
  type: "ephemeral";
9932
+ ttl?: "5m" | "1h" | undefined;
9149
9933
  } | undefined;
9150
9934
  }[];
9151
9935
  name?: string | undefined;
@@ -9155,22 +9939,27 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9155
9939
  type: z.ZodLiteral<"text">;
9156
9940
  cache_control: z.ZodOptional<z.ZodObject<{
9157
9941
  type: z.ZodLiteral<"ephemeral">;
9942
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9158
9943
  }, "strip", z.ZodTypeAny, {
9159
9944
  type: "ephemeral";
9945
+ ttl?: "5m" | "1h" | undefined;
9160
9946
  }, {
9161
9947
  type: "ephemeral";
9948
+ ttl?: "5m" | "1h" | undefined;
9162
9949
  }>>;
9163
9950
  }, "strip", z.ZodTypeAny, {
9164
9951
  type: "text";
9165
9952
  text: string;
9166
9953
  cache_control?: {
9167
9954
  type: "ephemeral";
9955
+ ttl?: "5m" | "1h" | undefined;
9168
9956
  } | undefined;
9169
9957
  }, {
9170
9958
  type: "text";
9171
9959
  text?: string | undefined;
9172
9960
  cache_control?: {
9173
9961
  type: "ephemeral";
9962
+ ttl?: "5m" | "1h" | undefined;
9174
9963
  } | undefined;
9175
9964
  }>, z.ZodObject<{
9176
9965
  image_url: z.ZodObject<{
@@ -9184,18 +9973,36 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9184
9973
  detail?: "auto" | "low" | "high" | undefined;
9185
9974
  }>;
9186
9975
  type: z.ZodLiteral<"image_url">;
9976
+ cache_control: z.ZodOptional<z.ZodObject<{
9977
+ type: z.ZodLiteral<"ephemeral">;
9978
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9979
+ }, "strip", z.ZodTypeAny, {
9980
+ type: "ephemeral";
9981
+ ttl?: "5m" | "1h" | undefined;
9982
+ }, {
9983
+ type: "ephemeral";
9984
+ ttl?: "5m" | "1h" | undefined;
9985
+ }>>;
9187
9986
  }, "strip", z.ZodTypeAny, {
9188
9987
  type: "image_url";
9189
9988
  image_url: {
9190
9989
  url: string;
9191
9990
  detail?: "auto" | "low" | "high" | undefined;
9192
9991
  };
9992
+ cache_control?: {
9993
+ type: "ephemeral";
9994
+ ttl?: "5m" | "1h" | undefined;
9995
+ } | undefined;
9193
9996
  }, {
9194
9997
  type: "image_url";
9195
9998
  image_url: {
9196
9999
  url: string;
9197
10000
  detail?: "auto" | "low" | "high" | undefined;
9198
10001
  };
10002
+ cache_control?: {
10003
+ type: "ephemeral";
10004
+ ttl?: "5m" | "1h" | undefined;
10005
+ } | undefined;
9199
10006
  }>, z.ZodObject<{
9200
10007
  file: z.ZodObject<{
9201
10008
  file_data: z.ZodOptional<z.ZodString>;
@@ -9211,6 +10018,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9211
10018
  file_id?: string | undefined;
9212
10019
  }>;
9213
10020
  type: z.ZodLiteral<"file">;
10021
+ cache_control: z.ZodOptional<z.ZodObject<{
10022
+ type: z.ZodLiteral<"ephemeral">;
10023
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
10024
+ }, "strip", z.ZodTypeAny, {
10025
+ type: "ephemeral";
10026
+ ttl?: "5m" | "1h" | undefined;
10027
+ }, {
10028
+ type: "ephemeral";
10029
+ ttl?: "5m" | "1h" | undefined;
10030
+ }>>;
9214
10031
  }, "strip", z.ZodTypeAny, {
9215
10032
  type: "file";
9216
10033
  file: {
@@ -9218,6 +10035,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9218
10035
  file_data?: string | undefined;
9219
10036
  file_id?: string | undefined;
9220
10037
  };
10038
+ cache_control?: {
10039
+ type: "ephemeral";
10040
+ ttl?: "5m" | "1h" | undefined;
10041
+ } | undefined;
9221
10042
  }, {
9222
10043
  type: "file";
9223
10044
  file: {
@@ -9225,6 +10046,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9225
10046
  file_data?: string | undefined;
9226
10047
  file_id?: string | undefined;
9227
10048
  };
10049
+ cache_control?: {
10050
+ type: "ephemeral";
10051
+ ttl?: "5m" | "1h" | undefined;
10052
+ } | undefined;
9228
10053
  }>]>, "many">]>;
9229
10054
  role: z.ZodLiteral<"user">;
9230
10055
  name: z.ZodOptional<z.ZodString>;
@@ -9235,6 +10060,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9235
10060
  text: string;
9236
10061
  cache_control?: {
9237
10062
  type: "ephemeral";
10063
+ ttl?: "5m" | "1h" | undefined;
9238
10064
  } | undefined;
9239
10065
  } | {
9240
10066
  type: "image_url";
@@ -9242,6 +10068,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9242
10068
  url: string;
9243
10069
  detail?: "auto" | "low" | "high" | undefined;
9244
10070
  };
10071
+ cache_control?: {
10072
+ type: "ephemeral";
10073
+ ttl?: "5m" | "1h" | undefined;
10074
+ } | undefined;
9245
10075
  } | {
9246
10076
  type: "file";
9247
10077
  file: {
@@ -9249,6 +10079,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9249
10079
  file_data?: string | undefined;
9250
10080
  file_id?: string | undefined;
9251
10081
  };
10082
+ cache_control?: {
10083
+ type: "ephemeral";
10084
+ ttl?: "5m" | "1h" | undefined;
10085
+ } | undefined;
9252
10086
  })[];
9253
10087
  name?: string | undefined;
9254
10088
  }, {
@@ -9258,6 +10092,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9258
10092
  text?: string | undefined;
9259
10093
  cache_control?: {
9260
10094
  type: "ephemeral";
10095
+ ttl?: "5m" | "1h" | undefined;
9261
10096
  } | undefined;
9262
10097
  } | {
9263
10098
  type: "image_url";
@@ -9265,6 +10100,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9265
10100
  url: string;
9266
10101
  detail?: "auto" | "low" | "high" | undefined;
9267
10102
  };
10103
+ cache_control?: {
10104
+ type: "ephemeral";
10105
+ ttl?: "5m" | "1h" | undefined;
10106
+ } | undefined;
9268
10107
  } | {
9269
10108
  type: "file";
9270
10109
  file: {
@@ -9272,6 +10111,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9272
10111
  file_data?: string | undefined;
9273
10112
  file_id?: string | undefined;
9274
10113
  };
10114
+ cache_control?: {
10115
+ type: "ephemeral";
10116
+ ttl?: "5m" | "1h" | undefined;
10117
+ } | undefined;
9275
10118
  })[];
9276
10119
  name?: string | undefined;
9277
10120
  }>, z.ZodObject<{
@@ -9281,22 +10124,27 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9281
10124
  type: z.ZodLiteral<"text">;
9282
10125
  cache_control: z.ZodOptional<z.ZodObject<{
9283
10126
  type: z.ZodLiteral<"ephemeral">;
10127
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9284
10128
  }, "strip", z.ZodTypeAny, {
9285
10129
  type: "ephemeral";
10130
+ ttl?: "5m" | "1h" | undefined;
9286
10131
  }, {
9287
10132
  type: "ephemeral";
10133
+ ttl?: "5m" | "1h" | undefined;
9288
10134
  }>>;
9289
10135
  }, "strip", z.ZodTypeAny, {
9290
10136
  type: "text";
9291
10137
  text: string;
9292
10138
  cache_control?: {
9293
10139
  type: "ephemeral";
10140
+ ttl?: "5m" | "1h" | undefined;
9294
10141
  } | undefined;
9295
10142
  }, {
9296
10143
  type: "text";
9297
10144
  text?: string | undefined;
9298
10145
  cache_control?: {
9299
10146
  type: "ephemeral";
10147
+ ttl?: "5m" | "1h" | undefined;
9300
10148
  } | undefined;
9301
10149
  }>, "many">, z.ZodNull]>>;
9302
10150
  function_call: z.ZodOptional<z.ZodObject<{
@@ -9361,6 +10209,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9361
10209
  text: string;
9362
10210
  cache_control?: {
9363
10211
  type: "ephemeral";
10212
+ ttl?: "5m" | "1h" | undefined;
9364
10213
  } | undefined;
9365
10214
  }[] | null | undefined;
9366
10215
  tool_calls?: {
@@ -9388,6 +10237,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9388
10237
  text?: string | undefined;
9389
10238
  cache_control?: {
9390
10239
  type: "ephemeral";
10240
+ ttl?: "5m" | "1h" | undefined;
9391
10241
  } | undefined;
9392
10242
  }[] | null | undefined;
9393
10243
  tool_calls?: {
@@ -9409,22 +10259,27 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9409
10259
  type: z.ZodLiteral<"text">;
9410
10260
  cache_control: z.ZodOptional<z.ZodObject<{
9411
10261
  type: z.ZodLiteral<"ephemeral">;
10262
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9412
10263
  }, "strip", z.ZodTypeAny, {
9413
10264
  type: "ephemeral";
10265
+ ttl?: "5m" | "1h" | undefined;
9414
10266
  }, {
9415
10267
  type: "ephemeral";
10268
+ ttl?: "5m" | "1h" | undefined;
9416
10269
  }>>;
9417
10270
  }, "strip", z.ZodTypeAny, {
9418
10271
  type: "text";
9419
10272
  text: string;
9420
10273
  cache_control?: {
9421
10274
  type: "ephemeral";
10275
+ ttl?: "5m" | "1h" | undefined;
9422
10276
  } | undefined;
9423
10277
  }, {
9424
10278
  type: "text";
9425
10279
  text?: string | undefined;
9426
10280
  cache_control?: {
9427
10281
  type: "ephemeral";
10282
+ ttl?: "5m" | "1h" | undefined;
9428
10283
  } | undefined;
9429
10284
  }>, "many">]>;
9430
10285
  role: z.ZodLiteral<"tool">;
@@ -9436,6 +10291,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9436
10291
  text: string;
9437
10292
  cache_control?: {
9438
10293
  type: "ephemeral";
10294
+ ttl?: "5m" | "1h" | undefined;
9439
10295
  } | undefined;
9440
10296
  }[];
9441
10297
  tool_call_id: string;
@@ -9446,6 +10302,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9446
10302
  text?: string | undefined;
9447
10303
  cache_control?: {
9448
10304
  type: "ephemeral";
10305
+ ttl?: "5m" | "1h" | undefined;
9449
10306
  } | undefined;
9450
10307
  }[];
9451
10308
  tool_call_id?: string | undefined;
@@ -9467,22 +10324,27 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9467
10324
  type: z.ZodLiteral<"text">;
9468
10325
  cache_control: z.ZodOptional<z.ZodObject<{
9469
10326
  type: z.ZodLiteral<"ephemeral">;
10327
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9470
10328
  }, "strip", z.ZodTypeAny, {
9471
10329
  type: "ephemeral";
10330
+ ttl?: "5m" | "1h" | undefined;
9472
10331
  }, {
9473
10332
  type: "ephemeral";
10333
+ ttl?: "5m" | "1h" | undefined;
9474
10334
  }>>;
9475
10335
  }, "strip", z.ZodTypeAny, {
9476
10336
  type: "text";
9477
10337
  text: string;
9478
10338
  cache_control?: {
9479
10339
  type: "ephemeral";
10340
+ ttl?: "5m" | "1h" | undefined;
9480
10341
  } | undefined;
9481
10342
  }, {
9482
10343
  type: "text";
9483
10344
  text?: string | undefined;
9484
10345
  cache_control?: {
9485
10346
  type: "ephemeral";
10347
+ ttl?: "5m" | "1h" | undefined;
9486
10348
  } | undefined;
9487
10349
  }>, "many">]>;
9488
10350
  role: z.ZodLiteral<"developer">;
@@ -9494,6 +10356,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9494
10356
  text: string;
9495
10357
  cache_control?: {
9496
10358
  type: "ephemeral";
10359
+ ttl?: "5m" | "1h" | undefined;
9497
10360
  } | undefined;
9498
10361
  }[];
9499
10362
  name?: string | undefined;
@@ -9504,6 +10367,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9504
10367
  text?: string | undefined;
9505
10368
  cache_control?: {
9506
10369
  type: "ephemeral";
10370
+ ttl?: "5m" | "1h" | undefined;
9507
10371
  } | undefined;
9508
10372
  }[];
9509
10373
  name?: string | undefined;
@@ -9525,6 +10389,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9525
10389
  text: string;
9526
10390
  cache_control?: {
9527
10391
  type: "ephemeral";
10392
+ ttl?: "5m" | "1h" | undefined;
9528
10393
  } | undefined;
9529
10394
  }[];
9530
10395
  name?: string | undefined;
@@ -9535,6 +10400,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9535
10400
  text: string;
9536
10401
  cache_control?: {
9537
10402
  type: "ephemeral";
10403
+ ttl?: "5m" | "1h" | undefined;
9538
10404
  } | undefined;
9539
10405
  } | {
9540
10406
  type: "image_url";
@@ -9542,6 +10408,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9542
10408
  url: string;
9543
10409
  detail?: "auto" | "low" | "high" | undefined;
9544
10410
  };
10411
+ cache_control?: {
10412
+ type: "ephemeral";
10413
+ ttl?: "5m" | "1h" | undefined;
10414
+ } | undefined;
9545
10415
  } | {
9546
10416
  type: "file";
9547
10417
  file: {
@@ -9549,6 +10419,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9549
10419
  file_data?: string | undefined;
9550
10420
  file_id?: string | undefined;
9551
10421
  };
10422
+ cache_control?: {
10423
+ type: "ephemeral";
10424
+ ttl?: "5m" | "1h" | undefined;
10425
+ } | undefined;
9552
10426
  })[];
9553
10427
  name?: string | undefined;
9554
10428
  } | {
@@ -9563,6 +10437,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9563
10437
  text: string;
9564
10438
  cache_control?: {
9565
10439
  type: "ephemeral";
10440
+ ttl?: "5m" | "1h" | undefined;
9566
10441
  } | undefined;
9567
10442
  }[] | null | undefined;
9568
10443
  tool_calls?: {
@@ -9585,6 +10460,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9585
10460
  text: string;
9586
10461
  cache_control?: {
9587
10462
  type: "ephemeral";
10463
+ ttl?: "5m" | "1h" | undefined;
9588
10464
  } | undefined;
9589
10465
  }[];
9590
10466
  tool_call_id: string;
@@ -9599,6 +10475,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9599
10475
  text: string;
9600
10476
  cache_control?: {
9601
10477
  type: "ephemeral";
10478
+ ttl?: "5m" | "1h" | undefined;
9602
10479
  } | undefined;
9603
10480
  }[];
9604
10481
  name?: string | undefined;
@@ -9614,6 +10491,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9614
10491
  text?: string | undefined;
9615
10492
  cache_control?: {
9616
10493
  type: "ephemeral";
10494
+ ttl?: "5m" | "1h" | undefined;
9617
10495
  } | undefined;
9618
10496
  }[];
9619
10497
  name?: string | undefined;
@@ -9624,6 +10502,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9624
10502
  text?: string | undefined;
9625
10503
  cache_control?: {
9626
10504
  type: "ephemeral";
10505
+ ttl?: "5m" | "1h" | undefined;
9627
10506
  } | undefined;
9628
10507
  } | {
9629
10508
  type: "image_url";
@@ -9631,6 +10510,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9631
10510
  url: string;
9632
10511
  detail?: "auto" | "low" | "high" | undefined;
9633
10512
  };
10513
+ cache_control?: {
10514
+ type: "ephemeral";
10515
+ ttl?: "5m" | "1h" | undefined;
10516
+ } | undefined;
9634
10517
  } | {
9635
10518
  type: "file";
9636
10519
  file: {
@@ -9638,6 +10521,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9638
10521
  file_data?: string | undefined;
9639
10522
  file_id?: string | undefined;
9640
10523
  };
10524
+ cache_control?: {
10525
+ type: "ephemeral";
10526
+ ttl?: "5m" | "1h" | undefined;
10527
+ } | undefined;
9641
10528
  })[];
9642
10529
  name?: string | undefined;
9643
10530
  } | {
@@ -9652,6 +10539,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9652
10539
  text?: string | undefined;
9653
10540
  cache_control?: {
9654
10541
  type: "ephemeral";
10542
+ ttl?: "5m" | "1h" | undefined;
9655
10543
  } | undefined;
9656
10544
  }[] | null | undefined;
9657
10545
  tool_calls?: {
@@ -9674,6 +10562,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9674
10562
  text?: string | undefined;
9675
10563
  cache_control?: {
9676
10564
  type: "ephemeral";
10565
+ ttl?: "5m" | "1h" | undefined;
9677
10566
  } | undefined;
9678
10567
  }[];
9679
10568
  tool_call_id?: string | undefined;
@@ -9688,6 +10577,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
9688
10577
  text?: string | undefined;
9689
10578
  cache_control?: {
9690
10579
  type: "ephemeral";
10580
+ ttl?: "5m" | "1h" | undefined;
9691
10581
  } | undefined;
9692
10582
  }[];
9693
10583
  name?: string | undefined;
@@ -10361,6 +11251,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10361
11251
  text: string;
10362
11252
  cache_control?: {
10363
11253
  type: "ephemeral";
11254
+ ttl?: "5m" | "1h" | undefined;
10364
11255
  } | undefined;
10365
11256
  }[];
10366
11257
  name?: string | undefined;
@@ -10371,6 +11262,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10371
11262
  text: string;
10372
11263
  cache_control?: {
10373
11264
  type: "ephemeral";
11265
+ ttl?: "5m" | "1h" | undefined;
10374
11266
  } | undefined;
10375
11267
  } | {
10376
11268
  type: "image_url";
@@ -10378,6 +11270,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10378
11270
  url: string;
10379
11271
  detail?: "auto" | "low" | "high" | undefined;
10380
11272
  };
11273
+ cache_control?: {
11274
+ type: "ephemeral";
11275
+ ttl?: "5m" | "1h" | undefined;
11276
+ } | undefined;
10381
11277
  } | {
10382
11278
  type: "file";
10383
11279
  file: {
@@ -10385,6 +11281,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10385
11281
  file_data?: string | undefined;
10386
11282
  file_id?: string | undefined;
10387
11283
  };
11284
+ cache_control?: {
11285
+ type: "ephemeral";
11286
+ ttl?: "5m" | "1h" | undefined;
11287
+ } | undefined;
10388
11288
  })[];
10389
11289
  name?: string | undefined;
10390
11290
  } | {
@@ -10399,6 +11299,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10399
11299
  text: string;
10400
11300
  cache_control?: {
10401
11301
  type: "ephemeral";
11302
+ ttl?: "5m" | "1h" | undefined;
10402
11303
  } | undefined;
10403
11304
  }[] | null | undefined;
10404
11305
  tool_calls?: {
@@ -10421,6 +11322,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10421
11322
  text: string;
10422
11323
  cache_control?: {
10423
11324
  type: "ephemeral";
11325
+ ttl?: "5m" | "1h" | undefined;
10424
11326
  } | undefined;
10425
11327
  }[];
10426
11328
  tool_call_id: string;
@@ -10435,6 +11337,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10435
11337
  text: string;
10436
11338
  cache_control?: {
10437
11339
  type: "ephemeral";
11340
+ ttl?: "5m" | "1h" | undefined;
10438
11341
  } | undefined;
10439
11342
  }[];
10440
11343
  name?: string | undefined;
@@ -10587,6 +11490,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10587
11490
  text?: string | undefined;
10588
11491
  cache_control?: {
10589
11492
  type: "ephemeral";
11493
+ ttl?: "5m" | "1h" | undefined;
10590
11494
  } | undefined;
10591
11495
  }[];
10592
11496
  name?: string | undefined;
@@ -10597,6 +11501,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10597
11501
  text?: string | undefined;
10598
11502
  cache_control?: {
10599
11503
  type: "ephemeral";
11504
+ ttl?: "5m" | "1h" | undefined;
10600
11505
  } | undefined;
10601
11506
  } | {
10602
11507
  type: "image_url";
@@ -10604,6 +11509,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10604
11509
  url: string;
10605
11510
  detail?: "auto" | "low" | "high" | undefined;
10606
11511
  };
11512
+ cache_control?: {
11513
+ type: "ephemeral";
11514
+ ttl?: "5m" | "1h" | undefined;
11515
+ } | undefined;
10607
11516
  } | {
10608
11517
  type: "file";
10609
11518
  file: {
@@ -10611,6 +11520,10 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10611
11520
  file_data?: string | undefined;
10612
11521
  file_id?: string | undefined;
10613
11522
  };
11523
+ cache_control?: {
11524
+ type: "ephemeral";
11525
+ ttl?: "5m" | "1h" | undefined;
11526
+ } | undefined;
10614
11527
  })[];
10615
11528
  name?: string | undefined;
10616
11529
  } | {
@@ -10625,6 +11538,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10625
11538
  text?: string | undefined;
10626
11539
  cache_control?: {
10627
11540
  type: "ephemeral";
11541
+ ttl?: "5m" | "1h" | undefined;
10628
11542
  } | undefined;
10629
11543
  }[] | null | undefined;
10630
11544
  tool_calls?: {
@@ -10647,6 +11561,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10647
11561
  text?: string | undefined;
10648
11562
  cache_control?: {
10649
11563
  type: "ephemeral";
11564
+ ttl?: "5m" | "1h" | undefined;
10650
11565
  } | undefined;
10651
11566
  }[];
10652
11567
  tool_call_id?: string | undefined;
@@ -10661,6 +11576,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
10661
11576
  text?: string | undefined;
10662
11577
  cache_control?: {
10663
11578
  type: "ephemeral";
11579
+ ttl?: "5m" | "1h" | undefined;
10664
11580
  } | undefined;
10665
11581
  }[];
10666
11582
  name?: string | undefined;
@@ -12117,22 +13033,27 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12117
13033
  type: z.ZodLiteral<"text">;
12118
13034
  cache_control: z.ZodOptional<z.ZodObject<{
12119
13035
  type: z.ZodLiteral<"ephemeral">;
13036
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
12120
13037
  }, "strip", z.ZodTypeAny, {
12121
13038
  type: "ephemeral";
13039
+ ttl?: "5m" | "1h" | undefined;
12122
13040
  }, {
12123
13041
  type: "ephemeral";
13042
+ ttl?: "5m" | "1h" | undefined;
12124
13043
  }>>;
12125
13044
  }, "strip", z.ZodTypeAny, {
12126
13045
  type: "text";
12127
13046
  text: string;
12128
13047
  cache_control?: {
12129
13048
  type: "ephemeral";
13049
+ ttl?: "5m" | "1h" | undefined;
12130
13050
  } | undefined;
12131
13051
  }, {
12132
13052
  type: "text";
12133
13053
  text?: string | undefined;
12134
13054
  cache_control?: {
12135
13055
  type: "ephemeral";
13056
+ ttl?: "5m" | "1h" | undefined;
12136
13057
  } | undefined;
12137
13058
  }>, "many">]>;
12138
13059
  role: z.ZodLiteral<"system">;
@@ -12144,6 +13065,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12144
13065
  text: string;
12145
13066
  cache_control?: {
12146
13067
  type: "ephemeral";
13068
+ ttl?: "5m" | "1h" | undefined;
12147
13069
  } | undefined;
12148
13070
  }[];
12149
13071
  name?: string | undefined;
@@ -12154,6 +13076,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12154
13076
  text?: string | undefined;
12155
13077
  cache_control?: {
12156
13078
  type: "ephemeral";
13079
+ ttl?: "5m" | "1h" | undefined;
12157
13080
  } | undefined;
12158
13081
  }[];
12159
13082
  name?: string | undefined;
@@ -12163,22 +13086,27 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12163
13086
  type: z.ZodLiteral<"text">;
12164
13087
  cache_control: z.ZodOptional<z.ZodObject<{
12165
13088
  type: z.ZodLiteral<"ephemeral">;
13089
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
12166
13090
  }, "strip", z.ZodTypeAny, {
12167
13091
  type: "ephemeral";
13092
+ ttl?: "5m" | "1h" | undefined;
12168
13093
  }, {
12169
13094
  type: "ephemeral";
13095
+ ttl?: "5m" | "1h" | undefined;
12170
13096
  }>>;
12171
13097
  }, "strip", z.ZodTypeAny, {
12172
13098
  type: "text";
12173
13099
  text: string;
12174
13100
  cache_control?: {
12175
13101
  type: "ephemeral";
13102
+ ttl?: "5m" | "1h" | undefined;
12176
13103
  } | undefined;
12177
13104
  }, {
12178
13105
  type: "text";
12179
13106
  text?: string | undefined;
12180
13107
  cache_control?: {
12181
13108
  type: "ephemeral";
13109
+ ttl?: "5m" | "1h" | undefined;
12182
13110
  } | undefined;
12183
13111
  }>, z.ZodObject<{
12184
13112
  image_url: z.ZodObject<{
@@ -12192,18 +13120,36 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12192
13120
  detail?: "auto" | "low" | "high" | undefined;
12193
13121
  }>;
12194
13122
  type: z.ZodLiteral<"image_url">;
13123
+ cache_control: z.ZodOptional<z.ZodObject<{
13124
+ type: z.ZodLiteral<"ephemeral">;
13125
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
13126
+ }, "strip", z.ZodTypeAny, {
13127
+ type: "ephemeral";
13128
+ ttl?: "5m" | "1h" | undefined;
13129
+ }, {
13130
+ type: "ephemeral";
13131
+ ttl?: "5m" | "1h" | undefined;
13132
+ }>>;
12195
13133
  }, "strip", z.ZodTypeAny, {
12196
13134
  type: "image_url";
12197
13135
  image_url: {
12198
13136
  url: string;
12199
13137
  detail?: "auto" | "low" | "high" | undefined;
12200
13138
  };
13139
+ cache_control?: {
13140
+ type: "ephemeral";
13141
+ ttl?: "5m" | "1h" | undefined;
13142
+ } | undefined;
12201
13143
  }, {
12202
13144
  type: "image_url";
12203
13145
  image_url: {
12204
13146
  url: string;
12205
13147
  detail?: "auto" | "low" | "high" | undefined;
12206
13148
  };
13149
+ cache_control?: {
13150
+ type: "ephemeral";
13151
+ ttl?: "5m" | "1h" | undefined;
13152
+ } | undefined;
12207
13153
  }>, z.ZodObject<{
12208
13154
  file: z.ZodObject<{
12209
13155
  file_data: z.ZodOptional<z.ZodString>;
@@ -12219,6 +13165,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12219
13165
  file_id?: string | undefined;
12220
13166
  }>;
12221
13167
  type: z.ZodLiteral<"file">;
13168
+ cache_control: z.ZodOptional<z.ZodObject<{
13169
+ type: z.ZodLiteral<"ephemeral">;
13170
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
13171
+ }, "strip", z.ZodTypeAny, {
13172
+ type: "ephemeral";
13173
+ ttl?: "5m" | "1h" | undefined;
13174
+ }, {
13175
+ type: "ephemeral";
13176
+ ttl?: "5m" | "1h" | undefined;
13177
+ }>>;
12222
13178
  }, "strip", z.ZodTypeAny, {
12223
13179
  type: "file";
12224
13180
  file: {
@@ -12226,6 +13182,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12226
13182
  file_data?: string | undefined;
12227
13183
  file_id?: string | undefined;
12228
13184
  };
13185
+ cache_control?: {
13186
+ type: "ephemeral";
13187
+ ttl?: "5m" | "1h" | undefined;
13188
+ } | undefined;
12229
13189
  }, {
12230
13190
  type: "file";
12231
13191
  file: {
@@ -12233,6 +13193,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12233
13193
  file_data?: string | undefined;
12234
13194
  file_id?: string | undefined;
12235
13195
  };
13196
+ cache_control?: {
13197
+ type: "ephemeral";
13198
+ ttl?: "5m" | "1h" | undefined;
13199
+ } | undefined;
12236
13200
  }>]>, "many">]>;
12237
13201
  role: z.ZodLiteral<"user">;
12238
13202
  name: z.ZodOptional<z.ZodString>;
@@ -12243,6 +13207,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12243
13207
  text: string;
12244
13208
  cache_control?: {
12245
13209
  type: "ephemeral";
13210
+ ttl?: "5m" | "1h" | undefined;
12246
13211
  } | undefined;
12247
13212
  } | {
12248
13213
  type: "image_url";
@@ -12250,6 +13215,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12250
13215
  url: string;
12251
13216
  detail?: "auto" | "low" | "high" | undefined;
12252
13217
  };
13218
+ cache_control?: {
13219
+ type: "ephemeral";
13220
+ ttl?: "5m" | "1h" | undefined;
13221
+ } | undefined;
12253
13222
  } | {
12254
13223
  type: "file";
12255
13224
  file: {
@@ -12257,6 +13226,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12257
13226
  file_data?: string | undefined;
12258
13227
  file_id?: string | undefined;
12259
13228
  };
13229
+ cache_control?: {
13230
+ type: "ephemeral";
13231
+ ttl?: "5m" | "1h" | undefined;
13232
+ } | undefined;
12260
13233
  })[];
12261
13234
  name?: string | undefined;
12262
13235
  }, {
@@ -12266,6 +13239,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12266
13239
  text?: string | undefined;
12267
13240
  cache_control?: {
12268
13241
  type: "ephemeral";
13242
+ ttl?: "5m" | "1h" | undefined;
12269
13243
  } | undefined;
12270
13244
  } | {
12271
13245
  type: "image_url";
@@ -12273,6 +13247,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12273
13247
  url: string;
12274
13248
  detail?: "auto" | "low" | "high" | undefined;
12275
13249
  };
13250
+ cache_control?: {
13251
+ type: "ephemeral";
13252
+ ttl?: "5m" | "1h" | undefined;
13253
+ } | undefined;
12276
13254
  } | {
12277
13255
  type: "file";
12278
13256
  file: {
@@ -12280,6 +13258,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12280
13258
  file_data?: string | undefined;
12281
13259
  file_id?: string | undefined;
12282
13260
  };
13261
+ cache_control?: {
13262
+ type: "ephemeral";
13263
+ ttl?: "5m" | "1h" | undefined;
13264
+ } | undefined;
12283
13265
  })[];
12284
13266
  name?: string | undefined;
12285
13267
  }>, z.ZodObject<{
@@ -12289,22 +13271,27 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12289
13271
  type: z.ZodLiteral<"text">;
12290
13272
  cache_control: z.ZodOptional<z.ZodObject<{
12291
13273
  type: z.ZodLiteral<"ephemeral">;
13274
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
12292
13275
  }, "strip", z.ZodTypeAny, {
12293
13276
  type: "ephemeral";
13277
+ ttl?: "5m" | "1h" | undefined;
12294
13278
  }, {
12295
13279
  type: "ephemeral";
13280
+ ttl?: "5m" | "1h" | undefined;
12296
13281
  }>>;
12297
13282
  }, "strip", z.ZodTypeAny, {
12298
13283
  type: "text";
12299
13284
  text: string;
12300
13285
  cache_control?: {
12301
13286
  type: "ephemeral";
13287
+ ttl?: "5m" | "1h" | undefined;
12302
13288
  } | undefined;
12303
13289
  }, {
12304
13290
  type: "text";
12305
13291
  text?: string | undefined;
12306
13292
  cache_control?: {
12307
13293
  type: "ephemeral";
13294
+ ttl?: "5m" | "1h" | undefined;
12308
13295
  } | undefined;
12309
13296
  }>, "many">, z.ZodNull]>>;
12310
13297
  function_call: z.ZodOptional<z.ZodObject<{
@@ -12369,6 +13356,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12369
13356
  text: string;
12370
13357
  cache_control?: {
12371
13358
  type: "ephemeral";
13359
+ ttl?: "5m" | "1h" | undefined;
12372
13360
  } | undefined;
12373
13361
  }[] | null | undefined;
12374
13362
  tool_calls?: {
@@ -12396,6 +13384,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12396
13384
  text?: string | undefined;
12397
13385
  cache_control?: {
12398
13386
  type: "ephemeral";
13387
+ ttl?: "5m" | "1h" | undefined;
12399
13388
  } | undefined;
12400
13389
  }[] | null | undefined;
12401
13390
  tool_calls?: {
@@ -12417,22 +13406,27 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12417
13406
  type: z.ZodLiteral<"text">;
12418
13407
  cache_control: z.ZodOptional<z.ZodObject<{
12419
13408
  type: z.ZodLiteral<"ephemeral">;
13409
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
12420
13410
  }, "strip", z.ZodTypeAny, {
12421
13411
  type: "ephemeral";
13412
+ ttl?: "5m" | "1h" | undefined;
12422
13413
  }, {
12423
13414
  type: "ephemeral";
13415
+ ttl?: "5m" | "1h" | undefined;
12424
13416
  }>>;
12425
13417
  }, "strip", z.ZodTypeAny, {
12426
13418
  type: "text";
12427
13419
  text: string;
12428
13420
  cache_control?: {
12429
13421
  type: "ephemeral";
13422
+ ttl?: "5m" | "1h" | undefined;
12430
13423
  } | undefined;
12431
13424
  }, {
12432
13425
  type: "text";
12433
13426
  text?: string | undefined;
12434
13427
  cache_control?: {
12435
13428
  type: "ephemeral";
13429
+ ttl?: "5m" | "1h" | undefined;
12436
13430
  } | undefined;
12437
13431
  }>, "many">]>;
12438
13432
  role: z.ZodLiteral<"tool">;
@@ -12444,6 +13438,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12444
13438
  text: string;
12445
13439
  cache_control?: {
12446
13440
  type: "ephemeral";
13441
+ ttl?: "5m" | "1h" | undefined;
12447
13442
  } | undefined;
12448
13443
  }[];
12449
13444
  tool_call_id: string;
@@ -12454,6 +13449,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12454
13449
  text?: string | undefined;
12455
13450
  cache_control?: {
12456
13451
  type: "ephemeral";
13452
+ ttl?: "5m" | "1h" | undefined;
12457
13453
  } | undefined;
12458
13454
  }[];
12459
13455
  tool_call_id?: string | undefined;
@@ -12475,22 +13471,27 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12475
13471
  type: z.ZodLiteral<"text">;
12476
13472
  cache_control: z.ZodOptional<z.ZodObject<{
12477
13473
  type: z.ZodLiteral<"ephemeral">;
13474
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
12478
13475
  }, "strip", z.ZodTypeAny, {
12479
13476
  type: "ephemeral";
13477
+ ttl?: "5m" | "1h" | undefined;
12480
13478
  }, {
12481
13479
  type: "ephemeral";
13480
+ ttl?: "5m" | "1h" | undefined;
12482
13481
  }>>;
12483
13482
  }, "strip", z.ZodTypeAny, {
12484
13483
  type: "text";
12485
13484
  text: string;
12486
13485
  cache_control?: {
12487
13486
  type: "ephemeral";
13487
+ ttl?: "5m" | "1h" | undefined;
12488
13488
  } | undefined;
12489
13489
  }, {
12490
13490
  type: "text";
12491
13491
  text?: string | undefined;
12492
13492
  cache_control?: {
12493
13493
  type: "ephemeral";
13494
+ ttl?: "5m" | "1h" | undefined;
12494
13495
  } | undefined;
12495
13496
  }>, "many">]>;
12496
13497
  role: z.ZodLiteral<"developer">;
@@ -12502,6 +13503,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12502
13503
  text: string;
12503
13504
  cache_control?: {
12504
13505
  type: "ephemeral";
13506
+ ttl?: "5m" | "1h" | undefined;
12505
13507
  } | undefined;
12506
13508
  }[];
12507
13509
  name?: string | undefined;
@@ -12512,6 +13514,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12512
13514
  text?: string | undefined;
12513
13515
  cache_control?: {
12514
13516
  type: "ephemeral";
13517
+ ttl?: "5m" | "1h" | undefined;
12515
13518
  } | undefined;
12516
13519
  }[];
12517
13520
  name?: string | undefined;
@@ -12533,6 +13536,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12533
13536
  text: string;
12534
13537
  cache_control?: {
12535
13538
  type: "ephemeral";
13539
+ ttl?: "5m" | "1h" | undefined;
12536
13540
  } | undefined;
12537
13541
  }[];
12538
13542
  name?: string | undefined;
@@ -12543,6 +13547,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12543
13547
  text: string;
12544
13548
  cache_control?: {
12545
13549
  type: "ephemeral";
13550
+ ttl?: "5m" | "1h" | undefined;
12546
13551
  } | undefined;
12547
13552
  } | {
12548
13553
  type: "image_url";
@@ -12550,6 +13555,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12550
13555
  url: string;
12551
13556
  detail?: "auto" | "low" | "high" | undefined;
12552
13557
  };
13558
+ cache_control?: {
13559
+ type: "ephemeral";
13560
+ ttl?: "5m" | "1h" | undefined;
13561
+ } | undefined;
12553
13562
  } | {
12554
13563
  type: "file";
12555
13564
  file: {
@@ -12557,6 +13566,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12557
13566
  file_data?: string | undefined;
12558
13567
  file_id?: string | undefined;
12559
13568
  };
13569
+ cache_control?: {
13570
+ type: "ephemeral";
13571
+ ttl?: "5m" | "1h" | undefined;
13572
+ } | undefined;
12560
13573
  })[];
12561
13574
  name?: string | undefined;
12562
13575
  } | {
@@ -12571,6 +13584,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12571
13584
  text: string;
12572
13585
  cache_control?: {
12573
13586
  type: "ephemeral";
13587
+ ttl?: "5m" | "1h" | undefined;
12574
13588
  } | undefined;
12575
13589
  }[] | null | undefined;
12576
13590
  tool_calls?: {
@@ -12593,6 +13607,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12593
13607
  text: string;
12594
13608
  cache_control?: {
12595
13609
  type: "ephemeral";
13610
+ ttl?: "5m" | "1h" | undefined;
12596
13611
  } | undefined;
12597
13612
  }[];
12598
13613
  tool_call_id: string;
@@ -12607,6 +13622,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12607
13622
  text: string;
12608
13623
  cache_control?: {
12609
13624
  type: "ephemeral";
13625
+ ttl?: "5m" | "1h" | undefined;
12610
13626
  } | undefined;
12611
13627
  }[];
12612
13628
  name?: string | undefined;
@@ -12622,6 +13638,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12622
13638
  text?: string | undefined;
12623
13639
  cache_control?: {
12624
13640
  type: "ephemeral";
13641
+ ttl?: "5m" | "1h" | undefined;
12625
13642
  } | undefined;
12626
13643
  }[];
12627
13644
  name?: string | undefined;
@@ -12632,6 +13649,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12632
13649
  text?: string | undefined;
12633
13650
  cache_control?: {
12634
13651
  type: "ephemeral";
13652
+ ttl?: "5m" | "1h" | undefined;
12635
13653
  } | undefined;
12636
13654
  } | {
12637
13655
  type: "image_url";
@@ -12639,6 +13657,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12639
13657
  url: string;
12640
13658
  detail?: "auto" | "low" | "high" | undefined;
12641
13659
  };
13660
+ cache_control?: {
13661
+ type: "ephemeral";
13662
+ ttl?: "5m" | "1h" | undefined;
13663
+ } | undefined;
12642
13664
  } | {
12643
13665
  type: "file";
12644
13666
  file: {
@@ -12646,6 +13668,10 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12646
13668
  file_data?: string | undefined;
12647
13669
  file_id?: string | undefined;
12648
13670
  };
13671
+ cache_control?: {
13672
+ type: "ephemeral";
13673
+ ttl?: "5m" | "1h" | undefined;
13674
+ } | undefined;
12649
13675
  })[];
12650
13676
  name?: string | undefined;
12651
13677
  } | {
@@ -12660,6 +13686,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12660
13686
  text?: string | undefined;
12661
13687
  cache_control?: {
12662
13688
  type: "ephemeral";
13689
+ ttl?: "5m" | "1h" | undefined;
12663
13690
  } | undefined;
12664
13691
  }[] | null | undefined;
12665
13692
  tool_calls?: {
@@ -12682,6 +13709,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12682
13709
  text?: string | undefined;
12683
13710
  cache_control?: {
12684
13711
  type: "ephemeral";
13712
+ ttl?: "5m" | "1h" | undefined;
12685
13713
  } | undefined;
12686
13714
  }[];
12687
13715
  tool_call_id?: string | undefined;
@@ -12696,6 +13724,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
12696
13724
  text?: string | undefined;
12697
13725
  cache_control?: {
12698
13726
  type: "ephemeral";
13727
+ ttl?: "5m" | "1h" | undefined;
12699
13728
  } | undefined;
12700
13729
  }[];
12701
13730
  name?: string | undefined;