braintrust 3.31.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/dist/index.d.mts +736 -0
- package/dev/dist/index.d.ts +736 -0
- package/dev/dist/index.js +1280 -428
- package/dev/dist/index.mjs +859 -7
- package/dist/apply-auto-instrumentation.js +281 -216
- package/dist/apply-auto-instrumentation.mjs +66 -1
- package/dist/auto-instrumentations/bundler/esbuild.cjs +104 -2
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +104 -2
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +104 -2
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +104 -2
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-U64OYU4Q.mjs → chunk-AFND2U7E.mjs} +38 -1
- package/dist/auto-instrumentations/{chunk-OXINGIEZ.mjs → chunk-QEEPRBIS.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-LW4HDHXT.mjs → chunk-RI4Y55ZF.mjs} +69 -2
- package/dist/auto-instrumentations/hook.mjs +124 -3
- package/dist/auto-instrumentations/index.cjs +39 -1
- package/dist/auto-instrumentations/index.d.mts +3 -1
- package/dist/auto-instrumentations/index.d.ts +3 -1
- package/dist/auto-instrumentations/index.mjs +3 -1
- package/dist/browser.d.mts +2124 -2
- package/dist/browser.d.ts +2124 -2
- package/dist/browser.js +994 -10
- package/dist/browser.mjs +994 -10
- package/dist/{chunk-AJT4FR25.mjs → chunk-4QSAHP7D.mjs} +818 -5
- package/dist/{chunk-4AQGZS6X.js → chunk-AW4QECG5.js} +47 -4
- package/dist/{chunk-V32LW47Z.js → chunk-BTRLPQG5.js} +1663 -850
- package/dist/{chunk-CE3BLB2L.mjs → chunk-WV6QZI2W.mjs} +46 -3
- package/dist/cli.js +923 -8
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +994 -10
- package/dist/edge-light.mjs +994 -10
- package/dist/index.d.mts +2124 -2
- package/dist/index.d.ts +2124 -2
- package/dist/index.js +581 -447
- package/dist/index.mjs +136 -2
- package/dist/instrumentation/index.d.mts +434 -0
- package/dist/instrumentation/index.d.ts +434 -0
- package/dist/instrumentation/index.js +859 -7
- package/dist/instrumentation/index.mjs +859 -7
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +994 -10
- package/dist/workerd.mjs +994 -10
- package/package.json +1 -1
- package/util/dist/index.d.mts +326 -0
- package/util/dist/index.d.ts +326 -0
package/package.json
CHANGED
package/util/dist/index.d.mts
CHANGED
|
@@ -496,6 +496,48 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
496
496
|
type: "ephemeral";
|
|
497
497
|
ttl?: "5m" | "1h" | undefined;
|
|
498
498
|
} | undefined;
|
|
499
|
+
}>, z.ZodObject<{
|
|
500
|
+
input_audio: z.ZodObject<{
|
|
501
|
+
data: z.ZodString;
|
|
502
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
503
|
+
}, "strip", z.ZodTypeAny, {
|
|
504
|
+
data: string;
|
|
505
|
+
format: "wav" | "mp3";
|
|
506
|
+
}, {
|
|
507
|
+
data: string;
|
|
508
|
+
format: "wav" | "mp3";
|
|
509
|
+
}>;
|
|
510
|
+
type: z.ZodLiteral<"input_audio">;
|
|
511
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
512
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
513
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
514
|
+
}, "strip", z.ZodTypeAny, {
|
|
515
|
+
type: "ephemeral";
|
|
516
|
+
ttl?: "5m" | "1h" | undefined;
|
|
517
|
+
}, {
|
|
518
|
+
type: "ephemeral";
|
|
519
|
+
ttl?: "5m" | "1h" | undefined;
|
|
520
|
+
}>>;
|
|
521
|
+
}, "strip", z.ZodTypeAny, {
|
|
522
|
+
type: "input_audio";
|
|
523
|
+
input_audio: {
|
|
524
|
+
data: string;
|
|
525
|
+
format: "wav" | "mp3";
|
|
526
|
+
};
|
|
527
|
+
cache_control?: {
|
|
528
|
+
type: "ephemeral";
|
|
529
|
+
ttl?: "5m" | "1h" | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
}, {
|
|
532
|
+
type: "input_audio";
|
|
533
|
+
input_audio: {
|
|
534
|
+
data: string;
|
|
535
|
+
format: "wav" | "mp3";
|
|
536
|
+
};
|
|
537
|
+
cache_control?: {
|
|
538
|
+
type: "ephemeral";
|
|
539
|
+
ttl?: "5m" | "1h" | undefined;
|
|
540
|
+
} | undefined;
|
|
499
541
|
}>, z.ZodObject<{
|
|
500
542
|
file: z.ZodObject<{
|
|
501
543
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -565,6 +607,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
565
607
|
type: "ephemeral";
|
|
566
608
|
ttl?: "5m" | "1h" | undefined;
|
|
567
609
|
} | undefined;
|
|
610
|
+
} | {
|
|
611
|
+
type: "input_audio";
|
|
612
|
+
input_audio: {
|
|
613
|
+
data: string;
|
|
614
|
+
format: "wav" | "mp3";
|
|
615
|
+
};
|
|
616
|
+
cache_control?: {
|
|
617
|
+
type: "ephemeral";
|
|
618
|
+
ttl?: "5m" | "1h" | undefined;
|
|
619
|
+
} | undefined;
|
|
568
620
|
} | {
|
|
569
621
|
type: "file";
|
|
570
622
|
file: {
|
|
@@ -597,6 +649,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
597
649
|
type: "ephemeral";
|
|
598
650
|
ttl?: "5m" | "1h" | undefined;
|
|
599
651
|
} | undefined;
|
|
652
|
+
} | {
|
|
653
|
+
type: "input_audio";
|
|
654
|
+
input_audio: {
|
|
655
|
+
data: string;
|
|
656
|
+
format: "wav" | "mp3";
|
|
657
|
+
};
|
|
658
|
+
cache_control?: {
|
|
659
|
+
type: "ephemeral";
|
|
660
|
+
ttl?: "5m" | "1h" | undefined;
|
|
661
|
+
} | undefined;
|
|
600
662
|
} | {
|
|
601
663
|
type: "file";
|
|
602
664
|
file: {
|
|
@@ -907,6 +969,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
907
969
|
type: "ephemeral";
|
|
908
970
|
ttl?: "5m" | "1h" | undefined;
|
|
909
971
|
} | undefined;
|
|
972
|
+
} | {
|
|
973
|
+
type: "input_audio";
|
|
974
|
+
input_audio: {
|
|
975
|
+
data: string;
|
|
976
|
+
format: "wav" | "mp3";
|
|
977
|
+
};
|
|
978
|
+
cache_control?: {
|
|
979
|
+
type: "ephemeral";
|
|
980
|
+
ttl?: "5m" | "1h" | undefined;
|
|
981
|
+
} | undefined;
|
|
910
982
|
} | {
|
|
911
983
|
type: "file";
|
|
912
984
|
file: {
|
|
@@ -1011,6 +1083,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
1011
1083
|
type: "ephemeral";
|
|
1012
1084
|
ttl?: "5m" | "1h" | undefined;
|
|
1013
1085
|
} | undefined;
|
|
1086
|
+
} | {
|
|
1087
|
+
type: "input_audio";
|
|
1088
|
+
input_audio: {
|
|
1089
|
+
data: string;
|
|
1090
|
+
format: "wav" | "mp3";
|
|
1091
|
+
};
|
|
1092
|
+
cache_control?: {
|
|
1093
|
+
type: "ephemeral";
|
|
1094
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1095
|
+
} | undefined;
|
|
1014
1096
|
} | {
|
|
1015
1097
|
type: "file";
|
|
1016
1098
|
file: {
|
|
@@ -1970,6 +2052,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
1970
2052
|
type: "ephemeral";
|
|
1971
2053
|
ttl?: "5m" | "1h" | undefined;
|
|
1972
2054
|
} | undefined;
|
|
2055
|
+
} | {
|
|
2056
|
+
type: "input_audio";
|
|
2057
|
+
input_audio: {
|
|
2058
|
+
data: string;
|
|
2059
|
+
format: "wav" | "mp3";
|
|
2060
|
+
};
|
|
2061
|
+
cache_control?: {
|
|
2062
|
+
type: "ephemeral";
|
|
2063
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2064
|
+
} | undefined;
|
|
1973
2065
|
} | {
|
|
1974
2066
|
type: "file";
|
|
1975
2067
|
file: {
|
|
@@ -2247,6 +2339,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
2247
2339
|
type: "ephemeral";
|
|
2248
2340
|
ttl?: "5m" | "1h" | undefined;
|
|
2249
2341
|
} | undefined;
|
|
2342
|
+
} | {
|
|
2343
|
+
type: "input_audio";
|
|
2344
|
+
input_audio: {
|
|
2345
|
+
data: string;
|
|
2346
|
+
format: "wav" | "mp3";
|
|
2347
|
+
};
|
|
2348
|
+
cache_control?: {
|
|
2349
|
+
type: "ephemeral";
|
|
2350
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2351
|
+
} | undefined;
|
|
2250
2352
|
} | {
|
|
2251
2353
|
type: "file";
|
|
2252
2354
|
file: {
|
|
@@ -2534,6 +2636,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
2534
2636
|
type: "ephemeral";
|
|
2535
2637
|
ttl?: "5m" | "1h" | undefined;
|
|
2536
2638
|
} | undefined;
|
|
2639
|
+
} | {
|
|
2640
|
+
type: "input_audio";
|
|
2641
|
+
input_audio: {
|
|
2642
|
+
data: string;
|
|
2643
|
+
format: "wav" | "mp3";
|
|
2644
|
+
};
|
|
2645
|
+
cache_control?: {
|
|
2646
|
+
type: "ephemeral";
|
|
2647
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2648
|
+
} | undefined;
|
|
2537
2649
|
} | {
|
|
2538
2650
|
type: "file";
|
|
2539
2651
|
file: {
|
|
@@ -2818,6 +2930,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
2818
2930
|
type: "ephemeral";
|
|
2819
2931
|
ttl?: "5m" | "1h" | undefined;
|
|
2820
2932
|
} | undefined;
|
|
2933
|
+
} | {
|
|
2934
|
+
type: "input_audio";
|
|
2935
|
+
input_audio: {
|
|
2936
|
+
data: string;
|
|
2937
|
+
format: "wav" | "mp3";
|
|
2938
|
+
};
|
|
2939
|
+
cache_control?: {
|
|
2940
|
+
type: "ephemeral";
|
|
2941
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2942
|
+
} | undefined;
|
|
2821
2943
|
} | {
|
|
2822
2944
|
type: "file";
|
|
2823
2945
|
file: {
|
|
@@ -3068,6 +3190,48 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
3068
3190
|
type: "ephemeral";
|
|
3069
3191
|
ttl?: "5m" | "1h" | undefined;
|
|
3070
3192
|
} | undefined;
|
|
3193
|
+
}>, z.ZodObject<{
|
|
3194
|
+
input_audio: z.ZodObject<{
|
|
3195
|
+
data: z.ZodString;
|
|
3196
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
3197
|
+
}, "strip", z.ZodTypeAny, {
|
|
3198
|
+
data: string;
|
|
3199
|
+
format: "wav" | "mp3";
|
|
3200
|
+
}, {
|
|
3201
|
+
data: string;
|
|
3202
|
+
format: "wav" | "mp3";
|
|
3203
|
+
}>;
|
|
3204
|
+
type: z.ZodLiteral<"input_audio">;
|
|
3205
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
3206
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
3207
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
3208
|
+
}, "strip", z.ZodTypeAny, {
|
|
3209
|
+
type: "ephemeral";
|
|
3210
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3211
|
+
}, {
|
|
3212
|
+
type: "ephemeral";
|
|
3213
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3214
|
+
}>>;
|
|
3215
|
+
}, "strip", z.ZodTypeAny, {
|
|
3216
|
+
type: "input_audio";
|
|
3217
|
+
input_audio: {
|
|
3218
|
+
data: string;
|
|
3219
|
+
format: "wav" | "mp3";
|
|
3220
|
+
};
|
|
3221
|
+
cache_control?: {
|
|
3222
|
+
type: "ephemeral";
|
|
3223
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3224
|
+
} | undefined;
|
|
3225
|
+
}, {
|
|
3226
|
+
type: "input_audio";
|
|
3227
|
+
input_audio: {
|
|
3228
|
+
data: string;
|
|
3229
|
+
format: "wav" | "mp3";
|
|
3230
|
+
};
|
|
3231
|
+
cache_control?: {
|
|
3232
|
+
type: "ephemeral";
|
|
3233
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3234
|
+
} | undefined;
|
|
3071
3235
|
}>, z.ZodObject<{
|
|
3072
3236
|
file: z.ZodObject<{
|
|
3073
3237
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -3137,6 +3301,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
3137
3301
|
type: "ephemeral";
|
|
3138
3302
|
ttl?: "5m" | "1h" | undefined;
|
|
3139
3303
|
} | undefined;
|
|
3304
|
+
} | {
|
|
3305
|
+
type: "input_audio";
|
|
3306
|
+
input_audio: {
|
|
3307
|
+
data: string;
|
|
3308
|
+
format: "wav" | "mp3";
|
|
3309
|
+
};
|
|
3310
|
+
cache_control?: {
|
|
3311
|
+
type: "ephemeral";
|
|
3312
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3313
|
+
} | undefined;
|
|
3140
3314
|
} | {
|
|
3141
3315
|
type: "file";
|
|
3142
3316
|
file: {
|
|
@@ -3169,6 +3343,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
3169
3343
|
type: "ephemeral";
|
|
3170
3344
|
ttl?: "5m" | "1h" | undefined;
|
|
3171
3345
|
} | undefined;
|
|
3346
|
+
} | {
|
|
3347
|
+
type: "input_audio";
|
|
3348
|
+
input_audio: {
|
|
3349
|
+
data: string;
|
|
3350
|
+
format: "wav" | "mp3";
|
|
3351
|
+
};
|
|
3352
|
+
cache_control?: {
|
|
3353
|
+
type: "ephemeral";
|
|
3354
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3355
|
+
} | undefined;
|
|
3172
3356
|
} | {
|
|
3173
3357
|
type: "file";
|
|
3174
3358
|
file: {
|
|
@@ -3479,6 +3663,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
3479
3663
|
type: "ephemeral";
|
|
3480
3664
|
ttl?: "5m" | "1h" | undefined;
|
|
3481
3665
|
} | undefined;
|
|
3666
|
+
} | {
|
|
3667
|
+
type: "input_audio";
|
|
3668
|
+
input_audio: {
|
|
3669
|
+
data: string;
|
|
3670
|
+
format: "wav" | "mp3";
|
|
3671
|
+
};
|
|
3672
|
+
cache_control?: {
|
|
3673
|
+
type: "ephemeral";
|
|
3674
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3675
|
+
} | undefined;
|
|
3482
3676
|
} | {
|
|
3483
3677
|
type: "file";
|
|
3484
3678
|
file: {
|
|
@@ -3583,6 +3777,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
3583
3777
|
type: "ephemeral";
|
|
3584
3778
|
ttl?: "5m" | "1h" | undefined;
|
|
3585
3779
|
} | undefined;
|
|
3780
|
+
} | {
|
|
3781
|
+
type: "input_audio";
|
|
3782
|
+
input_audio: {
|
|
3783
|
+
data: string;
|
|
3784
|
+
format: "wav" | "mp3";
|
|
3785
|
+
};
|
|
3786
|
+
cache_control?: {
|
|
3787
|
+
type: "ephemeral";
|
|
3788
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3789
|
+
} | undefined;
|
|
3586
3790
|
} | {
|
|
3587
3791
|
type: "file";
|
|
3588
3792
|
file: {
|
|
@@ -4542,6 +4746,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
4542
4746
|
type: "ephemeral";
|
|
4543
4747
|
ttl?: "5m" | "1h" | undefined;
|
|
4544
4748
|
} | undefined;
|
|
4749
|
+
} | {
|
|
4750
|
+
type: "input_audio";
|
|
4751
|
+
input_audio: {
|
|
4752
|
+
data: string;
|
|
4753
|
+
format: "wav" | "mp3";
|
|
4754
|
+
};
|
|
4755
|
+
cache_control?: {
|
|
4756
|
+
type: "ephemeral";
|
|
4757
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4758
|
+
} | undefined;
|
|
4545
4759
|
} | {
|
|
4546
4760
|
type: "file";
|
|
4547
4761
|
file: {
|
|
@@ -4819,6 +5033,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
4819
5033
|
type: "ephemeral";
|
|
4820
5034
|
ttl?: "5m" | "1h" | undefined;
|
|
4821
5035
|
} | undefined;
|
|
5036
|
+
} | {
|
|
5037
|
+
type: "input_audio";
|
|
5038
|
+
input_audio: {
|
|
5039
|
+
data: string;
|
|
5040
|
+
format: "wav" | "mp3";
|
|
5041
|
+
};
|
|
5042
|
+
cache_control?: {
|
|
5043
|
+
type: "ephemeral";
|
|
5044
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5045
|
+
} | undefined;
|
|
4822
5046
|
} | {
|
|
4823
5047
|
type: "file";
|
|
4824
5048
|
file: {
|
|
@@ -5101,6 +5325,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
5101
5325
|
type: "ephemeral";
|
|
5102
5326
|
ttl?: "5m" | "1h" | undefined;
|
|
5103
5327
|
} | undefined;
|
|
5328
|
+
} | {
|
|
5329
|
+
type: "input_audio";
|
|
5330
|
+
input_audio: {
|
|
5331
|
+
data: string;
|
|
5332
|
+
format: "wav" | "mp3";
|
|
5333
|
+
};
|
|
5334
|
+
cache_control?: {
|
|
5335
|
+
type: "ephemeral";
|
|
5336
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5337
|
+
} | undefined;
|
|
5104
5338
|
} | {
|
|
5105
5339
|
type: "file";
|
|
5106
5340
|
file: {
|
|
@@ -5381,6 +5615,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
5381
5615
|
type: "ephemeral";
|
|
5382
5616
|
ttl?: "5m" | "1h" | undefined;
|
|
5383
5617
|
} | undefined;
|
|
5618
|
+
} | {
|
|
5619
|
+
type: "input_audio";
|
|
5620
|
+
input_audio: {
|
|
5621
|
+
data: string;
|
|
5622
|
+
format: "wav" | "mp3";
|
|
5623
|
+
};
|
|
5624
|
+
cache_control?: {
|
|
5625
|
+
type: "ephemeral";
|
|
5626
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5627
|
+
} | undefined;
|
|
5384
5628
|
} | {
|
|
5385
5629
|
type: "file";
|
|
5386
5630
|
file: {
|
|
@@ -5634,6 +5878,48 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
5634
5878
|
type: "ephemeral";
|
|
5635
5879
|
ttl?: "5m" | "1h" | undefined;
|
|
5636
5880
|
} | undefined;
|
|
5881
|
+
}>, z.ZodObject<{
|
|
5882
|
+
input_audio: z.ZodObject<{
|
|
5883
|
+
data: z.ZodString;
|
|
5884
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
5885
|
+
}, "strip", z.ZodTypeAny, {
|
|
5886
|
+
data: string;
|
|
5887
|
+
format: "wav" | "mp3";
|
|
5888
|
+
}, {
|
|
5889
|
+
data: string;
|
|
5890
|
+
format: "wav" | "mp3";
|
|
5891
|
+
}>;
|
|
5892
|
+
type: z.ZodLiteral<"input_audio">;
|
|
5893
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
5894
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
5895
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
5896
|
+
}, "strip", z.ZodTypeAny, {
|
|
5897
|
+
type: "ephemeral";
|
|
5898
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5899
|
+
}, {
|
|
5900
|
+
type: "ephemeral";
|
|
5901
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5902
|
+
}>>;
|
|
5903
|
+
}, "strip", z.ZodTypeAny, {
|
|
5904
|
+
type: "input_audio";
|
|
5905
|
+
input_audio: {
|
|
5906
|
+
data: string;
|
|
5907
|
+
format: "wav" | "mp3";
|
|
5908
|
+
};
|
|
5909
|
+
cache_control?: {
|
|
5910
|
+
type: "ephemeral";
|
|
5911
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5912
|
+
} | undefined;
|
|
5913
|
+
}, {
|
|
5914
|
+
type: "input_audio";
|
|
5915
|
+
input_audio: {
|
|
5916
|
+
data: string;
|
|
5917
|
+
format: "wav" | "mp3";
|
|
5918
|
+
};
|
|
5919
|
+
cache_control?: {
|
|
5920
|
+
type: "ephemeral";
|
|
5921
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5922
|
+
} | undefined;
|
|
5637
5923
|
}>, z.ZodObject<{
|
|
5638
5924
|
file: z.ZodObject<{
|
|
5639
5925
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -5703,6 +5989,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
5703
5989
|
type: "ephemeral";
|
|
5704
5990
|
ttl?: "5m" | "1h" | undefined;
|
|
5705
5991
|
} | undefined;
|
|
5992
|
+
} | {
|
|
5993
|
+
type: "input_audio";
|
|
5994
|
+
input_audio: {
|
|
5995
|
+
data: string;
|
|
5996
|
+
format: "wav" | "mp3";
|
|
5997
|
+
};
|
|
5998
|
+
cache_control?: {
|
|
5999
|
+
type: "ephemeral";
|
|
6000
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6001
|
+
} | undefined;
|
|
5706
6002
|
} | {
|
|
5707
6003
|
type: "file";
|
|
5708
6004
|
file: {
|
|
@@ -5735,6 +6031,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
5735
6031
|
type: "ephemeral";
|
|
5736
6032
|
ttl?: "5m" | "1h" | undefined;
|
|
5737
6033
|
} | undefined;
|
|
6034
|
+
} | {
|
|
6035
|
+
type: "input_audio";
|
|
6036
|
+
input_audio: {
|
|
6037
|
+
data: string;
|
|
6038
|
+
format: "wav" | "mp3";
|
|
6039
|
+
};
|
|
6040
|
+
cache_control?: {
|
|
6041
|
+
type: "ephemeral";
|
|
6042
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6043
|
+
} | undefined;
|
|
5738
6044
|
} | {
|
|
5739
6045
|
type: "file";
|
|
5740
6046
|
file: {
|
|
@@ -6096,6 +6402,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
6096
6402
|
type: "ephemeral";
|
|
6097
6403
|
ttl?: "5m" | "1h" | undefined;
|
|
6098
6404
|
} | undefined;
|
|
6405
|
+
} | {
|
|
6406
|
+
type: "input_audio";
|
|
6407
|
+
input_audio: {
|
|
6408
|
+
data: string;
|
|
6409
|
+
format: "wav" | "mp3";
|
|
6410
|
+
};
|
|
6411
|
+
cache_control?: {
|
|
6412
|
+
type: "ephemeral";
|
|
6413
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6414
|
+
} | undefined;
|
|
6099
6415
|
} | {
|
|
6100
6416
|
type: "file";
|
|
6101
6417
|
file: {
|
|
@@ -6220,6 +6536,16 @@ declare const InvokeFunction: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
|
6220
6536
|
type: "ephemeral";
|
|
6221
6537
|
ttl?: "5m" | "1h" | undefined;
|
|
6222
6538
|
} | undefined;
|
|
6539
|
+
} | {
|
|
6540
|
+
type: "input_audio";
|
|
6541
|
+
input_audio: {
|
|
6542
|
+
data: string;
|
|
6543
|
+
format: "wav" | "mp3";
|
|
6544
|
+
};
|
|
6545
|
+
cache_control?: {
|
|
6546
|
+
type: "ephemeral";
|
|
6547
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6548
|
+
} | undefined;
|
|
6223
6549
|
} | {
|
|
6224
6550
|
type: "file";
|
|
6225
6551
|
file: {
|