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.
Files changed (55) hide show
  1. package/dev/dist/index.d.mts +736 -0
  2. package/dev/dist/index.d.ts +736 -0
  3. package/dev/dist/index.js +1280 -428
  4. package/dev/dist/index.mjs +859 -7
  5. package/dist/apply-auto-instrumentation.js +281 -216
  6. package/dist/apply-auto-instrumentation.mjs +66 -1
  7. package/dist/auto-instrumentations/bundler/esbuild.cjs +104 -2
  8. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  9. package/dist/auto-instrumentations/bundler/next.cjs +104 -2
  10. package/dist/auto-instrumentations/bundler/next.mjs +3 -3
  11. package/dist/auto-instrumentations/bundler/rollup.cjs +104 -2
  12. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  13. package/dist/auto-instrumentations/bundler/vite.cjs +104 -2
  14. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  15. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +104 -2
  16. package/dist/auto-instrumentations/bundler/webpack.cjs +104 -2
  17. package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
  18. package/dist/auto-instrumentations/{chunk-U64OYU4Q.mjs → chunk-AFND2U7E.mjs} +38 -1
  19. package/dist/auto-instrumentations/{chunk-OXINGIEZ.mjs → chunk-QEEPRBIS.mjs} +1 -1
  20. package/dist/auto-instrumentations/{chunk-LW4HDHXT.mjs → chunk-RI4Y55ZF.mjs} +69 -2
  21. package/dist/auto-instrumentations/hook.mjs +124 -3
  22. package/dist/auto-instrumentations/index.cjs +39 -1
  23. package/dist/auto-instrumentations/index.d.mts +3 -1
  24. package/dist/auto-instrumentations/index.d.ts +3 -1
  25. package/dist/auto-instrumentations/index.mjs +3 -1
  26. package/dist/browser.d.mts +2124 -2
  27. package/dist/browser.d.ts +2124 -2
  28. package/dist/browser.js +994 -10
  29. package/dist/browser.mjs +994 -10
  30. package/dist/{chunk-AJT4FR25.mjs → chunk-4QSAHP7D.mjs} +818 -5
  31. package/dist/{chunk-4AQGZS6X.js → chunk-AW4QECG5.js} +47 -4
  32. package/dist/{chunk-V32LW47Z.js → chunk-BTRLPQG5.js} +1663 -850
  33. package/dist/{chunk-CE3BLB2L.mjs → chunk-WV6QZI2W.mjs} +46 -3
  34. package/dist/cli.js +923 -8
  35. package/dist/edge-light.d.mts +1 -1
  36. package/dist/edge-light.d.ts +1 -1
  37. package/dist/edge-light.js +994 -10
  38. package/dist/edge-light.mjs +994 -10
  39. package/dist/index.d.mts +2124 -2
  40. package/dist/index.d.ts +2124 -2
  41. package/dist/index.js +581 -447
  42. package/dist/index.mjs +136 -2
  43. package/dist/instrumentation/index.d.mts +434 -0
  44. package/dist/instrumentation/index.d.ts +434 -0
  45. package/dist/instrumentation/index.js +859 -7
  46. package/dist/instrumentation/index.mjs +859 -7
  47. package/dist/vitest-evals-reporter.js +16 -16
  48. package/dist/vitest-evals-reporter.mjs +2 -2
  49. package/dist/workerd.d.mts +1 -1
  50. package/dist/workerd.d.ts +1 -1
  51. package/dist/workerd.js +994 -10
  52. package/dist/workerd.mjs +994 -10
  53. package/package.json +1 -1
  54. package/util/dist/index.d.mts +326 -0
  55. package/util/dist/index.d.ts +326 -0
package/dist/browser.d.ts CHANGED
@@ -1280,6 +1280,48 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
1280
1280
  type: "ephemeral";
1281
1281
  ttl?: "5m" | "1h" | undefined;
1282
1282
  } | undefined;
1283
+ }>, z.ZodObject<{
1284
+ input_audio: z.ZodObject<{
1285
+ data: z.ZodString;
1286
+ format: z.ZodEnum<["wav", "mp3"]>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ data: string;
1289
+ format: "wav" | "mp3";
1290
+ }, {
1291
+ data: string;
1292
+ format: "wav" | "mp3";
1293
+ }>;
1294
+ type: z.ZodLiteral<"input_audio">;
1295
+ cache_control: z.ZodOptional<z.ZodObject<{
1296
+ type: z.ZodLiteral<"ephemeral">;
1297
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1298
+ }, "strip", z.ZodTypeAny, {
1299
+ type: "ephemeral";
1300
+ ttl?: "5m" | "1h" | undefined;
1301
+ }, {
1302
+ type: "ephemeral";
1303
+ ttl?: "5m" | "1h" | undefined;
1304
+ }>>;
1305
+ }, "strip", z.ZodTypeAny, {
1306
+ type: "input_audio";
1307
+ input_audio: {
1308
+ data: string;
1309
+ format: "wav" | "mp3";
1310
+ };
1311
+ cache_control?: {
1312
+ type: "ephemeral";
1313
+ ttl?: "5m" | "1h" | undefined;
1314
+ } | undefined;
1315
+ }, {
1316
+ type: "input_audio";
1317
+ input_audio: {
1318
+ data: string;
1319
+ format: "wav" | "mp3";
1320
+ };
1321
+ cache_control?: {
1322
+ type: "ephemeral";
1323
+ ttl?: "5m" | "1h" | undefined;
1324
+ } | undefined;
1283
1325
  }>, z.ZodObject<{
1284
1326
  file: z.ZodObject<{
1285
1327
  file_data: z.ZodOptional<z.ZodString>;
@@ -1349,6 +1391,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
1349
1391
  type: "ephemeral";
1350
1392
  ttl?: "5m" | "1h" | undefined;
1351
1393
  } | undefined;
1394
+ } | {
1395
+ type: "input_audio";
1396
+ input_audio: {
1397
+ data: string;
1398
+ format: "wav" | "mp3";
1399
+ };
1400
+ cache_control?: {
1401
+ type: "ephemeral";
1402
+ ttl?: "5m" | "1h" | undefined;
1403
+ } | undefined;
1352
1404
  } | {
1353
1405
  type: "file";
1354
1406
  file: {
@@ -1381,6 +1433,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
1381
1433
  type: "ephemeral";
1382
1434
  ttl?: "5m" | "1h" | undefined;
1383
1435
  } | undefined;
1436
+ } | {
1437
+ type: "input_audio";
1438
+ input_audio: {
1439
+ data: string;
1440
+ format: "wav" | "mp3";
1441
+ };
1442
+ cache_control?: {
1443
+ type: "ephemeral";
1444
+ ttl?: "5m" | "1h" | undefined;
1445
+ } | undefined;
1384
1446
  } | {
1385
1447
  type: "file";
1386
1448
  file: {
@@ -1782,6 +1844,48 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1782
1844
  type: "ephemeral";
1783
1845
  ttl?: "5m" | "1h" | undefined;
1784
1846
  } | undefined;
1847
+ }>, z.ZodObject<{
1848
+ input_audio: z.ZodObject<{
1849
+ data: z.ZodString;
1850
+ format: z.ZodEnum<["wav", "mp3"]>;
1851
+ }, "strip", z.ZodTypeAny, {
1852
+ data: string;
1853
+ format: "wav" | "mp3";
1854
+ }, {
1855
+ data: string;
1856
+ format: "wav" | "mp3";
1857
+ }>;
1858
+ type: z.ZodLiteral<"input_audio">;
1859
+ cache_control: z.ZodOptional<z.ZodObject<{
1860
+ type: z.ZodLiteral<"ephemeral">;
1861
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
1862
+ }, "strip", z.ZodTypeAny, {
1863
+ type: "ephemeral";
1864
+ ttl?: "5m" | "1h" | undefined;
1865
+ }, {
1866
+ type: "ephemeral";
1867
+ ttl?: "5m" | "1h" | undefined;
1868
+ }>>;
1869
+ }, "strip", z.ZodTypeAny, {
1870
+ type: "input_audio";
1871
+ input_audio: {
1872
+ data: string;
1873
+ format: "wav" | "mp3";
1874
+ };
1875
+ cache_control?: {
1876
+ type: "ephemeral";
1877
+ ttl?: "5m" | "1h" | undefined;
1878
+ } | undefined;
1879
+ }, {
1880
+ type: "input_audio";
1881
+ input_audio: {
1882
+ data: string;
1883
+ format: "wav" | "mp3";
1884
+ };
1885
+ cache_control?: {
1886
+ type: "ephemeral";
1887
+ ttl?: "5m" | "1h" | undefined;
1888
+ } | undefined;
1785
1889
  }>, z.ZodObject<{
1786
1890
  file: z.ZodObject<{
1787
1891
  file_data: z.ZodOptional<z.ZodString>;
@@ -1851,6 +1955,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1851
1955
  type: "ephemeral";
1852
1956
  ttl?: "5m" | "1h" | undefined;
1853
1957
  } | undefined;
1958
+ } | {
1959
+ type: "input_audio";
1960
+ input_audio: {
1961
+ data: string;
1962
+ format: "wav" | "mp3";
1963
+ };
1964
+ cache_control?: {
1965
+ type: "ephemeral";
1966
+ ttl?: "5m" | "1h" | undefined;
1967
+ } | undefined;
1854
1968
  } | {
1855
1969
  type: "file";
1856
1970
  file: {
@@ -1883,6 +1997,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
1883
1997
  type: "ephemeral";
1884
1998
  ttl?: "5m" | "1h" | undefined;
1885
1999
  } | undefined;
2000
+ } | {
2001
+ type: "input_audio";
2002
+ input_audio: {
2003
+ data: string;
2004
+ format: "wav" | "mp3";
2005
+ };
2006
+ cache_control?: {
2007
+ type: "ephemeral";
2008
+ ttl?: "5m" | "1h" | undefined;
2009
+ } | undefined;
1886
2010
  } | {
1887
2011
  type: "file";
1888
2012
  file: {
@@ -2713,6 +2837,48 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2713
2837
  type: "ephemeral";
2714
2838
  ttl?: "5m" | "1h" | undefined;
2715
2839
  } | undefined;
2840
+ }>, z.ZodObject<{
2841
+ input_audio: z.ZodObject<{
2842
+ data: z.ZodString;
2843
+ format: z.ZodEnum<["wav", "mp3"]>;
2844
+ }, "strip", z.ZodTypeAny, {
2845
+ data: string;
2846
+ format: "wav" | "mp3";
2847
+ }, {
2848
+ data: string;
2849
+ format: "wav" | "mp3";
2850
+ }>;
2851
+ type: z.ZodLiteral<"input_audio">;
2852
+ cache_control: z.ZodOptional<z.ZodObject<{
2853
+ type: z.ZodLiteral<"ephemeral">;
2854
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
2855
+ }, "strip", z.ZodTypeAny, {
2856
+ type: "ephemeral";
2857
+ ttl?: "5m" | "1h" | undefined;
2858
+ }, {
2859
+ type: "ephemeral";
2860
+ ttl?: "5m" | "1h" | undefined;
2861
+ }>>;
2862
+ }, "strip", z.ZodTypeAny, {
2863
+ type: "input_audio";
2864
+ input_audio: {
2865
+ data: string;
2866
+ format: "wav" | "mp3";
2867
+ };
2868
+ cache_control?: {
2869
+ type: "ephemeral";
2870
+ ttl?: "5m" | "1h" | undefined;
2871
+ } | undefined;
2872
+ }, {
2873
+ type: "input_audio";
2874
+ input_audio: {
2875
+ data: string;
2876
+ format: "wav" | "mp3";
2877
+ };
2878
+ cache_control?: {
2879
+ type: "ephemeral";
2880
+ ttl?: "5m" | "1h" | undefined;
2881
+ } | undefined;
2716
2882
  }>, z.ZodObject<{
2717
2883
  file: z.ZodObject<{
2718
2884
  file_data: z.ZodOptional<z.ZodString>;
@@ -2782,6 +2948,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2782
2948
  type: "ephemeral";
2783
2949
  ttl?: "5m" | "1h" | undefined;
2784
2950
  } | undefined;
2951
+ } | {
2952
+ type: "input_audio";
2953
+ input_audio: {
2954
+ data: string;
2955
+ format: "wav" | "mp3";
2956
+ };
2957
+ cache_control?: {
2958
+ type: "ephemeral";
2959
+ ttl?: "5m" | "1h" | undefined;
2960
+ } | undefined;
2785
2961
  } | {
2786
2962
  type: "file";
2787
2963
  file: {
@@ -2814,6 +2990,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
2814
2990
  type: "ephemeral";
2815
2991
  ttl?: "5m" | "1h" | undefined;
2816
2992
  } | undefined;
2993
+ } | {
2994
+ type: "input_audio";
2995
+ input_audio: {
2996
+ data: string;
2997
+ format: "wav" | "mp3";
2998
+ };
2999
+ cache_control?: {
3000
+ type: "ephemeral";
3001
+ ttl?: "5m" | "1h" | undefined;
3002
+ } | undefined;
2817
3003
  } | {
2818
3004
  type: "file";
2819
3005
  file: {
@@ -3124,6 +3310,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
3124
3310
  type: "ephemeral";
3125
3311
  ttl?: "5m" | "1h" | undefined;
3126
3312
  } | undefined;
3313
+ } | {
3314
+ type: "input_audio";
3315
+ input_audio: {
3316
+ data: string;
3317
+ format: "wav" | "mp3";
3318
+ };
3319
+ cache_control?: {
3320
+ type: "ephemeral";
3321
+ ttl?: "5m" | "1h" | undefined;
3322
+ } | undefined;
3127
3323
  } | {
3128
3324
  type: "file";
3129
3325
  file: {
@@ -3228,6 +3424,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
3228
3424
  type: "ephemeral";
3229
3425
  ttl?: "5m" | "1h" | undefined;
3230
3426
  } | undefined;
3427
+ } | {
3428
+ type: "input_audio";
3429
+ input_audio: {
3430
+ data: string;
3431
+ format: "wav" | "mp3";
3432
+ };
3433
+ cache_control?: {
3434
+ type: "ephemeral";
3435
+ ttl?: "5m" | "1h" | undefined;
3436
+ } | undefined;
3231
3437
  } | {
3232
3438
  type: "file";
3233
3439
  file: {
@@ -3654,6 +3860,48 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
3654
3860
  type: "ephemeral";
3655
3861
  ttl?: "5m" | "1h" | undefined;
3656
3862
  } | undefined;
3863
+ }>, z.ZodObject<{
3864
+ input_audio: z.ZodObject<{
3865
+ data: z.ZodString;
3866
+ format: z.ZodEnum<["wav", "mp3"]>;
3867
+ }, "strip", z.ZodTypeAny, {
3868
+ data: string;
3869
+ format: "wav" | "mp3";
3870
+ }, {
3871
+ data: string;
3872
+ format: "wav" | "mp3";
3873
+ }>;
3874
+ type: z.ZodLiteral<"input_audio">;
3875
+ cache_control: z.ZodOptional<z.ZodObject<{
3876
+ type: z.ZodLiteral<"ephemeral">;
3877
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
3878
+ }, "strip", z.ZodTypeAny, {
3879
+ type: "ephemeral";
3880
+ ttl?: "5m" | "1h" | undefined;
3881
+ }, {
3882
+ type: "ephemeral";
3883
+ ttl?: "5m" | "1h" | undefined;
3884
+ }>>;
3885
+ }, "strip", z.ZodTypeAny, {
3886
+ type: "input_audio";
3887
+ input_audio: {
3888
+ data: string;
3889
+ format: "wav" | "mp3";
3890
+ };
3891
+ cache_control?: {
3892
+ type: "ephemeral";
3893
+ ttl?: "5m" | "1h" | undefined;
3894
+ } | undefined;
3895
+ }, {
3896
+ type: "input_audio";
3897
+ input_audio: {
3898
+ data: string;
3899
+ format: "wav" | "mp3";
3900
+ };
3901
+ cache_control?: {
3902
+ type: "ephemeral";
3903
+ ttl?: "5m" | "1h" | undefined;
3904
+ } | undefined;
3657
3905
  }>, z.ZodObject<{
3658
3906
  file: z.ZodObject<{
3659
3907
  file_data: z.ZodOptional<z.ZodString>;
@@ -3723,6 +3971,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
3723
3971
  type: "ephemeral";
3724
3972
  ttl?: "5m" | "1h" | undefined;
3725
3973
  } | undefined;
3974
+ } | {
3975
+ type: "input_audio";
3976
+ input_audio: {
3977
+ data: string;
3978
+ format: "wav" | "mp3";
3979
+ };
3980
+ cache_control?: {
3981
+ type: "ephemeral";
3982
+ ttl?: "5m" | "1h" | undefined;
3983
+ } | undefined;
3726
3984
  } | {
3727
3985
  type: "file";
3728
3986
  file: {
@@ -3755,6 +4013,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
3755
4013
  type: "ephemeral";
3756
4014
  ttl?: "5m" | "1h" | undefined;
3757
4015
  } | undefined;
4016
+ } | {
4017
+ type: "input_audio";
4018
+ input_audio: {
4019
+ data: string;
4020
+ format: "wav" | "mp3";
4021
+ };
4022
+ cache_control?: {
4023
+ type: "ephemeral";
4024
+ ttl?: "5m" | "1h" | undefined;
4025
+ } | undefined;
3758
4026
  } | {
3759
4027
  type: "file";
3760
4028
  file: {
@@ -4065,6 +4333,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
4065
4333
  type: "ephemeral";
4066
4334
  ttl?: "5m" | "1h" | undefined;
4067
4335
  } | undefined;
4336
+ } | {
4337
+ type: "input_audio";
4338
+ input_audio: {
4339
+ data: string;
4340
+ format: "wav" | "mp3";
4341
+ };
4342
+ cache_control?: {
4343
+ type: "ephemeral";
4344
+ ttl?: "5m" | "1h" | undefined;
4345
+ } | undefined;
4068
4346
  } | {
4069
4347
  type: "file";
4070
4348
  file: {
@@ -4169,6 +4447,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
4169
4447
  type: "ephemeral";
4170
4448
  ttl?: "5m" | "1h" | undefined;
4171
4449
  } | undefined;
4450
+ } | {
4451
+ type: "input_audio";
4452
+ input_audio: {
4453
+ data: string;
4454
+ format: "wav" | "mp3";
4455
+ };
4456
+ cache_control?: {
4457
+ type: "ephemeral";
4458
+ ttl?: "5m" | "1h" | undefined;
4459
+ } | undefined;
4172
4460
  } | {
4173
4461
  type: "file";
4174
4462
  file: {
@@ -4285,6 +4573,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
4285
4573
  type: "ephemeral";
4286
4574
  ttl?: "5m" | "1h" | undefined;
4287
4575
  } | undefined;
4576
+ } | {
4577
+ type: "input_audio";
4578
+ input_audio: {
4579
+ data: string;
4580
+ format: "wav" | "mp3";
4581
+ };
4582
+ cache_control?: {
4583
+ type: "ephemeral";
4584
+ ttl?: "5m" | "1h" | undefined;
4585
+ } | undefined;
4288
4586
  } | {
4289
4587
  type: "file";
4290
4588
  file: {
@@ -4400,6 +4698,16 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
4400
4698
  type: "ephemeral";
4401
4699
  ttl?: "5m" | "1h" | undefined;
4402
4700
  } | undefined;
4701
+ } | {
4702
+ type: "input_audio";
4703
+ input_audio: {
4704
+ data: string;
4705
+ format: "wav" | "mp3";
4706
+ };
4707
+ cache_control?: {
4708
+ type: "ephemeral";
4709
+ ttl?: "5m" | "1h" | undefined;
4710
+ } | undefined;
4403
4711
  } | {
4404
4712
  type: "file";
4405
4713
  file: {
@@ -4872,6 +5180,48 @@ declare const GraphData: z.ZodObject<{
4872
5180
  type: "ephemeral";
4873
5181
  ttl?: "5m" | "1h" | undefined;
4874
5182
  } | undefined;
5183
+ }>, z.ZodObject<{
5184
+ input_audio: z.ZodObject<{
5185
+ data: z.ZodString;
5186
+ format: z.ZodEnum<["wav", "mp3"]>;
5187
+ }, "strip", z.ZodTypeAny, {
5188
+ data: string;
5189
+ format: "wav" | "mp3";
5190
+ }, {
5191
+ data: string;
5192
+ format: "wav" | "mp3";
5193
+ }>;
5194
+ type: z.ZodLiteral<"input_audio">;
5195
+ cache_control: z.ZodOptional<z.ZodObject<{
5196
+ type: z.ZodLiteral<"ephemeral">;
5197
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
5198
+ }, "strip", z.ZodTypeAny, {
5199
+ type: "ephemeral";
5200
+ ttl?: "5m" | "1h" | undefined;
5201
+ }, {
5202
+ type: "ephemeral";
5203
+ ttl?: "5m" | "1h" | undefined;
5204
+ }>>;
5205
+ }, "strip", z.ZodTypeAny, {
5206
+ type: "input_audio";
5207
+ input_audio: {
5208
+ data: string;
5209
+ format: "wav" | "mp3";
5210
+ };
5211
+ cache_control?: {
5212
+ type: "ephemeral";
5213
+ ttl?: "5m" | "1h" | undefined;
5214
+ } | undefined;
5215
+ }, {
5216
+ type: "input_audio";
5217
+ input_audio: {
5218
+ data: string;
5219
+ format: "wav" | "mp3";
5220
+ };
5221
+ cache_control?: {
5222
+ type: "ephemeral";
5223
+ ttl?: "5m" | "1h" | undefined;
5224
+ } | undefined;
4875
5225
  }>, z.ZodObject<{
4876
5226
  file: z.ZodObject<{
4877
5227
  file_data: z.ZodOptional<z.ZodString>;
@@ -4941,6 +5291,16 @@ declare const GraphData: z.ZodObject<{
4941
5291
  type: "ephemeral";
4942
5292
  ttl?: "5m" | "1h" | undefined;
4943
5293
  } | undefined;
5294
+ } | {
5295
+ type: "input_audio";
5296
+ input_audio: {
5297
+ data: string;
5298
+ format: "wav" | "mp3";
5299
+ };
5300
+ cache_control?: {
5301
+ type: "ephemeral";
5302
+ ttl?: "5m" | "1h" | undefined;
5303
+ } | undefined;
4944
5304
  } | {
4945
5305
  type: "file";
4946
5306
  file: {
@@ -4973,6 +5333,16 @@ declare const GraphData: z.ZodObject<{
4973
5333
  type: "ephemeral";
4974
5334
  ttl?: "5m" | "1h" | undefined;
4975
5335
  } | undefined;
5336
+ } | {
5337
+ type: "input_audio";
5338
+ input_audio: {
5339
+ data: string;
5340
+ format: "wav" | "mp3";
5341
+ };
5342
+ cache_control?: {
5343
+ type: "ephemeral";
5344
+ ttl?: "5m" | "1h" | undefined;
5345
+ } | undefined;
4976
5346
  } | {
4977
5347
  type: "file";
4978
5348
  file: {
@@ -5283,6 +5653,16 @@ declare const GraphData: z.ZodObject<{
5283
5653
  type: "ephemeral";
5284
5654
  ttl?: "5m" | "1h" | undefined;
5285
5655
  } | undefined;
5656
+ } | {
5657
+ type: "input_audio";
5658
+ input_audio: {
5659
+ data: string;
5660
+ format: "wav" | "mp3";
5661
+ };
5662
+ cache_control?: {
5663
+ type: "ephemeral";
5664
+ ttl?: "5m" | "1h" | undefined;
5665
+ } | undefined;
5286
5666
  } | {
5287
5667
  type: "file";
5288
5668
  file: {
@@ -5387,6 +5767,16 @@ declare const GraphData: z.ZodObject<{
5387
5767
  type: "ephemeral";
5388
5768
  ttl?: "5m" | "1h" | undefined;
5389
5769
  } | undefined;
5770
+ } | {
5771
+ type: "input_audio";
5772
+ input_audio: {
5773
+ data: string;
5774
+ format: "wav" | "mp3";
5775
+ };
5776
+ cache_control?: {
5777
+ type: "ephemeral";
5778
+ ttl?: "5m" | "1h" | undefined;
5779
+ } | undefined;
5390
5780
  } | {
5391
5781
  type: "file";
5392
5782
  file: {
@@ -5503,6 +5893,16 @@ declare const GraphData: z.ZodObject<{
5503
5893
  type: "ephemeral";
5504
5894
  ttl?: "5m" | "1h" | undefined;
5505
5895
  } | undefined;
5896
+ } | {
5897
+ type: "input_audio";
5898
+ input_audio: {
5899
+ data: string;
5900
+ format: "wav" | "mp3";
5901
+ };
5902
+ cache_control?: {
5903
+ type: "ephemeral";
5904
+ ttl?: "5m" | "1h" | undefined;
5905
+ } | undefined;
5506
5906
  } | {
5507
5907
  type: "file";
5508
5908
  file: {
@@ -5618,6 +6018,16 @@ declare const GraphData: z.ZodObject<{
5618
6018
  type: "ephemeral";
5619
6019
  ttl?: "5m" | "1h" | undefined;
5620
6020
  } | undefined;
6021
+ } | {
6022
+ type: "input_audio";
6023
+ input_audio: {
6024
+ data: string;
6025
+ format: "wav" | "mp3";
6026
+ };
6027
+ cache_control?: {
6028
+ type: "ephemeral";
6029
+ ttl?: "5m" | "1h" | undefined;
6030
+ } | undefined;
5621
6031
  } | {
5622
6032
  type: "file";
5623
6033
  file: {
@@ -5834,6 +6244,16 @@ declare const GraphData: z.ZodObject<{
5834
6244
  type: "ephemeral";
5835
6245
  ttl?: "5m" | "1h" | undefined;
5836
6246
  } | undefined;
6247
+ } | {
6248
+ type: "input_audio";
6249
+ input_audio: {
6250
+ data: string;
6251
+ format: "wav" | "mp3";
6252
+ };
6253
+ cache_control?: {
6254
+ type: "ephemeral";
6255
+ ttl?: "5m" | "1h" | undefined;
6256
+ } | undefined;
5837
6257
  } | {
5838
6258
  type: "file";
5839
6259
  file: {
@@ -6018,6 +6438,16 @@ declare const GraphData: z.ZodObject<{
6018
6438
  type: "ephemeral";
6019
6439
  ttl?: "5m" | "1h" | undefined;
6020
6440
  } | undefined;
6441
+ } | {
6442
+ type: "input_audio";
6443
+ input_audio: {
6444
+ data: string;
6445
+ format: "wav" | "mp3";
6446
+ };
6447
+ cache_control?: {
6448
+ type: "ephemeral";
6449
+ ttl?: "5m" | "1h" | undefined;
6450
+ } | undefined;
6021
6451
  } | {
6022
6452
  type: "file";
6023
6453
  file: {
@@ -6790,6 +7220,48 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
6790
7220
  type: "ephemeral";
6791
7221
  ttl?: "5m" | "1h" | undefined;
6792
7222
  } | undefined;
7223
+ }>, z.ZodObject<{
7224
+ input_audio: z.ZodObject<{
7225
+ data: z.ZodString;
7226
+ format: z.ZodEnum<["wav", "mp3"]>;
7227
+ }, "strip", z.ZodTypeAny, {
7228
+ data: string;
7229
+ format: "wav" | "mp3";
7230
+ }, {
7231
+ data: string;
7232
+ format: "wav" | "mp3";
7233
+ }>;
7234
+ type: z.ZodLiteral<"input_audio">;
7235
+ cache_control: z.ZodOptional<z.ZodObject<{
7236
+ type: z.ZodLiteral<"ephemeral">;
7237
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
7238
+ }, "strip", z.ZodTypeAny, {
7239
+ type: "ephemeral";
7240
+ ttl?: "5m" | "1h" | undefined;
7241
+ }, {
7242
+ type: "ephemeral";
7243
+ ttl?: "5m" | "1h" | undefined;
7244
+ }>>;
7245
+ }, "strip", z.ZodTypeAny, {
7246
+ type: "input_audio";
7247
+ input_audio: {
7248
+ data: string;
7249
+ format: "wav" | "mp3";
7250
+ };
7251
+ cache_control?: {
7252
+ type: "ephemeral";
7253
+ ttl?: "5m" | "1h" | undefined;
7254
+ } | undefined;
7255
+ }, {
7256
+ type: "input_audio";
7257
+ input_audio: {
7258
+ data: string;
7259
+ format: "wav" | "mp3";
7260
+ };
7261
+ cache_control?: {
7262
+ type: "ephemeral";
7263
+ ttl?: "5m" | "1h" | undefined;
7264
+ } | undefined;
6793
7265
  }>, z.ZodObject<{
6794
7266
  file: z.ZodObject<{
6795
7267
  file_data: z.ZodOptional<z.ZodString>;
@@ -6859,6 +7331,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
6859
7331
  type: "ephemeral";
6860
7332
  ttl?: "5m" | "1h" | undefined;
6861
7333
  } | undefined;
7334
+ } | {
7335
+ type: "input_audio";
7336
+ input_audio: {
7337
+ data: string;
7338
+ format: "wav" | "mp3";
7339
+ };
7340
+ cache_control?: {
7341
+ type: "ephemeral";
7342
+ ttl?: "5m" | "1h" | undefined;
7343
+ } | undefined;
6862
7344
  } | {
6863
7345
  type: "file";
6864
7346
  file: {
@@ -6891,6 +7373,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
6891
7373
  type: "ephemeral";
6892
7374
  ttl?: "5m" | "1h" | undefined;
6893
7375
  } | undefined;
7376
+ } | {
7377
+ type: "input_audio";
7378
+ input_audio: {
7379
+ data: string;
7380
+ format: "wav" | "mp3";
7381
+ };
7382
+ cache_control?: {
7383
+ type: "ephemeral";
7384
+ ttl?: "5m" | "1h" | undefined;
7385
+ } | undefined;
6894
7386
  } | {
6895
7387
  type: "file";
6896
7388
  file: {
@@ -7201,6 +7693,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7201
7693
  type: "ephemeral";
7202
7694
  ttl?: "5m" | "1h" | undefined;
7203
7695
  } | undefined;
7696
+ } | {
7697
+ type: "input_audio";
7698
+ input_audio: {
7699
+ data: string;
7700
+ format: "wav" | "mp3";
7701
+ };
7702
+ cache_control?: {
7703
+ type: "ephemeral";
7704
+ ttl?: "5m" | "1h" | undefined;
7705
+ } | undefined;
7204
7706
  } | {
7205
7707
  type: "file";
7206
7708
  file: {
@@ -7305,6 +7807,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7305
7807
  type: "ephemeral";
7306
7808
  ttl?: "5m" | "1h" | undefined;
7307
7809
  } | undefined;
7810
+ } | {
7811
+ type: "input_audio";
7812
+ input_audio: {
7813
+ data: string;
7814
+ format: "wav" | "mp3";
7815
+ };
7816
+ cache_control?: {
7817
+ type: "ephemeral";
7818
+ ttl?: "5m" | "1h" | undefined;
7819
+ } | undefined;
7308
7820
  } | {
7309
7821
  type: "file";
7310
7822
  file: {
@@ -7421,6 +7933,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7421
7933
  type: "ephemeral";
7422
7934
  ttl?: "5m" | "1h" | undefined;
7423
7935
  } | undefined;
7936
+ } | {
7937
+ type: "input_audio";
7938
+ input_audio: {
7939
+ data: string;
7940
+ format: "wav" | "mp3";
7941
+ };
7942
+ cache_control?: {
7943
+ type: "ephemeral";
7944
+ ttl?: "5m" | "1h" | undefined;
7945
+ } | undefined;
7424
7946
  } | {
7425
7947
  type: "file";
7426
7948
  file: {
@@ -7536,6 +8058,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7536
8058
  type: "ephemeral";
7537
8059
  ttl?: "5m" | "1h" | undefined;
7538
8060
  } | undefined;
8061
+ } | {
8062
+ type: "input_audio";
8063
+ input_audio: {
8064
+ data: string;
8065
+ format: "wav" | "mp3";
8066
+ };
8067
+ cache_control?: {
8068
+ type: "ephemeral";
8069
+ ttl?: "5m" | "1h" | undefined;
8070
+ } | undefined;
7539
8071
  } | {
7540
8072
  type: "file";
7541
8073
  file: {
@@ -7752,6 +8284,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7752
8284
  type: "ephemeral";
7753
8285
  ttl?: "5m" | "1h" | undefined;
7754
8286
  } | undefined;
8287
+ } | {
8288
+ type: "input_audio";
8289
+ input_audio: {
8290
+ data: string;
8291
+ format: "wav" | "mp3";
8292
+ };
8293
+ cache_control?: {
8294
+ type: "ephemeral";
8295
+ ttl?: "5m" | "1h" | undefined;
8296
+ } | undefined;
7755
8297
  } | {
7756
8298
  type: "file";
7757
8299
  file: {
@@ -7936,6 +8478,16 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
7936
8478
  type: "ephemeral";
7937
8479
  ttl?: "5m" | "1h" | undefined;
7938
8480
  } | undefined;
8481
+ } | {
8482
+ type: "input_audio";
8483
+ input_audio: {
8484
+ data: string;
8485
+ format: "wav" | "mp3";
8486
+ };
8487
+ cache_control?: {
8488
+ type: "ephemeral";
8489
+ ttl?: "5m" | "1h" | undefined;
8490
+ } | undefined;
7939
8491
  } | {
7940
8492
  type: "file";
7941
8493
  file: {
@@ -8808,6 +9360,48 @@ declare const PromptData: z.ZodObject<{
8808
9360
  type: "ephemeral";
8809
9361
  ttl?: "5m" | "1h" | undefined;
8810
9362
  } | undefined;
9363
+ }>, z.ZodObject<{
9364
+ input_audio: z.ZodObject<{
9365
+ data: z.ZodString;
9366
+ format: z.ZodEnum<["wav", "mp3"]>;
9367
+ }, "strip", z.ZodTypeAny, {
9368
+ data: string;
9369
+ format: "wav" | "mp3";
9370
+ }, {
9371
+ data: string;
9372
+ format: "wav" | "mp3";
9373
+ }>;
9374
+ type: z.ZodLiteral<"input_audio">;
9375
+ cache_control: z.ZodOptional<z.ZodObject<{
9376
+ type: z.ZodLiteral<"ephemeral">;
9377
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
9378
+ }, "strip", z.ZodTypeAny, {
9379
+ type: "ephemeral";
9380
+ ttl?: "5m" | "1h" | undefined;
9381
+ }, {
9382
+ type: "ephemeral";
9383
+ ttl?: "5m" | "1h" | undefined;
9384
+ }>>;
9385
+ }, "strip", z.ZodTypeAny, {
9386
+ type: "input_audio";
9387
+ input_audio: {
9388
+ data: string;
9389
+ format: "wav" | "mp3";
9390
+ };
9391
+ cache_control?: {
9392
+ type: "ephemeral";
9393
+ ttl?: "5m" | "1h" | undefined;
9394
+ } | undefined;
9395
+ }, {
9396
+ type: "input_audio";
9397
+ input_audio: {
9398
+ data: string;
9399
+ format: "wav" | "mp3";
9400
+ };
9401
+ cache_control?: {
9402
+ type: "ephemeral";
9403
+ ttl?: "5m" | "1h" | undefined;
9404
+ } | undefined;
8811
9405
  }>, z.ZodObject<{
8812
9406
  file: z.ZodObject<{
8813
9407
  file_data: z.ZodOptional<z.ZodString>;
@@ -8877,6 +9471,16 @@ declare const PromptData: z.ZodObject<{
8877
9471
  type: "ephemeral";
8878
9472
  ttl?: "5m" | "1h" | undefined;
8879
9473
  } | undefined;
9474
+ } | {
9475
+ type: "input_audio";
9476
+ input_audio: {
9477
+ data: string;
9478
+ format: "wav" | "mp3";
9479
+ };
9480
+ cache_control?: {
9481
+ type: "ephemeral";
9482
+ ttl?: "5m" | "1h" | undefined;
9483
+ } | undefined;
8880
9484
  } | {
8881
9485
  type: "file";
8882
9486
  file: {
@@ -8909,6 +9513,16 @@ declare const PromptData: z.ZodObject<{
8909
9513
  type: "ephemeral";
8910
9514
  ttl?: "5m" | "1h" | undefined;
8911
9515
  } | undefined;
9516
+ } | {
9517
+ type: "input_audio";
9518
+ input_audio: {
9519
+ data: string;
9520
+ format: "wav" | "mp3";
9521
+ };
9522
+ cache_control?: {
9523
+ type: "ephemeral";
9524
+ ttl?: "5m" | "1h" | undefined;
9525
+ } | undefined;
8912
9526
  } | {
8913
9527
  type: "file";
8914
9528
  file: {
@@ -9219,6 +9833,16 @@ declare const PromptData: z.ZodObject<{
9219
9833
  type: "ephemeral";
9220
9834
  ttl?: "5m" | "1h" | undefined;
9221
9835
  } | undefined;
9836
+ } | {
9837
+ type: "input_audio";
9838
+ input_audio: {
9839
+ data: string;
9840
+ format: "wav" | "mp3";
9841
+ };
9842
+ cache_control?: {
9843
+ type: "ephemeral";
9844
+ ttl?: "5m" | "1h" | undefined;
9845
+ } | undefined;
9222
9846
  } | {
9223
9847
  type: "file";
9224
9848
  file: {
@@ -9323,6 +9947,16 @@ declare const PromptData: z.ZodObject<{
9323
9947
  type: "ephemeral";
9324
9948
  ttl?: "5m" | "1h" | undefined;
9325
9949
  } | undefined;
9950
+ } | {
9951
+ type: "input_audio";
9952
+ input_audio: {
9953
+ data: string;
9954
+ format: "wav" | "mp3";
9955
+ };
9956
+ cache_control?: {
9957
+ type: "ephemeral";
9958
+ ttl?: "5m" | "1h" | undefined;
9959
+ } | undefined;
9326
9960
  } | {
9327
9961
  type: "file";
9328
9962
  file: {
@@ -10282,6 +10916,16 @@ declare const PromptData: z.ZodObject<{
10282
10916
  type: "ephemeral";
10283
10917
  ttl?: "5m" | "1h" | undefined;
10284
10918
  } | undefined;
10919
+ } | {
10920
+ type: "input_audio";
10921
+ input_audio: {
10922
+ data: string;
10923
+ format: "wav" | "mp3";
10924
+ };
10925
+ cache_control?: {
10926
+ type: "ephemeral";
10927
+ ttl?: "5m" | "1h" | undefined;
10928
+ } | undefined;
10285
10929
  } | {
10286
10930
  type: "file";
10287
10931
  file: {
@@ -10559,6 +11203,16 @@ declare const PromptData: z.ZodObject<{
10559
11203
  type: "ephemeral";
10560
11204
  ttl?: "5m" | "1h" | undefined;
10561
11205
  } | undefined;
11206
+ } | {
11207
+ type: "input_audio";
11208
+ input_audio: {
11209
+ data: string;
11210
+ format: "wav" | "mp3";
11211
+ };
11212
+ cache_control?: {
11213
+ type: "ephemeral";
11214
+ ttl?: "5m" | "1h" | undefined;
11215
+ } | undefined;
10562
11216
  } | {
10563
11217
  type: "file";
10564
11218
  file: {
@@ -10882,6 +11536,48 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
10882
11536
  type: "ephemeral";
10883
11537
  ttl?: "5m" | "1h" | undefined;
10884
11538
  } | undefined;
11539
+ }>, z.ZodObject<{
11540
+ input_audio: z.ZodObject<{
11541
+ data: z.ZodString;
11542
+ format: z.ZodEnum<["wav", "mp3"]>;
11543
+ }, "strip", z.ZodTypeAny, {
11544
+ data: string;
11545
+ format: "wav" | "mp3";
11546
+ }, {
11547
+ data: string;
11548
+ format: "wav" | "mp3";
11549
+ }>;
11550
+ type: z.ZodLiteral<"input_audio">;
11551
+ cache_control: z.ZodOptional<z.ZodObject<{
11552
+ type: z.ZodLiteral<"ephemeral">;
11553
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
11554
+ }, "strip", z.ZodTypeAny, {
11555
+ type: "ephemeral";
11556
+ ttl?: "5m" | "1h" | undefined;
11557
+ }, {
11558
+ type: "ephemeral";
11559
+ ttl?: "5m" | "1h" | undefined;
11560
+ }>>;
11561
+ }, "strip", z.ZodTypeAny, {
11562
+ type: "input_audio";
11563
+ input_audio: {
11564
+ data: string;
11565
+ format: "wav" | "mp3";
11566
+ };
11567
+ cache_control?: {
11568
+ type: "ephemeral";
11569
+ ttl?: "5m" | "1h" | undefined;
11570
+ } | undefined;
11571
+ }, {
11572
+ type: "input_audio";
11573
+ input_audio: {
11574
+ data: string;
11575
+ format: "wav" | "mp3";
11576
+ };
11577
+ cache_control?: {
11578
+ type: "ephemeral";
11579
+ ttl?: "5m" | "1h" | undefined;
11580
+ } | undefined;
10885
11581
  }>, z.ZodObject<{
10886
11582
  file: z.ZodObject<{
10887
11583
  file_data: z.ZodOptional<z.ZodString>;
@@ -10951,6 +11647,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
10951
11647
  type: "ephemeral";
10952
11648
  ttl?: "5m" | "1h" | undefined;
10953
11649
  } | undefined;
11650
+ } | {
11651
+ type: "input_audio";
11652
+ input_audio: {
11653
+ data: string;
11654
+ format: "wav" | "mp3";
11655
+ };
11656
+ cache_control?: {
11657
+ type: "ephemeral";
11658
+ ttl?: "5m" | "1h" | undefined;
11659
+ } | undefined;
10954
11660
  } | {
10955
11661
  type: "file";
10956
11662
  file: {
@@ -10983,6 +11689,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
10983
11689
  type: "ephemeral";
10984
11690
  ttl?: "5m" | "1h" | undefined;
10985
11691
  } | undefined;
11692
+ } | {
11693
+ type: "input_audio";
11694
+ input_audio: {
11695
+ data: string;
11696
+ format: "wav" | "mp3";
11697
+ };
11698
+ cache_control?: {
11699
+ type: "ephemeral";
11700
+ ttl?: "5m" | "1h" | undefined;
11701
+ } | undefined;
10986
11702
  } | {
10987
11703
  type: "file";
10988
11704
  file: {
@@ -11293,6 +12009,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
11293
12009
  type: "ephemeral";
11294
12010
  ttl?: "5m" | "1h" | undefined;
11295
12011
  } | undefined;
12012
+ } | {
12013
+ type: "input_audio";
12014
+ input_audio: {
12015
+ data: string;
12016
+ format: "wav" | "mp3";
12017
+ };
12018
+ cache_control?: {
12019
+ type: "ephemeral";
12020
+ ttl?: "5m" | "1h" | undefined;
12021
+ } | undefined;
11296
12022
  } | {
11297
12023
  type: "file";
11298
12024
  file: {
@@ -11397,6 +12123,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
11397
12123
  type: "ephemeral";
11398
12124
  ttl?: "5m" | "1h" | undefined;
11399
12125
  } | undefined;
12126
+ } | {
12127
+ type: "input_audio";
12128
+ input_audio: {
12129
+ data: string;
12130
+ format: "wav" | "mp3";
12131
+ };
12132
+ cache_control?: {
12133
+ type: "ephemeral";
12134
+ ttl?: "5m" | "1h" | undefined;
12135
+ } | undefined;
11400
12136
  } | {
11401
12137
  type: "file";
11402
12138
  file: {
@@ -12356,6 +13092,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
12356
13092
  type: "ephemeral";
12357
13093
  ttl?: "5m" | "1h" | undefined;
12358
13094
  } | undefined;
13095
+ } | {
13096
+ type: "input_audio";
13097
+ input_audio: {
13098
+ data: string;
13099
+ format: "wav" | "mp3";
13100
+ };
13101
+ cache_control?: {
13102
+ type: "ephemeral";
13103
+ ttl?: "5m" | "1h" | undefined;
13104
+ } | undefined;
12359
13105
  } | {
12360
13106
  type: "file";
12361
13107
  file: {
@@ -12633,6 +13379,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
12633
13379
  type: "ephemeral";
12634
13380
  ttl?: "5m" | "1h" | undefined;
12635
13381
  } | undefined;
13382
+ } | {
13383
+ type: "input_audio";
13384
+ input_audio: {
13385
+ data: string;
13386
+ format: "wav" | "mp3";
13387
+ };
13388
+ cache_control?: {
13389
+ type: "ephemeral";
13390
+ ttl?: "5m" | "1h" | undefined;
13391
+ } | undefined;
12636
13392
  } | {
12637
13393
  type: "file";
12638
13394
  file: {
@@ -12920,6 +13676,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
12920
13676
  type: "ephemeral";
12921
13677
  ttl?: "5m" | "1h" | undefined;
12922
13678
  } | undefined;
13679
+ } | {
13680
+ type: "input_audio";
13681
+ input_audio: {
13682
+ data: string;
13683
+ format: "wav" | "mp3";
13684
+ };
13685
+ cache_control?: {
13686
+ type: "ephemeral";
13687
+ ttl?: "5m" | "1h" | undefined;
13688
+ } | undefined;
12923
13689
  } | {
12924
13690
  type: "file";
12925
13691
  file: {
@@ -13204,6 +13970,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13204
13970
  type: "ephemeral";
13205
13971
  ttl?: "5m" | "1h" | undefined;
13206
13972
  } | undefined;
13973
+ } | {
13974
+ type: "input_audio";
13975
+ input_audio: {
13976
+ data: string;
13977
+ format: "wav" | "mp3";
13978
+ };
13979
+ cache_control?: {
13980
+ type: "ephemeral";
13981
+ ttl?: "5m" | "1h" | undefined;
13982
+ } | undefined;
13207
13983
  } | {
13208
13984
  type: "file";
13209
13985
  file: {
@@ -13454,6 +14230,48 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13454
14230
  type: "ephemeral";
13455
14231
  ttl?: "5m" | "1h" | undefined;
13456
14232
  } | undefined;
14233
+ }>, z.ZodObject<{
14234
+ input_audio: z.ZodObject<{
14235
+ data: z.ZodString;
14236
+ format: z.ZodEnum<["wav", "mp3"]>;
14237
+ }, "strip", z.ZodTypeAny, {
14238
+ data: string;
14239
+ format: "wav" | "mp3";
14240
+ }, {
14241
+ data: string;
14242
+ format: "wav" | "mp3";
14243
+ }>;
14244
+ type: z.ZodLiteral<"input_audio">;
14245
+ cache_control: z.ZodOptional<z.ZodObject<{
14246
+ type: z.ZodLiteral<"ephemeral">;
14247
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
14248
+ }, "strip", z.ZodTypeAny, {
14249
+ type: "ephemeral";
14250
+ ttl?: "5m" | "1h" | undefined;
14251
+ }, {
14252
+ type: "ephemeral";
14253
+ ttl?: "5m" | "1h" | undefined;
14254
+ }>>;
14255
+ }, "strip", z.ZodTypeAny, {
14256
+ type: "input_audio";
14257
+ input_audio: {
14258
+ data: string;
14259
+ format: "wav" | "mp3";
14260
+ };
14261
+ cache_control?: {
14262
+ type: "ephemeral";
14263
+ ttl?: "5m" | "1h" | undefined;
14264
+ } | undefined;
14265
+ }, {
14266
+ type: "input_audio";
14267
+ input_audio: {
14268
+ data: string;
14269
+ format: "wav" | "mp3";
14270
+ };
14271
+ cache_control?: {
14272
+ type: "ephemeral";
14273
+ ttl?: "5m" | "1h" | undefined;
14274
+ } | undefined;
13457
14275
  }>, z.ZodObject<{
13458
14276
  file: z.ZodObject<{
13459
14277
  file_data: z.ZodOptional<z.ZodString>;
@@ -13523,6 +14341,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13523
14341
  type: "ephemeral";
13524
14342
  ttl?: "5m" | "1h" | undefined;
13525
14343
  } | undefined;
14344
+ } | {
14345
+ type: "input_audio";
14346
+ input_audio: {
14347
+ data: string;
14348
+ format: "wav" | "mp3";
14349
+ };
14350
+ cache_control?: {
14351
+ type: "ephemeral";
14352
+ ttl?: "5m" | "1h" | undefined;
14353
+ } | undefined;
13526
14354
  } | {
13527
14355
  type: "file";
13528
14356
  file: {
@@ -13555,6 +14383,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13555
14383
  type: "ephemeral";
13556
14384
  ttl?: "5m" | "1h" | undefined;
13557
14385
  } | undefined;
14386
+ } | {
14387
+ type: "input_audio";
14388
+ input_audio: {
14389
+ data: string;
14390
+ format: "wav" | "mp3";
14391
+ };
14392
+ cache_control?: {
14393
+ type: "ephemeral";
14394
+ ttl?: "5m" | "1h" | undefined;
14395
+ } | undefined;
13558
14396
  } | {
13559
14397
  type: "file";
13560
14398
  file: {
@@ -13865,6 +14703,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13865
14703
  type: "ephemeral";
13866
14704
  ttl?: "5m" | "1h" | undefined;
13867
14705
  } | undefined;
14706
+ } | {
14707
+ type: "input_audio";
14708
+ input_audio: {
14709
+ data: string;
14710
+ format: "wav" | "mp3";
14711
+ };
14712
+ cache_control?: {
14713
+ type: "ephemeral";
14714
+ ttl?: "5m" | "1h" | undefined;
14715
+ } | undefined;
13868
14716
  } | {
13869
14717
  type: "file";
13870
14718
  file: {
@@ -13969,6 +14817,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
13969
14817
  type: "ephemeral";
13970
14818
  ttl?: "5m" | "1h" | undefined;
13971
14819
  } | undefined;
14820
+ } | {
14821
+ type: "input_audio";
14822
+ input_audio: {
14823
+ data: string;
14824
+ format: "wav" | "mp3";
14825
+ };
14826
+ cache_control?: {
14827
+ type: "ephemeral";
14828
+ ttl?: "5m" | "1h" | undefined;
14829
+ } | undefined;
13972
14830
  } | {
13973
14831
  type: "file";
13974
14832
  file: {
@@ -14928,6 +15786,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
14928
15786
  type: "ephemeral";
14929
15787
  ttl?: "5m" | "1h" | undefined;
14930
15788
  } | undefined;
15789
+ } | {
15790
+ type: "input_audio";
15791
+ input_audio: {
15792
+ data: string;
15793
+ format: "wav" | "mp3";
15794
+ };
15795
+ cache_control?: {
15796
+ type: "ephemeral";
15797
+ ttl?: "5m" | "1h" | undefined;
15798
+ } | undefined;
14931
15799
  } | {
14932
15800
  type: "file";
14933
15801
  file: {
@@ -15205,6 +16073,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
15205
16073
  type: "ephemeral";
15206
16074
  ttl?: "5m" | "1h" | undefined;
15207
16075
  } | undefined;
16076
+ } | {
16077
+ type: "input_audio";
16078
+ input_audio: {
16079
+ data: string;
16080
+ format: "wav" | "mp3";
16081
+ };
16082
+ cache_control?: {
16083
+ type: "ephemeral";
16084
+ ttl?: "5m" | "1h" | undefined;
16085
+ } | undefined;
15208
16086
  } | {
15209
16087
  type: "file";
15210
16088
  file: {
@@ -15487,6 +16365,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
15487
16365
  type: "ephemeral";
15488
16366
  ttl?: "5m" | "1h" | undefined;
15489
16367
  } | undefined;
16368
+ } | {
16369
+ type: "input_audio";
16370
+ input_audio: {
16371
+ data: string;
16372
+ format: "wav" | "mp3";
16373
+ };
16374
+ cache_control?: {
16375
+ type: "ephemeral";
16376
+ ttl?: "5m" | "1h" | undefined;
16377
+ } | undefined;
15490
16378
  } | {
15491
16379
  type: "file";
15492
16380
  file: {
@@ -15767,6 +16655,16 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
15767
16655
  type: "ephemeral";
15768
16656
  ttl?: "5m" | "1h" | undefined;
15769
16657
  } | undefined;
16658
+ } | {
16659
+ type: "input_audio";
16660
+ input_audio: {
16661
+ data: string;
16662
+ format: "wav" | "mp3";
16663
+ };
16664
+ cache_control?: {
16665
+ type: "ephemeral";
16666
+ ttl?: "5m" | "1h" | undefined;
16667
+ } | undefined;
15770
16668
  } | {
15771
16669
  type: "file";
15772
16670
  file: {
@@ -16065,6 +16963,48 @@ declare const Prompt$1: z.ZodObject<{
16065
16963
  type: "ephemeral";
16066
16964
  ttl?: "5m" | "1h" | undefined;
16067
16965
  } | undefined;
16966
+ }>, z.ZodObject<{
16967
+ input_audio: z.ZodObject<{
16968
+ data: z.ZodString;
16969
+ format: z.ZodEnum<["wav", "mp3"]>;
16970
+ }, "strip", z.ZodTypeAny, {
16971
+ data: string;
16972
+ format: "wav" | "mp3";
16973
+ }, {
16974
+ data: string;
16975
+ format: "wav" | "mp3";
16976
+ }>;
16977
+ type: z.ZodLiteral<"input_audio">;
16978
+ cache_control: z.ZodOptional<z.ZodObject<{
16979
+ type: z.ZodLiteral<"ephemeral">;
16980
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
16981
+ }, "strip", z.ZodTypeAny, {
16982
+ type: "ephemeral";
16983
+ ttl?: "5m" | "1h" | undefined;
16984
+ }, {
16985
+ type: "ephemeral";
16986
+ ttl?: "5m" | "1h" | undefined;
16987
+ }>>;
16988
+ }, "strip", z.ZodTypeAny, {
16989
+ type: "input_audio";
16990
+ input_audio: {
16991
+ data: string;
16992
+ format: "wav" | "mp3";
16993
+ };
16994
+ cache_control?: {
16995
+ type: "ephemeral";
16996
+ ttl?: "5m" | "1h" | undefined;
16997
+ } | undefined;
16998
+ }, {
16999
+ type: "input_audio";
17000
+ input_audio: {
17001
+ data: string;
17002
+ format: "wav" | "mp3";
17003
+ };
17004
+ cache_control?: {
17005
+ type: "ephemeral";
17006
+ ttl?: "5m" | "1h" | undefined;
17007
+ } | undefined;
16068
17008
  }>, z.ZodObject<{
16069
17009
  file: z.ZodObject<{
16070
17010
  file_data: z.ZodOptional<z.ZodString>;
@@ -16134,6 +17074,16 @@ declare const Prompt$1: z.ZodObject<{
16134
17074
  type: "ephemeral";
16135
17075
  ttl?: "5m" | "1h" | undefined;
16136
17076
  } | undefined;
17077
+ } | {
17078
+ type: "input_audio";
17079
+ input_audio: {
17080
+ data: string;
17081
+ format: "wav" | "mp3";
17082
+ };
17083
+ cache_control?: {
17084
+ type: "ephemeral";
17085
+ ttl?: "5m" | "1h" | undefined;
17086
+ } | undefined;
16137
17087
  } | {
16138
17088
  type: "file";
16139
17089
  file: {
@@ -16166,6 +17116,16 @@ declare const Prompt$1: z.ZodObject<{
16166
17116
  type: "ephemeral";
16167
17117
  ttl?: "5m" | "1h" | undefined;
16168
17118
  } | undefined;
17119
+ } | {
17120
+ type: "input_audio";
17121
+ input_audio: {
17122
+ data: string;
17123
+ format: "wav" | "mp3";
17124
+ };
17125
+ cache_control?: {
17126
+ type: "ephemeral";
17127
+ ttl?: "5m" | "1h" | undefined;
17128
+ } | undefined;
16169
17129
  } | {
16170
17130
  type: "file";
16171
17131
  file: {
@@ -16476,6 +17436,16 @@ declare const Prompt$1: z.ZodObject<{
16476
17436
  type: "ephemeral";
16477
17437
  ttl?: "5m" | "1h" | undefined;
16478
17438
  } | undefined;
17439
+ } | {
17440
+ type: "input_audio";
17441
+ input_audio: {
17442
+ data: string;
17443
+ format: "wav" | "mp3";
17444
+ };
17445
+ cache_control?: {
17446
+ type: "ephemeral";
17447
+ ttl?: "5m" | "1h" | undefined;
17448
+ } | undefined;
16479
17449
  } | {
16480
17450
  type: "file";
16481
17451
  file: {
@@ -16580,6 +17550,16 @@ declare const Prompt$1: z.ZodObject<{
16580
17550
  type: "ephemeral";
16581
17551
  ttl?: "5m" | "1h" | undefined;
16582
17552
  } | undefined;
17553
+ } | {
17554
+ type: "input_audio";
17555
+ input_audio: {
17556
+ data: string;
17557
+ format: "wav" | "mp3";
17558
+ };
17559
+ cache_control?: {
17560
+ type: "ephemeral";
17561
+ ttl?: "5m" | "1h" | undefined;
17562
+ } | undefined;
16583
17563
  } | {
16584
17564
  type: "file";
16585
17565
  file: {
@@ -17539,6 +18519,16 @@ declare const Prompt$1: z.ZodObject<{
17539
18519
  type: "ephemeral";
17540
18520
  ttl?: "5m" | "1h" | undefined;
17541
18521
  } | undefined;
18522
+ } | {
18523
+ type: "input_audio";
18524
+ input_audio: {
18525
+ data: string;
18526
+ format: "wav" | "mp3";
18527
+ };
18528
+ cache_control?: {
18529
+ type: "ephemeral";
18530
+ ttl?: "5m" | "1h" | undefined;
18531
+ } | undefined;
17542
18532
  } | {
17543
18533
  type: "file";
17544
18534
  file: {
@@ -17816,6 +18806,16 @@ declare const Prompt$1: z.ZodObject<{
17816
18806
  type: "ephemeral";
17817
18807
  ttl?: "5m" | "1h" | undefined;
17818
18808
  } | undefined;
18809
+ } | {
18810
+ type: "input_audio";
18811
+ input_audio: {
18812
+ data: string;
18813
+ format: "wav" | "mp3";
18814
+ };
18815
+ cache_control?: {
18816
+ type: "ephemeral";
18817
+ ttl?: "5m" | "1h" | undefined;
18818
+ } | undefined;
17819
18819
  } | {
17820
18820
  type: "file";
17821
18821
  file: {
@@ -18110,6 +19110,16 @@ declare const Prompt$1: z.ZodObject<{
18110
19110
  type: "ephemeral";
18111
19111
  ttl?: "5m" | "1h" | undefined;
18112
19112
  } | undefined;
19113
+ } | {
19114
+ type: "input_audio";
19115
+ input_audio: {
19116
+ data: string;
19117
+ format: "wav" | "mp3";
19118
+ };
19119
+ cache_control?: {
19120
+ type: "ephemeral";
19121
+ ttl?: "5m" | "1h" | undefined;
19122
+ } | undefined;
18113
19123
  } | {
18114
19124
  type: "file";
18115
19125
  file: {
@@ -18401,6 +19411,16 @@ declare const Prompt$1: z.ZodObject<{
18401
19411
  type: "ephemeral";
18402
19412
  ttl?: "5m" | "1h" | undefined;
18403
19413
  } | undefined;
19414
+ } | {
19415
+ type: "input_audio";
19416
+ input_audio: {
19417
+ data: string;
19418
+ format: "wav" | "mp3";
19419
+ };
19420
+ cache_control?: {
19421
+ type: "ephemeral";
19422
+ ttl?: "5m" | "1h" | undefined;
19423
+ } | undefined;
18404
19424
  } | {
18405
19425
  type: "file";
18406
19426
  file: {
@@ -19346,6 +20366,48 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
19346
20366
  type: "ephemeral";
19347
20367
  ttl?: "5m" | "1h" | undefined;
19348
20368
  } | undefined;
20369
+ }>, z.ZodObject<{
20370
+ input_audio: z.ZodObject<{
20371
+ data: z.ZodString;
20372
+ format: z.ZodEnum<["wav", "mp3"]>;
20373
+ }, "strip", z.ZodTypeAny, {
20374
+ data: string;
20375
+ format: "wav" | "mp3";
20376
+ }, {
20377
+ data: string;
20378
+ format: "wav" | "mp3";
20379
+ }>;
20380
+ type: z.ZodLiteral<"input_audio">;
20381
+ cache_control: z.ZodOptional<z.ZodObject<{
20382
+ type: z.ZodLiteral<"ephemeral">;
20383
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
20384
+ }, "strip", z.ZodTypeAny, {
20385
+ type: "ephemeral";
20386
+ ttl?: "5m" | "1h" | undefined;
20387
+ }, {
20388
+ type: "ephemeral";
20389
+ ttl?: "5m" | "1h" | undefined;
20390
+ }>>;
20391
+ }, "strip", z.ZodTypeAny, {
20392
+ type: "input_audio";
20393
+ input_audio: {
20394
+ data: string;
20395
+ format: "wav" | "mp3";
20396
+ };
20397
+ cache_control?: {
20398
+ type: "ephemeral";
20399
+ ttl?: "5m" | "1h" | undefined;
20400
+ } | undefined;
20401
+ }, {
20402
+ type: "input_audio";
20403
+ input_audio: {
20404
+ data: string;
20405
+ format: "wav" | "mp3";
20406
+ };
20407
+ cache_control?: {
20408
+ type: "ephemeral";
20409
+ ttl?: "5m" | "1h" | undefined;
20410
+ } | undefined;
19349
20411
  }>, z.ZodObject<{
19350
20412
  file: z.ZodObject<{
19351
20413
  file_data: z.ZodOptional<z.ZodString>;
@@ -19415,6 +20477,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
19415
20477
  type: "ephemeral";
19416
20478
  ttl?: "5m" | "1h" | undefined;
19417
20479
  } | undefined;
20480
+ } | {
20481
+ type: "input_audio";
20482
+ input_audio: {
20483
+ data: string;
20484
+ format: "wav" | "mp3";
20485
+ };
20486
+ cache_control?: {
20487
+ type: "ephemeral";
20488
+ ttl?: "5m" | "1h" | undefined;
20489
+ } | undefined;
19418
20490
  } | {
19419
20491
  type: "file";
19420
20492
  file: {
@@ -19447,6 +20519,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
19447
20519
  type: "ephemeral";
19448
20520
  ttl?: "5m" | "1h" | undefined;
19449
20521
  } | undefined;
20522
+ } | {
20523
+ type: "input_audio";
20524
+ input_audio: {
20525
+ data: string;
20526
+ format: "wav" | "mp3";
20527
+ };
20528
+ cache_control?: {
20529
+ type: "ephemeral";
20530
+ ttl?: "5m" | "1h" | undefined;
20531
+ } | undefined;
19450
20532
  } | {
19451
20533
  type: "file";
19452
20534
  file: {
@@ -19755,6 +20837,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
19755
20837
  type: "ephemeral";
19756
20838
  ttl?: "5m" | "1h" | undefined;
19757
20839
  } | undefined;
20840
+ } | {
20841
+ type: "input_audio";
20842
+ input_audio: {
20843
+ data: string;
20844
+ format: "wav" | "mp3";
20845
+ };
20846
+ cache_control?: {
20847
+ type: "ephemeral";
20848
+ ttl?: "5m" | "1h" | undefined;
20849
+ } | undefined;
19758
20850
  } | {
19759
20851
  type: "file";
19760
20852
  file: {
@@ -19857,6 +20949,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
19857
20949
  type: "ephemeral";
19858
20950
  ttl?: "5m" | "1h" | undefined;
19859
20951
  } | undefined;
20952
+ } | {
20953
+ type: "input_audio";
20954
+ input_audio: {
20955
+ data: string;
20956
+ format: "wav" | "mp3";
20957
+ };
20958
+ cache_control?: {
20959
+ type: "ephemeral";
20960
+ ttl?: "5m" | "1h" | undefined;
20961
+ } | undefined;
19860
20962
  } | {
19861
20963
  type: "file";
19862
20964
  file: {
@@ -20617,6 +21719,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
20617
21719
  type: "ephemeral";
20618
21720
  ttl?: "5m" | "1h" | undefined;
20619
21721
  } | undefined;
21722
+ } | {
21723
+ type: "input_audio";
21724
+ input_audio: {
21725
+ data: string;
21726
+ format: "wav" | "mp3";
21727
+ };
21728
+ cache_control?: {
21729
+ type: "ephemeral";
21730
+ ttl?: "5m" | "1h" | undefined;
21731
+ } | undefined;
20620
21732
  } | {
20621
21733
  type: "file";
20622
21734
  file: {
@@ -20856,6 +21968,16 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
20856
21968
  type: "ephemeral";
20857
21969
  ttl?: "5m" | "1h" | undefined;
20858
21970
  } | undefined;
21971
+ } | {
21972
+ type: "input_audio";
21973
+ input_audio: {
21974
+ data: string;
21975
+ format: "wav" | "mp3";
21976
+ };
21977
+ cache_control?: {
21978
+ type: "ephemeral";
21979
+ ttl?: "5m" | "1h" | undefined;
21980
+ } | undefined;
20859
21981
  } | {
20860
21982
  type: "file";
20861
21983
  file: {
@@ -25335,6 +26457,9 @@ declare function wrapStrandsAgentSDK<T>(sdk: T): T;
25335
26457
  */
25336
26458
  declare function wrapCloudflareAIChat<T>(module: T): T;
25337
26459
 
26460
+ /** Trace @google/generative-ai model and chat calls through Braintrust. */
26461
+ declare function wrapGoogleGenerativeAI<T>(client: T): T;
26462
+
25338
26463
  /**
25339
26464
  * Wrap a Google GenAI module (imported with `import * as googleGenAI from '@google/genai'`) to add tracing.
25340
26465
  * If Braintrust is not configured, nothing will be traced.
@@ -25915,6 +27040,48 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
25915
27040
  type: "ephemeral";
25916
27041
  ttl?: "5m" | "1h" | undefined;
25917
27042
  } | undefined;
27043
+ }>, z.ZodObject<{
27044
+ input_audio: z.ZodObject<{
27045
+ data: z.ZodString;
27046
+ format: z.ZodEnum<["wav", "mp3"]>;
27047
+ }, "strip", z.ZodTypeAny, {
27048
+ data: string;
27049
+ format: "wav" | "mp3";
27050
+ }, {
27051
+ data: string;
27052
+ format: "wav" | "mp3";
27053
+ }>;
27054
+ type: z.ZodLiteral<"input_audio">;
27055
+ cache_control: z.ZodOptional<z.ZodObject<{
27056
+ type: z.ZodLiteral<"ephemeral">;
27057
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
27058
+ }, "strip", z.ZodTypeAny, {
27059
+ type: "ephemeral";
27060
+ ttl?: "5m" | "1h" | undefined;
27061
+ }, {
27062
+ type: "ephemeral";
27063
+ ttl?: "5m" | "1h" | undefined;
27064
+ }>>;
27065
+ }, "strip", z.ZodTypeAny, {
27066
+ type: "input_audio";
27067
+ input_audio: {
27068
+ data: string;
27069
+ format: "wav" | "mp3";
27070
+ };
27071
+ cache_control?: {
27072
+ type: "ephemeral";
27073
+ ttl?: "5m" | "1h" | undefined;
27074
+ } | undefined;
27075
+ }, {
27076
+ type: "input_audio";
27077
+ input_audio: {
27078
+ data: string;
27079
+ format: "wav" | "mp3";
27080
+ };
27081
+ cache_control?: {
27082
+ type: "ephemeral";
27083
+ ttl?: "5m" | "1h" | undefined;
27084
+ } | undefined;
25918
27085
  }>, z.ZodObject<{
25919
27086
  file: z.ZodObject<{
25920
27087
  file_data: z.ZodOptional<z.ZodString>;
@@ -25984,6 +27151,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
25984
27151
  type: "ephemeral";
25985
27152
  ttl?: "5m" | "1h" | undefined;
25986
27153
  } | undefined;
27154
+ } | {
27155
+ type: "input_audio";
27156
+ input_audio: {
27157
+ data: string;
27158
+ format: "wav" | "mp3";
27159
+ };
27160
+ cache_control?: {
27161
+ type: "ephemeral";
27162
+ ttl?: "5m" | "1h" | undefined;
27163
+ } | undefined;
25987
27164
  } | {
25988
27165
  type: "file";
25989
27166
  file: {
@@ -26016,6 +27193,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
26016
27193
  type: "ephemeral";
26017
27194
  ttl?: "5m" | "1h" | undefined;
26018
27195
  } | undefined;
27196
+ } | {
27197
+ type: "input_audio";
27198
+ input_audio: {
27199
+ data: string;
27200
+ format: "wav" | "mp3";
27201
+ };
27202
+ cache_control?: {
27203
+ type: "ephemeral";
27204
+ ttl?: "5m" | "1h" | undefined;
27205
+ } | undefined;
26019
27206
  } | {
26020
27207
  type: "file";
26021
27208
  file: {
@@ -26324,6 +27511,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
26324
27511
  type: "ephemeral";
26325
27512
  ttl?: "5m" | "1h" | undefined;
26326
27513
  } | undefined;
27514
+ } | {
27515
+ type: "input_audio";
27516
+ input_audio: {
27517
+ data: string;
27518
+ format: "wav" | "mp3";
27519
+ };
27520
+ cache_control?: {
27521
+ type: "ephemeral";
27522
+ ttl?: "5m" | "1h" | undefined;
27523
+ } | undefined;
26327
27524
  } | {
26328
27525
  type: "file";
26329
27526
  file: {
@@ -26426,6 +27623,16 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
26426
27623
  type: "ephemeral";
26427
27624
  ttl?: "5m" | "1h" | undefined;
26428
27625
  } | undefined;
27626
+ } | {
27627
+ type: "input_audio";
27628
+ input_audio: {
27629
+ data: string;
27630
+ format: "wav" | "mp3";
27631
+ };
27632
+ cache_control?: {
27633
+ type: "ephemeral";
27634
+ ttl?: "5m" | "1h" | undefined;
27635
+ } | undefined;
26429
27636
  } | {
26430
27637
  type: "file";
26431
27638
  file: {
@@ -26629,6 +27836,48 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
26629
27836
  type: "ephemeral";
26630
27837
  ttl?: "5m" | "1h" | undefined;
26631
27838
  } | undefined;
27839
+ }>, z.ZodObject<{
27840
+ input_audio: z.ZodObject<{
27841
+ data: z.ZodString;
27842
+ format: z.ZodEnum<["wav", "mp3"]>;
27843
+ }, "strip", z.ZodTypeAny, {
27844
+ data: string;
27845
+ format: "wav" | "mp3";
27846
+ }, {
27847
+ data: string;
27848
+ format: "wav" | "mp3";
27849
+ }>;
27850
+ type: z.ZodLiteral<"input_audio">;
27851
+ cache_control: z.ZodOptional<z.ZodObject<{
27852
+ type: z.ZodLiteral<"ephemeral">;
27853
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
27854
+ }, "strip", z.ZodTypeAny, {
27855
+ type: "ephemeral";
27856
+ ttl?: "5m" | "1h" | undefined;
27857
+ }, {
27858
+ type: "ephemeral";
27859
+ ttl?: "5m" | "1h" | undefined;
27860
+ }>>;
27861
+ }, "strip", z.ZodTypeAny, {
27862
+ type: "input_audio";
27863
+ input_audio: {
27864
+ data: string;
27865
+ format: "wav" | "mp3";
27866
+ };
27867
+ cache_control?: {
27868
+ type: "ephemeral";
27869
+ ttl?: "5m" | "1h" | undefined;
27870
+ } | undefined;
27871
+ }, {
27872
+ type: "input_audio";
27873
+ input_audio: {
27874
+ data: string;
27875
+ format: "wav" | "mp3";
27876
+ };
27877
+ cache_control?: {
27878
+ type: "ephemeral";
27879
+ ttl?: "5m" | "1h" | undefined;
27880
+ } | undefined;
26632
27881
  }>, z.ZodObject<{
26633
27882
  file: z.ZodObject<{
26634
27883
  file_data: z.ZodOptional<z.ZodString>;
@@ -26698,6 +27947,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
26698
27947
  type: "ephemeral";
26699
27948
  ttl?: "5m" | "1h" | undefined;
26700
27949
  } | undefined;
27950
+ } | {
27951
+ type: "input_audio";
27952
+ input_audio: {
27953
+ data: string;
27954
+ format: "wav" | "mp3";
27955
+ };
27956
+ cache_control?: {
27957
+ type: "ephemeral";
27958
+ ttl?: "5m" | "1h" | undefined;
27959
+ } | undefined;
26701
27960
  } | {
26702
27961
  type: "file";
26703
27962
  file: {
@@ -26730,6 +27989,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
26730
27989
  type: "ephemeral";
26731
27990
  ttl?: "5m" | "1h" | undefined;
26732
27991
  } | undefined;
27992
+ } | {
27993
+ type: "input_audio";
27994
+ input_audio: {
27995
+ data: string;
27996
+ format: "wav" | "mp3";
27997
+ };
27998
+ cache_control?: {
27999
+ type: "ephemeral";
28000
+ ttl?: "5m" | "1h" | undefined;
28001
+ } | undefined;
26733
28002
  } | {
26734
28003
  type: "file";
26735
28004
  file: {
@@ -27038,6 +28307,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
27038
28307
  type: "ephemeral";
27039
28308
  ttl?: "5m" | "1h" | undefined;
27040
28309
  } | undefined;
28310
+ } | {
28311
+ type: "input_audio";
28312
+ input_audio: {
28313
+ data: string;
28314
+ format: "wav" | "mp3";
28315
+ };
28316
+ cache_control?: {
28317
+ type: "ephemeral";
28318
+ ttl?: "5m" | "1h" | undefined;
28319
+ } | undefined;
27041
28320
  } | {
27042
28321
  type: "file";
27043
28322
  file: {
@@ -27140,6 +28419,16 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
27140
28419
  type: "ephemeral";
27141
28420
  ttl?: "5m" | "1h" | undefined;
27142
28421
  } | undefined;
28422
+ } | {
28423
+ type: "input_audio";
28424
+ input_audio: {
28425
+ data: string;
28426
+ format: "wav" | "mp3";
28427
+ };
28428
+ cache_control?: {
28429
+ type: "ephemeral";
28430
+ ttl?: "5m" | "1h" | undefined;
28431
+ } | undefined;
27143
28432
  } | {
27144
28433
  type: "file";
27145
28434
  file: {
@@ -27938,6 +29227,48 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
27938
29227
  type: "ephemeral";
27939
29228
  ttl?: "5m" | "1h" | undefined;
27940
29229
  } | undefined;
29230
+ }>, z.ZodObject<{
29231
+ input_audio: z.ZodObject<{
29232
+ data: z.ZodString;
29233
+ format: z.ZodEnum<["wav", "mp3"]>;
29234
+ }, "strip", z.ZodTypeAny, {
29235
+ data: string;
29236
+ format: "wav" | "mp3";
29237
+ }, {
29238
+ data: string;
29239
+ format: "wav" | "mp3";
29240
+ }>;
29241
+ type: z.ZodLiteral<"input_audio">;
29242
+ cache_control: z.ZodOptional<z.ZodObject<{
29243
+ type: z.ZodLiteral<"ephemeral">;
29244
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
29245
+ }, "strip", z.ZodTypeAny, {
29246
+ type: "ephemeral";
29247
+ ttl?: "5m" | "1h" | undefined;
29248
+ }, {
29249
+ type: "ephemeral";
29250
+ ttl?: "5m" | "1h" | undefined;
29251
+ }>>;
29252
+ }, "strip", z.ZodTypeAny, {
29253
+ type: "input_audio";
29254
+ input_audio: {
29255
+ data: string;
29256
+ format: "wav" | "mp3";
29257
+ };
29258
+ cache_control?: {
29259
+ type: "ephemeral";
29260
+ ttl?: "5m" | "1h" | undefined;
29261
+ } | undefined;
29262
+ }, {
29263
+ type: "input_audio";
29264
+ input_audio: {
29265
+ data: string;
29266
+ format: "wav" | "mp3";
29267
+ };
29268
+ cache_control?: {
29269
+ type: "ephemeral";
29270
+ ttl?: "5m" | "1h" | undefined;
29271
+ } | undefined;
27941
29272
  }>, z.ZodObject<{
27942
29273
  file: z.ZodObject<{
27943
29274
  file_data: z.ZodOptional<z.ZodString>;
@@ -28007,6 +29338,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
28007
29338
  type: "ephemeral";
28008
29339
  ttl?: "5m" | "1h" | undefined;
28009
29340
  } | undefined;
29341
+ } | {
29342
+ type: "input_audio";
29343
+ input_audio: {
29344
+ data: string;
29345
+ format: "wav" | "mp3";
29346
+ };
29347
+ cache_control?: {
29348
+ type: "ephemeral";
29349
+ ttl?: "5m" | "1h" | undefined;
29350
+ } | undefined;
28010
29351
  } | {
28011
29352
  type: "file";
28012
29353
  file: {
@@ -28039,6 +29380,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
28039
29380
  type: "ephemeral";
28040
29381
  ttl?: "5m" | "1h" | undefined;
28041
29382
  } | undefined;
29383
+ } | {
29384
+ type: "input_audio";
29385
+ input_audio: {
29386
+ data: string;
29387
+ format: "wav" | "mp3";
29388
+ };
29389
+ cache_control?: {
29390
+ type: "ephemeral";
29391
+ ttl?: "5m" | "1h" | undefined;
29392
+ } | undefined;
28042
29393
  } | {
28043
29394
  type: "file";
28044
29395
  file: {
@@ -28347,6 +29698,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
28347
29698
  type: "ephemeral";
28348
29699
  ttl?: "5m" | "1h" | undefined;
28349
29700
  } | undefined;
29701
+ } | {
29702
+ type: "input_audio";
29703
+ input_audio: {
29704
+ data: string;
29705
+ format: "wav" | "mp3";
29706
+ };
29707
+ cache_control?: {
29708
+ type: "ephemeral";
29709
+ ttl?: "5m" | "1h" | undefined;
29710
+ } | undefined;
28350
29711
  } | {
28351
29712
  type: "file";
28352
29713
  file: {
@@ -28449,6 +29810,16 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
28449
29810
  type: "ephemeral";
28450
29811
  ttl?: "5m" | "1h" | undefined;
28451
29812
  } | undefined;
29813
+ } | {
29814
+ type: "input_audio";
29815
+ input_audio: {
29816
+ data: string;
29817
+ format: "wav" | "mp3";
29818
+ };
29819
+ cache_control?: {
29820
+ type: "ephemeral";
29821
+ ttl?: "5m" | "1h" | undefined;
29822
+ } | undefined;
28452
29823
  } | {
28453
29824
  type: "file";
28454
29825
  file: {
@@ -29304,6 +30675,48 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
29304
30675
  type: "ephemeral";
29305
30676
  ttl?: "5m" | "1h" | undefined;
29306
30677
  } | undefined;
30678
+ }>, z.ZodObject<{
30679
+ input_audio: z.ZodObject<{
30680
+ data: z.ZodString;
30681
+ format: z.ZodEnum<["wav", "mp3"]>;
30682
+ }, "strip", z.ZodTypeAny, {
30683
+ data: string;
30684
+ format: "wav" | "mp3";
30685
+ }, {
30686
+ data: string;
30687
+ format: "wav" | "mp3";
30688
+ }>;
30689
+ type: z.ZodLiteral<"input_audio">;
30690
+ cache_control: z.ZodOptional<z.ZodObject<{
30691
+ type: z.ZodLiteral<"ephemeral">;
30692
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
30693
+ }, "strip", z.ZodTypeAny, {
30694
+ type: "ephemeral";
30695
+ ttl?: "5m" | "1h" | undefined;
30696
+ }, {
30697
+ type: "ephemeral";
30698
+ ttl?: "5m" | "1h" | undefined;
30699
+ }>>;
30700
+ }, "strip", z.ZodTypeAny, {
30701
+ type: "input_audio";
30702
+ input_audio: {
30703
+ data: string;
30704
+ format: "wav" | "mp3";
30705
+ };
30706
+ cache_control?: {
30707
+ type: "ephemeral";
30708
+ ttl?: "5m" | "1h" | undefined;
30709
+ } | undefined;
30710
+ }, {
30711
+ type: "input_audio";
30712
+ input_audio: {
30713
+ data: string;
30714
+ format: "wav" | "mp3";
30715
+ };
30716
+ cache_control?: {
30717
+ type: "ephemeral";
30718
+ ttl?: "5m" | "1h" | undefined;
30719
+ } | undefined;
29307
30720
  }>, z.ZodObject<{
29308
30721
  file: z.ZodObject<{
29309
30722
  file_data: z.ZodOptional<z.ZodString>;
@@ -29373,6 +30786,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
29373
30786
  type: "ephemeral";
29374
30787
  ttl?: "5m" | "1h" | undefined;
29375
30788
  } | undefined;
30789
+ } | {
30790
+ type: "input_audio";
30791
+ input_audio: {
30792
+ data: string;
30793
+ format: "wav" | "mp3";
30794
+ };
30795
+ cache_control?: {
30796
+ type: "ephemeral";
30797
+ ttl?: "5m" | "1h" | undefined;
30798
+ } | undefined;
29376
30799
  } | {
29377
30800
  type: "file";
29378
30801
  file: {
@@ -29405,6 +30828,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
29405
30828
  type: "ephemeral";
29406
30829
  ttl?: "5m" | "1h" | undefined;
29407
30830
  } | undefined;
30831
+ } | {
30832
+ type: "input_audio";
30833
+ input_audio: {
30834
+ data: string;
30835
+ format: "wav" | "mp3";
30836
+ };
30837
+ cache_control?: {
30838
+ type: "ephemeral";
30839
+ ttl?: "5m" | "1h" | undefined;
30840
+ } | undefined;
29408
30841
  } | {
29409
30842
  type: "file";
29410
30843
  file: {
@@ -29715,6 +31148,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
29715
31148
  type: "ephemeral";
29716
31149
  ttl?: "5m" | "1h" | undefined;
29717
31150
  } | undefined;
31151
+ } | {
31152
+ type: "input_audio";
31153
+ input_audio: {
31154
+ data: string;
31155
+ format: "wav" | "mp3";
31156
+ };
31157
+ cache_control?: {
31158
+ type: "ephemeral";
31159
+ ttl?: "5m" | "1h" | undefined;
31160
+ } | undefined;
29718
31161
  } | {
29719
31162
  type: "file";
29720
31163
  file: {
@@ -29819,6 +31262,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
29819
31262
  type: "ephemeral";
29820
31263
  ttl?: "5m" | "1h" | undefined;
29821
31264
  } | undefined;
31265
+ } | {
31266
+ type: "input_audio";
31267
+ input_audio: {
31268
+ data: string;
31269
+ format: "wav" | "mp3";
31270
+ };
31271
+ cache_control?: {
31272
+ type: "ephemeral";
31273
+ ttl?: "5m" | "1h" | undefined;
31274
+ } | undefined;
29822
31275
  } | {
29823
31276
  type: "file";
29824
31277
  file: {
@@ -30778,6 +32231,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
30778
32231
  type: "ephemeral";
30779
32232
  ttl?: "5m" | "1h" | undefined;
30780
32233
  } | undefined;
32234
+ } | {
32235
+ type: "input_audio";
32236
+ input_audio: {
32237
+ data: string;
32238
+ format: "wav" | "mp3";
32239
+ };
32240
+ cache_control?: {
32241
+ type: "ephemeral";
32242
+ ttl?: "5m" | "1h" | undefined;
32243
+ } | undefined;
30781
32244
  } | {
30782
32245
  type: "file";
30783
32246
  file: {
@@ -31055,6 +32518,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
31055
32518
  type: "ephemeral";
31056
32519
  ttl?: "5m" | "1h" | undefined;
31057
32520
  } | undefined;
32521
+ } | {
32522
+ type: "input_audio";
32523
+ input_audio: {
32524
+ data: string;
32525
+ format: "wav" | "mp3";
32526
+ };
32527
+ cache_control?: {
32528
+ type: "ephemeral";
32529
+ ttl?: "5m" | "1h" | undefined;
32530
+ } | undefined;
31058
32531
  } | {
31059
32532
  type: "file";
31060
32533
  file: {
@@ -31337,6 +32810,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
31337
32810
  type: "ephemeral";
31338
32811
  ttl?: "5m" | "1h" | undefined;
31339
32812
  } | undefined;
32813
+ } | {
32814
+ type: "input_audio";
32815
+ input_audio: {
32816
+ data: string;
32817
+ format: "wav" | "mp3";
32818
+ };
32819
+ cache_control?: {
32820
+ type: "ephemeral";
32821
+ ttl?: "5m" | "1h" | undefined;
32822
+ } | undefined;
31340
32823
  } | {
31341
32824
  type: "file";
31342
32825
  file: {
@@ -31618,6 +33101,16 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
31618
33101
  type: "ephemeral";
31619
33102
  ttl?: "5m" | "1h" | undefined;
31620
33103
  } | undefined;
33104
+ } | {
33105
+ type: "input_audio";
33106
+ input_audio: {
33107
+ data: string;
33108
+ format: "wav" | "mp3";
33109
+ };
33110
+ cache_control?: {
33111
+ type: "ephemeral";
33112
+ ttl?: "5m" | "1h" | undefined;
33113
+ } | undefined;
31621
33114
  } | {
31622
33115
  type: "file";
31623
33116
  file: {
@@ -31988,6 +33481,48 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
31988
33481
  type: "ephemeral";
31989
33482
  ttl?: "5m" | "1h" | undefined;
31990
33483
  } | undefined;
33484
+ }>, z.ZodObject<{
33485
+ input_audio: z.ZodObject<{
33486
+ data: z.ZodString;
33487
+ format: z.ZodEnum<["wav", "mp3"]>;
33488
+ }, "strip", z.ZodTypeAny, {
33489
+ data: string;
33490
+ format: "wav" | "mp3";
33491
+ }, {
33492
+ data: string;
33493
+ format: "wav" | "mp3";
33494
+ }>;
33495
+ type: z.ZodLiteral<"input_audio">;
33496
+ cache_control: z.ZodOptional<z.ZodObject<{
33497
+ type: z.ZodLiteral<"ephemeral">;
33498
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
33499
+ }, "strip", z.ZodTypeAny, {
33500
+ type: "ephemeral";
33501
+ ttl?: "5m" | "1h" | undefined;
33502
+ }, {
33503
+ type: "ephemeral";
33504
+ ttl?: "5m" | "1h" | undefined;
33505
+ }>>;
33506
+ }, "strip", z.ZodTypeAny, {
33507
+ type: "input_audio";
33508
+ input_audio: {
33509
+ data: string;
33510
+ format: "wav" | "mp3";
33511
+ };
33512
+ cache_control?: {
33513
+ type: "ephemeral";
33514
+ ttl?: "5m" | "1h" | undefined;
33515
+ } | undefined;
33516
+ }, {
33517
+ type: "input_audio";
33518
+ input_audio: {
33519
+ data: string;
33520
+ format: "wav" | "mp3";
33521
+ };
33522
+ cache_control?: {
33523
+ type: "ephemeral";
33524
+ ttl?: "5m" | "1h" | undefined;
33525
+ } | undefined;
31991
33526
  }>, z.ZodObject<{
31992
33527
  file: z.ZodObject<{
31993
33528
  file_data: z.ZodOptional<z.ZodString>;
@@ -32057,6 +33592,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
32057
33592
  type: "ephemeral";
32058
33593
  ttl?: "5m" | "1h" | undefined;
32059
33594
  } | undefined;
33595
+ } | {
33596
+ type: "input_audio";
33597
+ input_audio: {
33598
+ data: string;
33599
+ format: "wav" | "mp3";
33600
+ };
33601
+ cache_control?: {
33602
+ type: "ephemeral";
33603
+ ttl?: "5m" | "1h" | undefined;
33604
+ } | undefined;
32060
33605
  } | {
32061
33606
  type: "file";
32062
33607
  file: {
@@ -32089,6 +33634,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
32089
33634
  type: "ephemeral";
32090
33635
  ttl?: "5m" | "1h" | undefined;
32091
33636
  } | undefined;
33637
+ } | {
33638
+ type: "input_audio";
33639
+ input_audio: {
33640
+ data: string;
33641
+ format: "wav" | "mp3";
33642
+ };
33643
+ cache_control?: {
33644
+ type: "ephemeral";
33645
+ ttl?: "5m" | "1h" | undefined;
33646
+ } | undefined;
32092
33647
  } | {
32093
33648
  type: "file";
32094
33649
  file: {
@@ -32399,6 +33954,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
32399
33954
  type: "ephemeral";
32400
33955
  ttl?: "5m" | "1h" | undefined;
32401
33956
  } | undefined;
33957
+ } | {
33958
+ type: "input_audio";
33959
+ input_audio: {
33960
+ data: string;
33961
+ format: "wav" | "mp3";
33962
+ };
33963
+ cache_control?: {
33964
+ type: "ephemeral";
33965
+ ttl?: "5m" | "1h" | undefined;
33966
+ } | undefined;
32402
33967
  } | {
32403
33968
  type: "file";
32404
33969
  file: {
@@ -32503,6 +34068,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
32503
34068
  type: "ephemeral";
32504
34069
  ttl?: "5m" | "1h" | undefined;
32505
34070
  } | undefined;
34071
+ } | {
34072
+ type: "input_audio";
34073
+ input_audio: {
34074
+ data: string;
34075
+ format: "wav" | "mp3";
34076
+ };
34077
+ cache_control?: {
34078
+ type: "ephemeral";
34079
+ ttl?: "5m" | "1h" | undefined;
34080
+ } | undefined;
32506
34081
  } | {
32507
34082
  type: "file";
32508
34083
  file: {
@@ -33462,6 +35037,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
33462
35037
  type: "ephemeral";
33463
35038
  ttl?: "5m" | "1h" | undefined;
33464
35039
  } | undefined;
35040
+ } | {
35041
+ type: "input_audio";
35042
+ input_audio: {
35043
+ data: string;
35044
+ format: "wav" | "mp3";
35045
+ };
35046
+ cache_control?: {
35047
+ type: "ephemeral";
35048
+ ttl?: "5m" | "1h" | undefined;
35049
+ } | undefined;
33465
35050
  } | {
33466
35051
  type: "file";
33467
35052
  file: {
@@ -33739,6 +35324,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
33739
35324
  type: "ephemeral";
33740
35325
  ttl?: "5m" | "1h" | undefined;
33741
35326
  } | undefined;
35327
+ } | {
35328
+ type: "input_audio";
35329
+ input_audio: {
35330
+ data: string;
35331
+ format: "wav" | "mp3";
35332
+ };
35333
+ cache_control?: {
35334
+ type: "ephemeral";
35335
+ ttl?: "5m" | "1h" | undefined;
35336
+ } | undefined;
33742
35337
  } | {
33743
35338
  type: "file";
33744
35339
  file: {
@@ -34021,6 +35616,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
34021
35616
  type: "ephemeral";
34022
35617
  ttl?: "5m" | "1h" | undefined;
34023
35618
  } | undefined;
35619
+ } | {
35620
+ type: "input_audio";
35621
+ input_audio: {
35622
+ data: string;
35623
+ format: "wav" | "mp3";
35624
+ };
35625
+ cache_control?: {
35626
+ type: "ephemeral";
35627
+ ttl?: "5m" | "1h" | undefined;
35628
+ } | undefined;
34024
35629
  } | {
34025
35630
  type: "file";
34026
35631
  file: {
@@ -34302,6 +35907,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
34302
35907
  type: "ephemeral";
34303
35908
  ttl?: "5m" | "1h" | undefined;
34304
35909
  } | undefined;
35910
+ } | {
35911
+ type: "input_audio";
35912
+ input_audio: {
35913
+ data: string;
35914
+ format: "wav" | "mp3";
35915
+ };
35916
+ cache_control?: {
35917
+ type: "ephemeral";
35918
+ ttl?: "5m" | "1h" | undefined;
35919
+ } | undefined;
34305
35920
  } | {
34306
35921
  type: "file";
34307
35922
  file: {
@@ -34614,6 +36229,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
34614
36229
  type: "ephemeral";
34615
36230
  ttl?: "5m" | "1h" | undefined;
34616
36231
  } | undefined;
36232
+ } | {
36233
+ type: "input_audio";
36234
+ input_audio: {
36235
+ data: string;
36236
+ format: "wav" | "mp3";
36237
+ };
36238
+ cache_control?: {
36239
+ type: "ephemeral";
36240
+ ttl?: "5m" | "1h" | undefined;
36241
+ } | undefined;
34617
36242
  } | {
34618
36243
  type: "file";
34619
36244
  file: {
@@ -34908,6 +36533,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
34908
36533
  type: "ephemeral";
34909
36534
  ttl?: "5m" | "1h" | undefined;
34910
36535
  } | undefined;
36536
+ } | {
36537
+ type: "input_audio";
36538
+ input_audio: {
36539
+ data: string;
36540
+ format: "wav" | "mp3";
36541
+ };
36542
+ cache_control?: {
36543
+ type: "ephemeral";
36544
+ ttl?: "5m" | "1h" | undefined;
36545
+ } | undefined;
34911
36546
  } | {
34912
36547
  type: "file";
34913
36548
  file: {
@@ -35170,6 +36805,48 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
35170
36805
  type: "ephemeral";
35171
36806
  ttl?: "5m" | "1h" | undefined;
35172
36807
  } | undefined;
36808
+ }>, z.ZodObject<{
36809
+ input_audio: z.ZodObject<{
36810
+ data: z.ZodString;
36811
+ format: z.ZodEnum<["wav", "mp3"]>;
36812
+ }, "strip", z.ZodTypeAny, {
36813
+ data: string;
36814
+ format: "wav" | "mp3";
36815
+ }, {
36816
+ data: string;
36817
+ format: "wav" | "mp3";
36818
+ }>;
36819
+ type: z.ZodLiteral<"input_audio">;
36820
+ cache_control: z.ZodOptional<z.ZodObject<{
36821
+ type: z.ZodLiteral<"ephemeral">;
36822
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
36823
+ }, "strip", z.ZodTypeAny, {
36824
+ type: "ephemeral";
36825
+ ttl?: "5m" | "1h" | undefined;
36826
+ }, {
36827
+ type: "ephemeral";
36828
+ ttl?: "5m" | "1h" | undefined;
36829
+ }>>;
36830
+ }, "strip", z.ZodTypeAny, {
36831
+ type: "input_audio";
36832
+ input_audio: {
36833
+ data: string;
36834
+ format: "wav" | "mp3";
36835
+ };
36836
+ cache_control?: {
36837
+ type: "ephemeral";
36838
+ ttl?: "5m" | "1h" | undefined;
36839
+ } | undefined;
36840
+ }, {
36841
+ type: "input_audio";
36842
+ input_audio: {
36843
+ data: string;
36844
+ format: "wav" | "mp3";
36845
+ };
36846
+ cache_control?: {
36847
+ type: "ephemeral";
36848
+ ttl?: "5m" | "1h" | undefined;
36849
+ } | undefined;
35173
36850
  }>, z.ZodObject<{
35174
36851
  file: z.ZodObject<{
35175
36852
  file_data: z.ZodOptional<z.ZodString>;
@@ -35239,6 +36916,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
35239
36916
  type: "ephemeral";
35240
36917
  ttl?: "5m" | "1h" | undefined;
35241
36918
  } | undefined;
36919
+ } | {
36920
+ type: "input_audio";
36921
+ input_audio: {
36922
+ data: string;
36923
+ format: "wav" | "mp3";
36924
+ };
36925
+ cache_control?: {
36926
+ type: "ephemeral";
36927
+ ttl?: "5m" | "1h" | undefined;
36928
+ } | undefined;
35242
36929
  } | {
35243
36930
  type: "file";
35244
36931
  file: {
@@ -35271,6 +36958,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
35271
36958
  type: "ephemeral";
35272
36959
  ttl?: "5m" | "1h" | undefined;
35273
36960
  } | undefined;
36961
+ } | {
36962
+ type: "input_audio";
36963
+ input_audio: {
36964
+ data: string;
36965
+ format: "wav" | "mp3";
36966
+ };
36967
+ cache_control?: {
36968
+ type: "ephemeral";
36969
+ ttl?: "5m" | "1h" | undefined;
36970
+ } | undefined;
35274
36971
  } | {
35275
36972
  type: "file";
35276
36973
  file: {
@@ -35581,6 +37278,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
35581
37278
  type: "ephemeral";
35582
37279
  ttl?: "5m" | "1h" | undefined;
35583
37280
  } | undefined;
37281
+ } | {
37282
+ type: "input_audio";
37283
+ input_audio: {
37284
+ data: string;
37285
+ format: "wav" | "mp3";
37286
+ };
37287
+ cache_control?: {
37288
+ type: "ephemeral";
37289
+ ttl?: "5m" | "1h" | undefined;
37290
+ } | undefined;
35584
37291
  } | {
35585
37292
  type: "file";
35586
37293
  file: {
@@ -35685,6 +37392,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
35685
37392
  type: "ephemeral";
35686
37393
  ttl?: "5m" | "1h" | undefined;
35687
37394
  } | undefined;
37395
+ } | {
37396
+ type: "input_audio";
37397
+ input_audio: {
37398
+ data: string;
37399
+ format: "wav" | "mp3";
37400
+ };
37401
+ cache_control?: {
37402
+ type: "ephemeral";
37403
+ ttl?: "5m" | "1h" | undefined;
37404
+ } | undefined;
35688
37405
  } | {
35689
37406
  type: "file";
35690
37407
  file: {
@@ -36644,6 +38361,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
36644
38361
  type: "ephemeral";
36645
38362
  ttl?: "5m" | "1h" | undefined;
36646
38363
  } | undefined;
38364
+ } | {
38365
+ type: "input_audio";
38366
+ input_audio: {
38367
+ data: string;
38368
+ format: "wav" | "mp3";
38369
+ };
38370
+ cache_control?: {
38371
+ type: "ephemeral";
38372
+ ttl?: "5m" | "1h" | undefined;
38373
+ } | undefined;
36647
38374
  } | {
36648
38375
  type: "file";
36649
38376
  file: {
@@ -36921,6 +38648,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
36921
38648
  type: "ephemeral";
36922
38649
  ttl?: "5m" | "1h" | undefined;
36923
38650
  } | undefined;
38651
+ } | {
38652
+ type: "input_audio";
38653
+ input_audio: {
38654
+ data: string;
38655
+ format: "wav" | "mp3";
38656
+ };
38657
+ cache_control?: {
38658
+ type: "ephemeral";
38659
+ ttl?: "5m" | "1h" | undefined;
38660
+ } | undefined;
36924
38661
  } | {
36925
38662
  type: "file";
36926
38663
  file: {
@@ -37203,6 +38940,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
37203
38940
  type: "ephemeral";
37204
38941
  ttl?: "5m" | "1h" | undefined;
37205
38942
  } | undefined;
38943
+ } | {
38944
+ type: "input_audio";
38945
+ input_audio: {
38946
+ data: string;
38947
+ format: "wav" | "mp3";
38948
+ };
38949
+ cache_control?: {
38950
+ type: "ephemeral";
38951
+ ttl?: "5m" | "1h" | undefined;
38952
+ } | undefined;
37206
38953
  } | {
37207
38954
  type: "file";
37208
38955
  file: {
@@ -37484,6 +39231,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
37484
39231
  type: "ephemeral";
37485
39232
  ttl?: "5m" | "1h" | undefined;
37486
39233
  } | undefined;
39234
+ } | {
39235
+ type: "input_audio";
39236
+ input_audio: {
39237
+ data: string;
39238
+ format: "wav" | "mp3";
39239
+ };
39240
+ cache_control?: {
39241
+ type: "ephemeral";
39242
+ ttl?: "5m" | "1h" | undefined;
39243
+ } | undefined;
37487
39244
  } | {
37488
39245
  type: "file";
37489
39246
  file: {
@@ -37808,6 +39565,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
37808
39565
  type: "ephemeral";
37809
39566
  ttl?: "5m" | "1h" | undefined;
37810
39567
  } | undefined;
39568
+ } | {
39569
+ type: "input_audio";
39570
+ input_audio: {
39571
+ data: string;
39572
+ format: "wav" | "mp3";
39573
+ };
39574
+ cache_control?: {
39575
+ type: "ephemeral";
39576
+ ttl?: "5m" | "1h" | undefined;
39577
+ } | undefined;
37811
39578
  } | {
37812
39579
  type: "file";
37813
39580
  file: {
@@ -38115,6 +39882,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
38115
39882
  type: "ephemeral";
38116
39883
  ttl?: "5m" | "1h" | undefined;
38117
39884
  } | undefined;
39885
+ } | {
39886
+ type: "input_audio";
39887
+ input_audio: {
39888
+ data: string;
39889
+ format: "wav" | "mp3";
39890
+ };
39891
+ cache_control?: {
39892
+ type: "ephemeral";
39893
+ ttl?: "5m" | "1h" | undefined;
39894
+ } | undefined;
38118
39895
  } | {
38119
39896
  type: "file";
38120
39897
  file: {
@@ -38415,6 +40192,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
38415
40192
  type: "ephemeral";
38416
40193
  ttl?: "5m" | "1h" | undefined;
38417
40194
  } | undefined;
40195
+ } | {
40196
+ type: "input_audio";
40197
+ input_audio: {
40198
+ data: string;
40199
+ format: "wav" | "mp3";
40200
+ };
40201
+ cache_control?: {
40202
+ type: "ephemeral";
40203
+ ttl?: "5m" | "1h" | undefined;
40204
+ } | undefined;
38418
40205
  } | {
38419
40206
  type: "file";
38420
40207
  file: {
@@ -38722,6 +40509,16 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
38722
40509
  type: "ephemeral";
38723
40510
  ttl?: "5m" | "1h" | undefined;
38724
40511
  } | undefined;
40512
+ } | {
40513
+ type: "input_audio";
40514
+ input_audio: {
40515
+ data: string;
40516
+ format: "wav" | "mp3";
40517
+ };
40518
+ cache_control?: {
40519
+ type: "ephemeral";
40520
+ ttl?: "5m" | "1h" | undefined;
40521
+ } | undefined;
38725
40522
  } | {
38726
40523
  type: "file";
38727
40524
  file: {
@@ -39063,6 +40860,48 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
39063
40860
  type: "ephemeral";
39064
40861
  ttl?: "5m" | "1h" | undefined;
39065
40862
  } | undefined;
40863
+ }>, z.ZodObject<{
40864
+ input_audio: z.ZodObject<{
40865
+ data: z.ZodString;
40866
+ format: z.ZodEnum<["wav", "mp3"]>;
40867
+ }, "strip", z.ZodTypeAny, {
40868
+ data: string;
40869
+ format: "wav" | "mp3";
40870
+ }, {
40871
+ data: string;
40872
+ format: "wav" | "mp3";
40873
+ }>;
40874
+ type: z.ZodLiteral<"input_audio">;
40875
+ cache_control: z.ZodOptional<z.ZodObject<{
40876
+ type: z.ZodLiteral<"ephemeral">;
40877
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
40878
+ }, "strip", z.ZodTypeAny, {
40879
+ type: "ephemeral";
40880
+ ttl?: "5m" | "1h" | undefined;
40881
+ }, {
40882
+ type: "ephemeral";
40883
+ ttl?: "5m" | "1h" | undefined;
40884
+ }>>;
40885
+ }, "strip", z.ZodTypeAny, {
40886
+ type: "input_audio";
40887
+ input_audio: {
40888
+ data: string;
40889
+ format: "wav" | "mp3";
40890
+ };
40891
+ cache_control?: {
40892
+ type: "ephemeral";
40893
+ ttl?: "5m" | "1h" | undefined;
40894
+ } | undefined;
40895
+ }, {
40896
+ type: "input_audio";
40897
+ input_audio: {
40898
+ data: string;
40899
+ format: "wav" | "mp3";
40900
+ };
40901
+ cache_control?: {
40902
+ type: "ephemeral";
40903
+ ttl?: "5m" | "1h" | undefined;
40904
+ } | undefined;
39066
40905
  }>, z.ZodObject<{
39067
40906
  file: z.ZodObject<{
39068
40907
  file_data: z.ZodOptional<z.ZodString>;
@@ -39132,6 +40971,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
39132
40971
  type: "ephemeral";
39133
40972
  ttl?: "5m" | "1h" | undefined;
39134
40973
  } | undefined;
40974
+ } | {
40975
+ type: "input_audio";
40976
+ input_audio: {
40977
+ data: string;
40978
+ format: "wav" | "mp3";
40979
+ };
40980
+ cache_control?: {
40981
+ type: "ephemeral";
40982
+ ttl?: "5m" | "1h" | undefined;
40983
+ } | undefined;
39135
40984
  } | {
39136
40985
  type: "file";
39137
40986
  file: {
@@ -39164,6 +41013,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
39164
41013
  type: "ephemeral";
39165
41014
  ttl?: "5m" | "1h" | undefined;
39166
41015
  } | undefined;
41016
+ } | {
41017
+ type: "input_audio";
41018
+ input_audio: {
41019
+ data: string;
41020
+ format: "wav" | "mp3";
41021
+ };
41022
+ cache_control?: {
41023
+ type: "ephemeral";
41024
+ ttl?: "5m" | "1h" | undefined;
41025
+ } | undefined;
39167
41026
  } | {
39168
41027
  type: "file";
39169
41028
  file: {
@@ -39474,6 +41333,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
39474
41333
  type: "ephemeral";
39475
41334
  ttl?: "5m" | "1h" | undefined;
39476
41335
  } | undefined;
41336
+ } | {
41337
+ type: "input_audio";
41338
+ input_audio: {
41339
+ data: string;
41340
+ format: "wav" | "mp3";
41341
+ };
41342
+ cache_control?: {
41343
+ type: "ephemeral";
41344
+ ttl?: "5m" | "1h" | undefined;
41345
+ } | undefined;
39477
41346
  } | {
39478
41347
  type: "file";
39479
41348
  file: {
@@ -39578,6 +41447,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
39578
41447
  type: "ephemeral";
39579
41448
  ttl?: "5m" | "1h" | undefined;
39580
41449
  } | undefined;
41450
+ } | {
41451
+ type: "input_audio";
41452
+ input_audio: {
41453
+ data: string;
41454
+ format: "wav" | "mp3";
41455
+ };
41456
+ cache_control?: {
41457
+ type: "ephemeral";
41458
+ ttl?: "5m" | "1h" | undefined;
41459
+ } | undefined;
39581
41460
  } | {
39582
41461
  type: "file";
39583
41462
  file: {
@@ -40537,6 +42416,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
40537
42416
  type: "ephemeral";
40538
42417
  ttl?: "5m" | "1h" | undefined;
40539
42418
  } | undefined;
42419
+ } | {
42420
+ type: "input_audio";
42421
+ input_audio: {
42422
+ data: string;
42423
+ format: "wav" | "mp3";
42424
+ };
42425
+ cache_control?: {
42426
+ type: "ephemeral";
42427
+ ttl?: "5m" | "1h" | undefined;
42428
+ } | undefined;
40540
42429
  } | {
40541
42430
  type: "file";
40542
42431
  file: {
@@ -40814,6 +42703,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
40814
42703
  type: "ephemeral";
40815
42704
  ttl?: "5m" | "1h" | undefined;
40816
42705
  } | undefined;
42706
+ } | {
42707
+ type: "input_audio";
42708
+ input_audio: {
42709
+ data: string;
42710
+ format: "wav" | "mp3";
42711
+ };
42712
+ cache_control?: {
42713
+ type: "ephemeral";
42714
+ ttl?: "5m" | "1h" | undefined;
42715
+ } | undefined;
40817
42716
  } | {
40818
42717
  type: "file";
40819
42718
  file: {
@@ -41096,6 +42995,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
41096
42995
  type: "ephemeral";
41097
42996
  ttl?: "5m" | "1h" | undefined;
41098
42997
  } | undefined;
42998
+ } | {
42999
+ type: "input_audio";
43000
+ input_audio: {
43001
+ data: string;
43002
+ format: "wav" | "mp3";
43003
+ };
43004
+ cache_control?: {
43005
+ type: "ephemeral";
43006
+ ttl?: "5m" | "1h" | undefined;
43007
+ } | undefined;
41099
43008
  } | {
41100
43009
  type: "file";
41101
43010
  file: {
@@ -41377,6 +43286,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
41377
43286
  type: "ephemeral";
41378
43287
  ttl?: "5m" | "1h" | undefined;
41379
43288
  } | undefined;
43289
+ } | {
43290
+ type: "input_audio";
43291
+ input_audio: {
43292
+ data: string;
43293
+ format: "wav" | "mp3";
43294
+ };
43295
+ cache_control?: {
43296
+ type: "ephemeral";
43297
+ ttl?: "5m" | "1h" | undefined;
43298
+ } | undefined;
41380
43299
  } | {
41381
43300
  type: "file";
41382
43301
  file: {
@@ -41689,6 +43608,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
41689
43608
  type: "ephemeral";
41690
43609
  ttl?: "5m" | "1h" | undefined;
41691
43610
  } | undefined;
43611
+ } | {
43612
+ type: "input_audio";
43613
+ input_audio: {
43614
+ data: string;
43615
+ format: "wav" | "mp3";
43616
+ };
43617
+ cache_control?: {
43618
+ type: "ephemeral";
43619
+ ttl?: "5m" | "1h" | undefined;
43620
+ } | undefined;
41692
43621
  } | {
41693
43622
  type: "file";
41694
43623
  file: {
@@ -41983,6 +43912,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
41983
43912
  type: "ephemeral";
41984
43913
  ttl?: "5m" | "1h" | undefined;
41985
43914
  } | undefined;
43915
+ } | {
43916
+ type: "input_audio";
43917
+ input_audio: {
43918
+ data: string;
43919
+ format: "wav" | "mp3";
43920
+ };
43921
+ cache_control?: {
43922
+ type: "ephemeral";
43923
+ ttl?: "5m" | "1h" | undefined;
43924
+ } | undefined;
41986
43925
  } | {
41987
43926
  type: "file";
41988
43927
  file: {
@@ -42245,6 +44184,48 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
42245
44184
  type: "ephemeral";
42246
44185
  ttl?: "5m" | "1h" | undefined;
42247
44186
  } | undefined;
44187
+ }>, z.ZodObject<{
44188
+ input_audio: z.ZodObject<{
44189
+ data: z.ZodString;
44190
+ format: z.ZodEnum<["wav", "mp3"]>;
44191
+ }, "strip", z.ZodTypeAny, {
44192
+ data: string;
44193
+ format: "wav" | "mp3";
44194
+ }, {
44195
+ data: string;
44196
+ format: "wav" | "mp3";
44197
+ }>;
44198
+ type: z.ZodLiteral<"input_audio">;
44199
+ cache_control: z.ZodOptional<z.ZodObject<{
44200
+ type: z.ZodLiteral<"ephemeral">;
44201
+ ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
44202
+ }, "strip", z.ZodTypeAny, {
44203
+ type: "ephemeral";
44204
+ ttl?: "5m" | "1h" | undefined;
44205
+ }, {
44206
+ type: "ephemeral";
44207
+ ttl?: "5m" | "1h" | undefined;
44208
+ }>>;
44209
+ }, "strip", z.ZodTypeAny, {
44210
+ type: "input_audio";
44211
+ input_audio: {
44212
+ data: string;
44213
+ format: "wav" | "mp3";
44214
+ };
44215
+ cache_control?: {
44216
+ type: "ephemeral";
44217
+ ttl?: "5m" | "1h" | undefined;
44218
+ } | undefined;
44219
+ }, {
44220
+ type: "input_audio";
44221
+ input_audio: {
44222
+ data: string;
44223
+ format: "wav" | "mp3";
44224
+ };
44225
+ cache_control?: {
44226
+ type: "ephemeral";
44227
+ ttl?: "5m" | "1h" | undefined;
44228
+ } | undefined;
42248
44229
  }>, z.ZodObject<{
42249
44230
  file: z.ZodObject<{
42250
44231
  file_data: z.ZodOptional<z.ZodString>;
@@ -42314,6 +44295,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
42314
44295
  type: "ephemeral";
42315
44296
  ttl?: "5m" | "1h" | undefined;
42316
44297
  } | undefined;
44298
+ } | {
44299
+ type: "input_audio";
44300
+ input_audio: {
44301
+ data: string;
44302
+ format: "wav" | "mp3";
44303
+ };
44304
+ cache_control?: {
44305
+ type: "ephemeral";
44306
+ ttl?: "5m" | "1h" | undefined;
44307
+ } | undefined;
42317
44308
  } | {
42318
44309
  type: "file";
42319
44310
  file: {
@@ -42346,6 +44337,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
42346
44337
  type: "ephemeral";
42347
44338
  ttl?: "5m" | "1h" | undefined;
42348
44339
  } | undefined;
44340
+ } | {
44341
+ type: "input_audio";
44342
+ input_audio: {
44343
+ data: string;
44344
+ format: "wav" | "mp3";
44345
+ };
44346
+ cache_control?: {
44347
+ type: "ephemeral";
44348
+ ttl?: "5m" | "1h" | undefined;
44349
+ } | undefined;
42349
44350
  } | {
42350
44351
  type: "file";
42351
44352
  file: {
@@ -42656,6 +44657,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
42656
44657
  type: "ephemeral";
42657
44658
  ttl?: "5m" | "1h" | undefined;
42658
44659
  } | undefined;
44660
+ } | {
44661
+ type: "input_audio";
44662
+ input_audio: {
44663
+ data: string;
44664
+ format: "wav" | "mp3";
44665
+ };
44666
+ cache_control?: {
44667
+ type: "ephemeral";
44668
+ ttl?: "5m" | "1h" | undefined;
44669
+ } | undefined;
42659
44670
  } | {
42660
44671
  type: "file";
42661
44672
  file: {
@@ -42760,6 +44771,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
42760
44771
  type: "ephemeral";
42761
44772
  ttl?: "5m" | "1h" | undefined;
42762
44773
  } | undefined;
44774
+ } | {
44775
+ type: "input_audio";
44776
+ input_audio: {
44777
+ data: string;
44778
+ format: "wav" | "mp3";
44779
+ };
44780
+ cache_control?: {
44781
+ type: "ephemeral";
44782
+ ttl?: "5m" | "1h" | undefined;
44783
+ } | undefined;
42763
44784
  } | {
42764
44785
  type: "file";
42765
44786
  file: {
@@ -43719,6 +45740,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
43719
45740
  type: "ephemeral";
43720
45741
  ttl?: "5m" | "1h" | undefined;
43721
45742
  } | undefined;
45743
+ } | {
45744
+ type: "input_audio";
45745
+ input_audio: {
45746
+ data: string;
45747
+ format: "wav" | "mp3";
45748
+ };
45749
+ cache_control?: {
45750
+ type: "ephemeral";
45751
+ ttl?: "5m" | "1h" | undefined;
45752
+ } | undefined;
43722
45753
  } | {
43723
45754
  type: "file";
43724
45755
  file: {
@@ -43996,6 +46027,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
43996
46027
  type: "ephemeral";
43997
46028
  ttl?: "5m" | "1h" | undefined;
43998
46029
  } | undefined;
46030
+ } | {
46031
+ type: "input_audio";
46032
+ input_audio: {
46033
+ data: string;
46034
+ format: "wav" | "mp3";
46035
+ };
46036
+ cache_control?: {
46037
+ type: "ephemeral";
46038
+ ttl?: "5m" | "1h" | undefined;
46039
+ } | undefined;
43999
46040
  } | {
44000
46041
  type: "file";
44001
46042
  file: {
@@ -44278,6 +46319,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
44278
46319
  type: "ephemeral";
44279
46320
  ttl?: "5m" | "1h" | undefined;
44280
46321
  } | undefined;
46322
+ } | {
46323
+ type: "input_audio";
46324
+ input_audio: {
46325
+ data: string;
46326
+ format: "wav" | "mp3";
46327
+ };
46328
+ cache_control?: {
46329
+ type: "ephemeral";
46330
+ ttl?: "5m" | "1h" | undefined;
46331
+ } | undefined;
44281
46332
  } | {
44282
46333
  type: "file";
44283
46334
  file: {
@@ -44559,6 +46610,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
44559
46610
  type: "ephemeral";
44560
46611
  ttl?: "5m" | "1h" | undefined;
44561
46612
  } | undefined;
46613
+ } | {
46614
+ type: "input_audio";
46615
+ input_audio: {
46616
+ data: string;
46617
+ format: "wav" | "mp3";
46618
+ };
46619
+ cache_control?: {
46620
+ type: "ephemeral";
46621
+ ttl?: "5m" | "1h" | undefined;
46622
+ } | undefined;
44562
46623
  } | {
44563
46624
  type: "file";
44564
46625
  file: {
@@ -44883,6 +46944,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
44883
46944
  type: "ephemeral";
44884
46945
  ttl?: "5m" | "1h" | undefined;
44885
46946
  } | undefined;
46947
+ } | {
46948
+ type: "input_audio";
46949
+ input_audio: {
46950
+ data: string;
46951
+ format: "wav" | "mp3";
46952
+ };
46953
+ cache_control?: {
46954
+ type: "ephemeral";
46955
+ ttl?: "5m" | "1h" | undefined;
46956
+ } | undefined;
44886
46957
  } | {
44887
46958
  type: "file";
44888
46959
  file: {
@@ -45190,6 +47261,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
45190
47261
  type: "ephemeral";
45191
47262
  ttl?: "5m" | "1h" | undefined;
45192
47263
  } | undefined;
47264
+ } | {
47265
+ type: "input_audio";
47266
+ input_audio: {
47267
+ data: string;
47268
+ format: "wav" | "mp3";
47269
+ };
47270
+ cache_control?: {
47271
+ type: "ephemeral";
47272
+ ttl?: "5m" | "1h" | undefined;
47273
+ } | undefined;
45193
47274
  } | {
45194
47275
  type: "file";
45195
47276
  file: {
@@ -45490,6 +47571,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
45490
47571
  type: "ephemeral";
45491
47572
  ttl?: "5m" | "1h" | undefined;
45492
47573
  } | undefined;
47574
+ } | {
47575
+ type: "input_audio";
47576
+ input_audio: {
47577
+ data: string;
47578
+ format: "wav" | "mp3";
47579
+ };
47580
+ cache_control?: {
47581
+ type: "ephemeral";
47582
+ ttl?: "5m" | "1h" | undefined;
47583
+ } | undefined;
45493
47584
  } | {
45494
47585
  type: "file";
45495
47586
  file: {
@@ -45797,6 +47888,16 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
45797
47888
  type: "ephemeral";
45798
47889
  ttl?: "5m" | "1h" | undefined;
45799
47890
  } | undefined;
47891
+ } | {
47892
+ type: "input_audio";
47893
+ input_audio: {
47894
+ data: string;
47895
+ format: "wav" | "mp3";
47896
+ };
47897
+ cache_control?: {
47898
+ type: "ephemeral";
47899
+ ttl?: "5m" | "1h" | undefined;
47900
+ } | undefined;
45800
47901
  } | {
45801
47902
  type: "file";
45802
47903
  file: {
@@ -47485,6 +49586,7 @@ interface InstrumentationIntegrationsConfig {
47485
49586
  aisdk?: boolean;
47486
49587
  google?: boolean;
47487
49588
  googleGenAI?: boolean;
49589
+ googleGenerativeAI?: boolean;
47488
49590
  googleADK?: boolean;
47489
49591
  huggingface?: boolean;
47490
49592
  claudeAgentSDK?: boolean;
@@ -47514,6 +49616,7 @@ interface InstrumentationIntegrationsConfig {
47514
49616
  langgraph?: boolean;
47515
49617
  langsmith?: boolean;
47516
49618
  voyageai?: boolean;
49619
+ elevenlabs?: boolean;
47517
49620
  }
47518
49621
  interface InstrumentationConfig {
47519
49622
  /**
@@ -47636,6 +49739,23 @@ declare const braintrustFlueObserver: BraintrustFlueObserver;
47636
49739
  */
47637
49740
  declare function configureInstrumentation(config: InstrumentationConfig): void;
47638
49741
 
49742
+ /**
49743
+ * Trace an ElevenLabs client (SDK 2.67+) with Braintrust.
49744
+ *
49745
+ * Captures speech generation, timestamped/streaming audio, and request/response
49746
+ * transcription. Audio is attached as the application consumes it.
49747
+ * Webhook transcription and Speech Engine sessions are not instrumented.
49748
+ *
49749
+ * @example
49750
+ * ```ts
49751
+ * const client = wrapElevenLabs(new ElevenLabsClient());
49752
+ * const audio = await client.textToSpeech.convert(voiceId, { text, modelId });
49753
+ * for await (const chunk of audio) { playChunk(chunk); }
49754
+ * ```
49755
+ *
49756
+ */
49757
+ declare function wrapElevenLabs<T>(client: T): T;
49758
+
47639
49759
  type exports$1_AnyDataset = AnyDataset;
47640
49760
  type exports$1_Attachment = Attachment;
47641
49761
  declare const exports$1_Attachment: typeof Attachment;
@@ -47933,9 +50053,11 @@ declare const exports$1_wrapCloudflareThink: typeof wrapCloudflareThink;
47933
50053
  declare const exports$1_wrapCohere: typeof wrapCohere;
47934
50054
  declare const exports$1_wrapCopilotClient: typeof wrapCopilotClient;
47935
50055
  declare const exports$1_wrapCursorSDK: typeof wrapCursorSDK;
50056
+ declare const exports$1_wrapElevenLabs: typeof wrapElevenLabs;
47936
50057
  declare const exports$1_wrapGenkit: typeof wrapGenkit;
47937
50058
  declare const exports$1_wrapGoogleADK: typeof wrapGoogleADK;
47938
50059
  declare const exports$1_wrapGoogleGenAI: typeof wrapGoogleGenAI;
50060
+ declare const exports$1_wrapGoogleGenerativeAI: typeof wrapGoogleGenerativeAI;
47939
50061
  declare const exports$1_wrapGroq: typeof wrapGroq;
47940
50062
  declare const exports$1_wrapHuggingFace: typeof wrapHuggingFace;
47941
50063
  declare const exports$1_wrapHuggingFaceTransformers: typeof wrapHuggingFaceTransformers;
@@ -47956,7 +50078,7 @@ declare const exports$1_wrapTraced: typeof wrapTraced;
47956
50078
  declare const exports$1_wrapVitest: typeof wrapVitest;
47957
50079
  declare const exports$1_wrapVoyageAI: typeof wrapVoyageAI;
47958
50080
  declare namespace exports$1 {
47959
- export { type exports$1_AnyDataset as AnyDataset, exports$1_Attachment as Attachment, type exports$1_AttachmentParams as AttachmentParams, exports$1_AttachmentReference as AttachmentReference, exports$1_BAGGAGE_HEADER as BAGGAGE_HEADER, exports$1_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME as BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, exports$1_BRAINTRUST_PARENT_KEY as BRAINTRUST_PARENT_KEY, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BatchScorer as BatchScorer, exports$1_BatchTask as BatchTask, exports$1_BraintrustLangChainCallbackHandler as BraintrustLangChainCallbackHandler, exports$1_BraintrustMiddleware as BraintrustMiddleware, exports$1_BraintrustObservabilityExporter as BraintrustObservabilityExporter, exports$1_BraintrustState as BraintrustState, exports$1_BraintrustStream as BraintrustStream, type exports$1_BraintrustStreamChunk as BraintrustStreamChunk, exports$1_CachedSpanFetcher as CachedSpanFetcher, type exports$1_ChatPrompt as ChatPrompt, exports$1_CodeFunction as CodeFunction, type exports$1_CodeOpts as CodeOpts, exports$1_CodePrompt as CodePrompt, type exports$1_CommentEvent as CommentEvent, type exports$1_CompiledPrompt as CompiledPrompt, type exports$1_CompiledPromptParams as CompiledPromptParams, type exports$1_CompletionPrompt as CompletionPrompt, exports$1_ContextManager as ContextManager, type exports$1_ContextParentSpanIds as ContextParentSpanIds, type exports$1_CreateProjectOpts as CreateProjectOpts, type exports$1_CurrentSpanStore as CurrentSpanStore, exports$1_DEFAULT_FETCH_BATCH_SIZE as DEFAULT_FETCH_BATCH_SIZE, exports$1_DEFAULT_MAX_REQUEST_SIZE as DEFAULT_MAX_REQUEST_SIZE, type exports$1_DataSummary as DataSummary, exports$1_Dataset as Dataset, exports$1_DatasetPipeline as DatasetPipeline, type exports$1_DatasetRecord as DatasetRecord, type exports$1_DatasetRestorePreviewResult as DatasetRestorePreviewResult, type exports$1_DatasetRestoreResult as DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type exports$1_DatasetSummary as DatasetSummary, type exports$1_DefaultMetadataType as DefaultMetadataType, type exports$1_DefaultPromptArgs as DefaultPromptArgs, exports$1_DurableEvalMemoryStore as DurableEvalMemoryStore, exports$1_DurableEvalRedisStore as DurableEvalRedisStore, type exports$1_DurableEvalStore as DurableEvalStore, exports$1_ERR_PERMALINK as ERR_PERMALINK, type exports$1_EndSpanArgs as EndSpanArgs, exports$1_Eval as Eval, type exports$1_EvalCase as EvalCase, type exports$1_EvalClassifier as EvalClassifier, type exports$1_EvalHooks as EvalHooks, type exports$1_EvalParameterSerializedSchema as EvalParameterSerializedSchema, type exports$1_EvalParameters as EvalParameters, type exports$1_EvalResult as EvalResult, exports$1_EvalResultWithSummary as EvalResultWithSummary, type exports$1_EvalScorer as EvalScorer, type exports$1_EvalScorerArgs as EvalScorerArgs, type exports$1_EvalTask as EvalTask, type exports$1_Evaluator as Evaluator, type exports$1_EvaluatorDef as EvaluatorDef, type exports$1_EvaluatorDefinition as EvaluatorDefinition, type exports$1_EvaluatorDefinitions as EvaluatorDefinitions, type exports$1_EvaluatorFile as EvaluatorFile, type exports$1_EvaluatorManifest as EvaluatorManifest, exports$1_Experiment as Experiment, type exports$1_ExperimentLogFullArgs as ExperimentLogFullArgs, type exports$1_ExperimentLogPartialArgs as ExperimentLogPartialArgs, type exports$1_ExperimentSummary as ExperimentSummary, type exports$1_Exportable as Exportable, exports$1_ExternalAttachment as ExternalAttachment, type exports$1_ExternalAttachmentParams as ExternalAttachmentParams, exports$1_FailedHTTPResponse as FailedHTTPResponse, type exports$1_FullInitDatasetOptions as FullInitDatasetOptions, type exports$1_FullInitOptions as FullInitOptions, type exports$1_FullLoginOptions as FullLoginOptions, type exports$1_FunctionEvent as FunctionEvent, type exports$1_GetThreadOptions as GetThreadOptions, exports$1_IDGenerator as IDGenerator, type exports$1_IdField as IdField, type exports$1_InitDatasetOptions as InitDatasetOptions, type exports$1_InitLoggerOptions as InitLoggerOptions, type exports$1_InitOptions as InitOptions, type exports$1_InputField as InputField, type exports$1_InstrumentationConfig as InstrumentationConfig, type exports$1_InvokeFunctionArgs as InvokeFunctionArgs, type exports$1_InvokeReturn as InvokeReturn, exports$1_JSONAttachment as JSONAttachment, exports$1_LEGACY_CACHED_HEADER as LEGACY_CACHED_HEADER, exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE as LOGS3_OVERFLOW_REFERENCE_TYPE, type exports$1_LangChainCallbackHandlerOptions as LangChainCallbackHandlerOptions, exports$1_LazyValue as LazyValue, type exports$1_LoadPromptOptions as LoadPromptOptions, exports$1_LocalTrace as LocalTrace, type exports$1_LogCommentFullArgs as LogCommentFullArgs, type exports$1_LogFeedbackFullArgs as LogFeedbackFullArgs, type exports$1_LogOptions as LogOptions, exports$1_Logger as Logger, exports$1_LoginInvalidOrgError as LoginInvalidOrgError, type exports$1_LoginOptions as LoginOptions, type exports$1_Logs3OverflowInputRow as Logs3OverflowInputRow, type exports$1_Logs3OverflowUpload as Logs3OverflowUpload, type exports$1_MastraObservabilityExporter as MastraObservabilityExporter, type exports$1_MetricSummary as MetricSummary, exports$1_NOOP_SPAN as NOOP_SPAN, exports$1_NOOP_SPAN_PERMALINK as NOOP_SPAN_PERMALINK, exports$1_NoopSpan as NoopSpan, exports$1_OTELIDGenerator as OTELIDGenerator, exports$1_ObjectFetcher as ObjectFetcher, type exports$1_ObjectMetadata as ObjectMetadata, type exports$1_OtherExperimentLogFields as OtherExperimentLogFields, type exports$1_ParametersSource as ParametersSource, type exports$1_ParentExperimentIds as ParentExperimentIds, type exports$1_ParentProjectLogIds as ParentProjectLogIds, type exports$1_ParsedTraceparent as ParsedTraceparent, exports$1_Project as Project, exports$1_ProjectNameIdMap as ProjectNameIdMap, type exports$1_PromiseUnless as PromiseUnless, exports$1_Prompt as Prompt, exports$1_PromptBuilder as PromptBuilder, type exports$1_PromptContents as PromptContents, type exports$1_PromptDefinition as PromptDefinition, type exports$1_PromptDefinitionWithTools as PromptDefinitionWithTools, type exports$1_PromptOpts as PromptOpts, type exports$1_PromptRowWithId as PromptRowWithId, type exports$1_PropagatedState as PropagatedState, type exports$1_PropagationContext as PropagationContext, exports$1_ReadonlyAttachment as ReadonlyAttachment, exports$1_ReadonlyExperiment as ReadonlyExperiment, type exports$1_RegisterSandboxOptions as RegisterSandboxOptions, type exports$1_RegisterSandboxResult as RegisterSandboxResult, exports$1_Reporter as Reporter, type exports$1_ReporterBody as ReporterBody, type exports$1_SandboxConfig as SandboxConfig, type exports$1_ScoreSummary as ScoreSummary, exports$1_ScorerBuilder as ScorerBuilder, type exports$1_ScorerOpts as ScorerOpts, type exports$1_SerializedBraintrustState as SerializedBraintrustState, type exports$1_SetCurrentArg as SetCurrentArg, type exports$1_Span as Span, type exports$1_SpanContext as SpanContext, type exports$1_SpanData as SpanData, exports$1_SpanFetcher as SpanFetcher, exports$1_SpanImpl as SpanImpl, type exports$1_StartSpanArgs as StartSpanArgs, exports$1_TRACEPARENT_HEADER as TRACEPARENT_HEADER, exports$1_TRACESTATE_HEADER as TRACESTATE_HEADER, type exports$1_TemplateFormat as TemplateFormat, type exports$1_TemplateRenderer as TemplateRenderer, type exports$1_TemplateRendererPlugin as TemplateRendererPlugin, exports$1_TestBackgroundLogger as TestBackgroundLogger, exports$1_ToolBuilder as ToolBuilder, type exports$1_Trace as Trace, type exports$1_TraceContextCarrier as TraceContextCarrier, type exports$1_TraceContextHeaders as TraceContextHeaders, exports$1_UUIDGenerator as UUIDGenerator, type exports$1_WithTransactionId as WithTransactionId, exports$1_X_CACHED_HEADER as X_CACHED_HEADER, exports$1__exportsForTestingOnly as _exportsForTestingOnly, exports$1__internalGetGlobalState as _internalGetGlobalState, iso as _internalIso, exports$1__internalSetInitialState as _internalSetInitialState, exports$1_addAzureBlobHeaders as addAzureBlobHeaders, exports$1_agentAssertionScorer as agentAssertionScorer, exports$1_braintrustAISDKTelemetry as braintrustAISDKTelemetry, exports$1_braintrustEveHook as braintrustEveHook, exports$1_braintrustEveInstrumentation as braintrustEveInstrumentation, exports$1_braintrustFlueInstrumentation as braintrustFlueInstrumentation, exports$1_braintrustFlueObserver as braintrustFlueObserver, exports$1_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports$1_buildLocalSummary as buildLocalSummary, exports$1_collectAnthropicSession as collectAnthropicSession, exports$1_completeOpenAIBatchTrace as completeOpenAIBatchTrace, exports$1_configureInstrumentation as configureInstrumentation, exports$1_constructLogs3OverflowRequest as constructLogs3OverflowRequest, exports$1_createFinalValuePassThroughStream as createFinalValuePassThroughStream, exports$1_currentExperiment as currentExperiment, exports$1_currentLogger as currentLogger, exports$1_currentSpan as currentSpan, exports$1_deepCopyEvent as deepCopyEvent, exports$1_defaultErrorScoreHandler as defaultErrorScoreHandler, exports$1_defineDurableEval as defineDurableEval, exports$1_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports$1_devNullWritableStream as devNullWritableStream, exports$1_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports$1_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, exports$1_extractTraceContextFromHeaders as extractTraceContextFromHeaders, exports$1_flush as flush, exports$1_getContextManager as getContextManager, exports$1_getIdGenerator as getIdGenerator, exports$1_getPromptVersions as getPromptVersions, exports$1_getSpanParentObject as getSpanParentObject, exports$1_getTemplateRenderer as getTemplateRenderer, graphFramework as graph, exports$1_init as init, exports$1_initDataset as initDataset, exports$1_initExperiment as initExperiment, exports$1_initFunction as initFunction, exports$1_initLogger as initLogger, exports$1_initNodeTestSuite as initNodeTestSuite, exports$1_injectTraceContext as injectTraceContext, exports$1_invoke as invoke, exports$1_isTemplateFormat as isTemplateFormat, exports$1_loadParameters as loadParameters, exports$1_loadPrompt as loadPrompt, exports$1_log as log, exports$1_logError as logError, exports$1_login as login, exports$1_loginToState as loginToState, exports$1_logs3OverflowUploadSchema as logs3OverflowUploadSchema, exports$1_newId as newId, exports$1_openaiBatchesRetrieveTraced as openaiBatchesRetrieveTraced, exports$1_openaiFilesCreateTraced as openaiFilesCreateTraced, exports$1_parseCachedHeader as parseCachedHeader, exports$1_parseTemplateFormat as parseTemplateFormat, exports$1_permalink as permalink, exports$1_pickLogs3OverflowObjectIds as pickLogs3OverflowObjectIds, exports$1_projects as projects, exports$1_promptContentsSchema as promptContentsSchema, exports$1_promptDefinitionSchema as promptDefinitionSchema, exports$1_promptDefinitionToPromptData as promptDefinitionToPromptData, exports$1_promptDefinitionWithToolsSchema as promptDefinitionWithToolsSchema, exports$1_registerOtelFlush as registerOtelFlush, exports$1_registerSandbox as registerSandbox, exports$1_registerTemplatePlugin as registerTemplatePlugin, exports$1_renderMessage as renderMessage, exports$1_renderPromptParams as renderPromptParams, exports$1_renderTemplateContent as renderTemplateContent, exports$1_reportFailures as reportFailures, exports$1_runEvaluator as runEvaluator, exports$1_setFetch as setFetch, exports$1_setMaskingFunction as setMaskingFunction, exports$1_spanComponentsToObjectId as spanComponentsToObjectId, exports$1_startSpan as startSpan, exports$1_summarize as summarize, exports$1_templateRegistry as templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, exports$1_traceable as traceable, exports$1_traced as traced, exports$1_updateSpan as updateSpan, exports$1_uploadLogs3OverflowPayload as uploadLogs3OverflowPayload, exports$1_utf8ByteLength as utf8ByteLength, exports$1_withCurrent as withCurrent, exports$1_withDataset as withDataset, exports$1_withExperiment as withExperiment, exports$1_withLogger as withLogger, exports$1_withParent as withParent, exports$1_wrapAISDK as wrapAISDK, exports$1_wrapAISDKModel as wrapAISDKModel, exports$1_wrapAgentClass as wrapAgentClass, exports$1_wrapAnthropic as wrapAnthropic, exports$1_wrapBedrockRuntime as wrapBedrockRuntime, exports$1_wrapClaudeAgentSDK as wrapClaudeAgentSDK, exports$1_wrapCloudflareAIChat as wrapCloudflareAIChat, exports$1_wrapCloudflareAgent as wrapCloudflareAgent, exports$1_wrapCloudflareThink as wrapCloudflareThink, exports$1_wrapCohere as wrapCohere, exports$1_wrapCopilotClient as wrapCopilotClient, exports$1_wrapCursorSDK as wrapCursorSDK, exports$1_wrapGenkit as wrapGenkit, exports$1_wrapGoogleADK as wrapGoogleADK, exports$1_wrapGoogleGenAI as wrapGoogleGenAI, exports$1_wrapGroq as wrapGroq, exports$1_wrapHuggingFace as wrapHuggingFace, exports$1_wrapHuggingFaceTransformers as wrapHuggingFaceTransformers, exports$1_wrapLangSmithClient as wrapLangSmithClient, exports$1_wrapLangSmithRunTrees as wrapLangSmithRunTrees, exports$1_wrapLangSmithTraceable as wrapLangSmithTraceable, exports$1_wrapMastraAgent as wrapMastraAgent, exports$1_wrapMistral as wrapMistral, exports$1_wrapOllama as wrapOllama, exports$1_wrapOpenAI as wrapOpenAI, exports$1_wrapOpenAICodexSDK as wrapOpenAICodexSDK, exports$1_wrapOpenAIv4 as wrapOpenAIv4, exports$1_wrapOpenRouter as wrapOpenRouter, exports$1_wrapOpenRouterAgent as wrapOpenRouterAgent, exports$1_wrapPiCodingAgentSDK as wrapPiCodingAgentSDK, exports$1_wrapStrandsAgentSDK as wrapStrandsAgentSDK, exports$1_wrapTraced as wrapTraced, exports$1_wrapVitest as wrapVitest, exports$1_wrapVoyageAI as wrapVoyageAI };
50081
+ export { type exports$1_AnyDataset as AnyDataset, exports$1_Attachment as Attachment, type exports$1_AttachmentParams as AttachmentParams, exports$1_AttachmentReference as AttachmentReference, exports$1_BAGGAGE_HEADER as BAGGAGE_HEADER, exports$1_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME as BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, exports$1_BRAINTRUST_PARENT_KEY as BRAINTRUST_PARENT_KEY, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BatchScorer as BatchScorer, exports$1_BatchTask as BatchTask, exports$1_BraintrustLangChainCallbackHandler as BraintrustLangChainCallbackHandler, exports$1_BraintrustMiddleware as BraintrustMiddleware, exports$1_BraintrustObservabilityExporter as BraintrustObservabilityExporter, exports$1_BraintrustState as BraintrustState, exports$1_BraintrustStream as BraintrustStream, type exports$1_BraintrustStreamChunk as BraintrustStreamChunk, exports$1_CachedSpanFetcher as CachedSpanFetcher, type exports$1_ChatPrompt as ChatPrompt, exports$1_CodeFunction as CodeFunction, type exports$1_CodeOpts as CodeOpts, exports$1_CodePrompt as CodePrompt, type exports$1_CommentEvent as CommentEvent, type exports$1_CompiledPrompt as CompiledPrompt, type exports$1_CompiledPromptParams as CompiledPromptParams, type exports$1_CompletionPrompt as CompletionPrompt, exports$1_ContextManager as ContextManager, type exports$1_ContextParentSpanIds as ContextParentSpanIds, type exports$1_CreateProjectOpts as CreateProjectOpts, type exports$1_CurrentSpanStore as CurrentSpanStore, exports$1_DEFAULT_FETCH_BATCH_SIZE as DEFAULT_FETCH_BATCH_SIZE, exports$1_DEFAULT_MAX_REQUEST_SIZE as DEFAULT_MAX_REQUEST_SIZE, type exports$1_DataSummary as DataSummary, exports$1_Dataset as Dataset, exports$1_DatasetPipeline as DatasetPipeline, type exports$1_DatasetRecord as DatasetRecord, type exports$1_DatasetRestorePreviewResult as DatasetRestorePreviewResult, type exports$1_DatasetRestoreResult as DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type exports$1_DatasetSummary as DatasetSummary, type exports$1_DefaultMetadataType as DefaultMetadataType, type exports$1_DefaultPromptArgs as DefaultPromptArgs, exports$1_DurableEvalMemoryStore as DurableEvalMemoryStore, exports$1_DurableEvalRedisStore as DurableEvalRedisStore, type exports$1_DurableEvalStore as DurableEvalStore, exports$1_ERR_PERMALINK as ERR_PERMALINK, type exports$1_EndSpanArgs as EndSpanArgs, exports$1_Eval as Eval, type exports$1_EvalCase as EvalCase, type exports$1_EvalClassifier as EvalClassifier, type exports$1_EvalHooks as EvalHooks, type exports$1_EvalParameterSerializedSchema as EvalParameterSerializedSchema, type exports$1_EvalParameters as EvalParameters, type exports$1_EvalResult as EvalResult, exports$1_EvalResultWithSummary as EvalResultWithSummary, type exports$1_EvalScorer as EvalScorer, type exports$1_EvalScorerArgs as EvalScorerArgs, type exports$1_EvalTask as EvalTask, type exports$1_Evaluator as Evaluator, type exports$1_EvaluatorDef as EvaluatorDef, type exports$1_EvaluatorDefinition as EvaluatorDefinition, type exports$1_EvaluatorDefinitions as EvaluatorDefinitions, type exports$1_EvaluatorFile as EvaluatorFile, type exports$1_EvaluatorManifest as EvaluatorManifest, exports$1_Experiment as Experiment, type exports$1_ExperimentLogFullArgs as ExperimentLogFullArgs, type exports$1_ExperimentLogPartialArgs as ExperimentLogPartialArgs, type exports$1_ExperimentSummary as ExperimentSummary, type exports$1_Exportable as Exportable, exports$1_ExternalAttachment as ExternalAttachment, type exports$1_ExternalAttachmentParams as ExternalAttachmentParams, exports$1_FailedHTTPResponse as FailedHTTPResponse, type exports$1_FullInitDatasetOptions as FullInitDatasetOptions, type exports$1_FullInitOptions as FullInitOptions, type exports$1_FullLoginOptions as FullLoginOptions, type exports$1_FunctionEvent as FunctionEvent, type exports$1_GetThreadOptions as GetThreadOptions, exports$1_IDGenerator as IDGenerator, type exports$1_IdField as IdField, type exports$1_InitDatasetOptions as InitDatasetOptions, type exports$1_InitLoggerOptions as InitLoggerOptions, type exports$1_InitOptions as InitOptions, type exports$1_InputField as InputField, type exports$1_InstrumentationConfig as InstrumentationConfig, type exports$1_InvokeFunctionArgs as InvokeFunctionArgs, type exports$1_InvokeReturn as InvokeReturn, exports$1_JSONAttachment as JSONAttachment, exports$1_LEGACY_CACHED_HEADER as LEGACY_CACHED_HEADER, exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE as LOGS3_OVERFLOW_REFERENCE_TYPE, type exports$1_LangChainCallbackHandlerOptions as LangChainCallbackHandlerOptions, exports$1_LazyValue as LazyValue, type exports$1_LoadPromptOptions as LoadPromptOptions, exports$1_LocalTrace as LocalTrace, type exports$1_LogCommentFullArgs as LogCommentFullArgs, type exports$1_LogFeedbackFullArgs as LogFeedbackFullArgs, type exports$1_LogOptions as LogOptions, exports$1_Logger as Logger, exports$1_LoginInvalidOrgError as LoginInvalidOrgError, type exports$1_LoginOptions as LoginOptions, type exports$1_Logs3OverflowInputRow as Logs3OverflowInputRow, type exports$1_Logs3OverflowUpload as Logs3OverflowUpload, type exports$1_MastraObservabilityExporter as MastraObservabilityExporter, type exports$1_MetricSummary as MetricSummary, exports$1_NOOP_SPAN as NOOP_SPAN, exports$1_NOOP_SPAN_PERMALINK as NOOP_SPAN_PERMALINK, exports$1_NoopSpan as NoopSpan, exports$1_OTELIDGenerator as OTELIDGenerator, exports$1_ObjectFetcher as ObjectFetcher, type exports$1_ObjectMetadata as ObjectMetadata, type exports$1_OtherExperimentLogFields as OtherExperimentLogFields, type exports$1_ParametersSource as ParametersSource, type exports$1_ParentExperimentIds as ParentExperimentIds, type exports$1_ParentProjectLogIds as ParentProjectLogIds, type exports$1_ParsedTraceparent as ParsedTraceparent, exports$1_Project as Project, exports$1_ProjectNameIdMap as ProjectNameIdMap, type exports$1_PromiseUnless as PromiseUnless, exports$1_Prompt as Prompt, exports$1_PromptBuilder as PromptBuilder, type exports$1_PromptContents as PromptContents, type exports$1_PromptDefinition as PromptDefinition, type exports$1_PromptDefinitionWithTools as PromptDefinitionWithTools, type exports$1_PromptOpts as PromptOpts, type exports$1_PromptRowWithId as PromptRowWithId, type exports$1_PropagatedState as PropagatedState, type exports$1_PropagationContext as PropagationContext, exports$1_ReadonlyAttachment as ReadonlyAttachment, exports$1_ReadonlyExperiment as ReadonlyExperiment, type exports$1_RegisterSandboxOptions as RegisterSandboxOptions, type exports$1_RegisterSandboxResult as RegisterSandboxResult, exports$1_Reporter as Reporter, type exports$1_ReporterBody as ReporterBody, type exports$1_SandboxConfig as SandboxConfig, type exports$1_ScoreSummary as ScoreSummary, exports$1_ScorerBuilder as ScorerBuilder, type exports$1_ScorerOpts as ScorerOpts, type exports$1_SerializedBraintrustState as SerializedBraintrustState, type exports$1_SetCurrentArg as SetCurrentArg, type exports$1_Span as Span, type exports$1_SpanContext as SpanContext, type exports$1_SpanData as SpanData, exports$1_SpanFetcher as SpanFetcher, exports$1_SpanImpl as SpanImpl, type exports$1_StartSpanArgs as StartSpanArgs, exports$1_TRACEPARENT_HEADER as TRACEPARENT_HEADER, exports$1_TRACESTATE_HEADER as TRACESTATE_HEADER, type exports$1_TemplateFormat as TemplateFormat, type exports$1_TemplateRenderer as TemplateRenderer, type exports$1_TemplateRendererPlugin as TemplateRendererPlugin, exports$1_TestBackgroundLogger as TestBackgroundLogger, exports$1_ToolBuilder as ToolBuilder, type exports$1_Trace as Trace, type exports$1_TraceContextCarrier as TraceContextCarrier, type exports$1_TraceContextHeaders as TraceContextHeaders, exports$1_UUIDGenerator as UUIDGenerator, type exports$1_WithTransactionId as WithTransactionId, exports$1_X_CACHED_HEADER as X_CACHED_HEADER, exports$1__exportsForTestingOnly as _exportsForTestingOnly, exports$1__internalGetGlobalState as _internalGetGlobalState, iso as _internalIso, exports$1__internalSetInitialState as _internalSetInitialState, exports$1_addAzureBlobHeaders as addAzureBlobHeaders, exports$1_agentAssertionScorer as agentAssertionScorer, exports$1_braintrustAISDKTelemetry as braintrustAISDKTelemetry, exports$1_braintrustEveHook as braintrustEveHook, exports$1_braintrustEveInstrumentation as braintrustEveInstrumentation, exports$1_braintrustFlueInstrumentation as braintrustFlueInstrumentation, exports$1_braintrustFlueObserver as braintrustFlueObserver, exports$1_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports$1_buildLocalSummary as buildLocalSummary, exports$1_collectAnthropicSession as collectAnthropicSession, exports$1_completeOpenAIBatchTrace as completeOpenAIBatchTrace, exports$1_configureInstrumentation as configureInstrumentation, exports$1_constructLogs3OverflowRequest as constructLogs3OverflowRequest, exports$1_createFinalValuePassThroughStream as createFinalValuePassThroughStream, exports$1_currentExperiment as currentExperiment, exports$1_currentLogger as currentLogger, exports$1_currentSpan as currentSpan, exports$1_deepCopyEvent as deepCopyEvent, exports$1_defaultErrorScoreHandler as defaultErrorScoreHandler, exports$1_defineDurableEval as defineDurableEval, exports$1_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports$1_devNullWritableStream as devNullWritableStream, exports$1_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports$1_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, exports$1_extractTraceContextFromHeaders as extractTraceContextFromHeaders, exports$1_flush as flush, exports$1_getContextManager as getContextManager, exports$1_getIdGenerator as getIdGenerator, exports$1_getPromptVersions as getPromptVersions, exports$1_getSpanParentObject as getSpanParentObject, exports$1_getTemplateRenderer as getTemplateRenderer, graphFramework as graph, exports$1_init as init, exports$1_initDataset as initDataset, exports$1_initExperiment as initExperiment, exports$1_initFunction as initFunction, exports$1_initLogger as initLogger, exports$1_initNodeTestSuite as initNodeTestSuite, exports$1_injectTraceContext as injectTraceContext, exports$1_invoke as invoke, exports$1_isTemplateFormat as isTemplateFormat, exports$1_loadParameters as loadParameters, exports$1_loadPrompt as loadPrompt, exports$1_log as log, exports$1_logError as logError, exports$1_login as login, exports$1_loginToState as loginToState, exports$1_logs3OverflowUploadSchema as logs3OverflowUploadSchema, exports$1_newId as newId, exports$1_openaiBatchesRetrieveTraced as openaiBatchesRetrieveTraced, exports$1_openaiFilesCreateTraced as openaiFilesCreateTraced, exports$1_parseCachedHeader as parseCachedHeader, exports$1_parseTemplateFormat as parseTemplateFormat, exports$1_permalink as permalink, exports$1_pickLogs3OverflowObjectIds as pickLogs3OverflowObjectIds, exports$1_projects as projects, exports$1_promptContentsSchema as promptContentsSchema, exports$1_promptDefinitionSchema as promptDefinitionSchema, exports$1_promptDefinitionToPromptData as promptDefinitionToPromptData, exports$1_promptDefinitionWithToolsSchema as promptDefinitionWithToolsSchema, exports$1_registerOtelFlush as registerOtelFlush, exports$1_registerSandbox as registerSandbox, exports$1_registerTemplatePlugin as registerTemplatePlugin, exports$1_renderMessage as renderMessage, exports$1_renderPromptParams as renderPromptParams, exports$1_renderTemplateContent as renderTemplateContent, exports$1_reportFailures as reportFailures, exports$1_runEvaluator as runEvaluator, exports$1_setFetch as setFetch, exports$1_setMaskingFunction as setMaskingFunction, exports$1_spanComponentsToObjectId as spanComponentsToObjectId, exports$1_startSpan as startSpan, exports$1_summarize as summarize, exports$1_templateRegistry as templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, exports$1_traceable as traceable, exports$1_traced as traced, exports$1_updateSpan as updateSpan, exports$1_uploadLogs3OverflowPayload as uploadLogs3OverflowPayload, exports$1_utf8ByteLength as utf8ByteLength, exports$1_withCurrent as withCurrent, exports$1_withDataset as withDataset, exports$1_withExperiment as withExperiment, exports$1_withLogger as withLogger, exports$1_withParent as withParent, exports$1_wrapAISDK as wrapAISDK, exports$1_wrapAISDKModel as wrapAISDKModel, exports$1_wrapAgentClass as wrapAgentClass, exports$1_wrapAnthropic as wrapAnthropic, exports$1_wrapBedrockRuntime as wrapBedrockRuntime, exports$1_wrapClaudeAgentSDK as wrapClaudeAgentSDK, exports$1_wrapCloudflareAIChat as wrapCloudflareAIChat, exports$1_wrapCloudflareAgent as wrapCloudflareAgent, exports$1_wrapCloudflareThink as wrapCloudflareThink, exports$1_wrapCohere as wrapCohere, exports$1_wrapCopilotClient as wrapCopilotClient, exports$1_wrapCursorSDK as wrapCursorSDK, exports$1_wrapElevenLabs as wrapElevenLabs, exports$1_wrapGenkit as wrapGenkit, exports$1_wrapGoogleADK as wrapGoogleADK, exports$1_wrapGoogleGenAI as wrapGoogleGenAI, exports$1_wrapGoogleGenerativeAI as wrapGoogleGenerativeAI, exports$1_wrapGroq as wrapGroq, exports$1_wrapHuggingFace as wrapHuggingFace, exports$1_wrapHuggingFaceTransformers as wrapHuggingFaceTransformers, exports$1_wrapLangSmithClient as wrapLangSmithClient, exports$1_wrapLangSmithRunTrees as wrapLangSmithRunTrees, exports$1_wrapLangSmithTraceable as wrapLangSmithTraceable, exports$1_wrapMastraAgent as wrapMastraAgent, exports$1_wrapMistral as wrapMistral, exports$1_wrapOllama as wrapOllama, exports$1_wrapOpenAI as wrapOpenAI, exports$1_wrapOpenAICodexSDK as wrapOpenAICodexSDK, exports$1_wrapOpenAIv4 as wrapOpenAIv4, exports$1_wrapOpenRouter as wrapOpenRouter, exports$1_wrapOpenRouterAgent as wrapOpenRouterAgent, exports$1_wrapPiCodingAgentSDK as wrapPiCodingAgentSDK, exports$1_wrapStrandsAgentSDK as wrapStrandsAgentSDK, exports$1_wrapTraced as wrapTraced, exports$1_wrapVitest as wrapVitest, exports$1_wrapVoyageAI as wrapVoyageAI };
47960
50082
  }
47961
50083
 
47962
- export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BAGGAGE_HEADER, BRAINTRUST_CURRENT_SPAN_STORE, BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, BRAINTRUST_PARENT_KEY, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BatchScorer, BatchTask, BraintrustLangChainCallbackHandler, BraintrustMiddleware, BraintrustObservabilityExporter, BraintrustState, BraintrustStream, type BraintrustStreamChunk, CachedSpanFetcher, type ChatPrompt, CodeFunction, type CodeOpts, CodePrompt, type CommentEvent, type CompiledPrompt, type CompiledPromptParams, type CompletionPrompt, ContextManager, type ContextParentSpanIds, type CreateProjectOpts, type CurrentSpanStore, DEFAULT_FETCH_BATCH_SIZE, DEFAULT_MAX_REQUEST_SIZE, type DataSummary, Dataset, DatasetPipeline, type DatasetRecord, type DatasetRestorePreviewResult, type DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type DatasetSummary, type DefaultMetadataType, type DefaultPromptArgs, DurableEvalMemoryStore, DurableEvalRedisStore, type DurableEvalStore, ERR_PERMALINK, type EndSpanArgs, Eval, type EvalCase, type EvalClassifier, type EvalHooks, type EvalParameterSerializedSchema, type EvalParameters, type EvalResult, EvalResultWithSummary, type EvalScorer, type EvalScorerArgs, type EvalTask, type Evaluator, type EvaluatorDef, type EvaluatorDefinition, type EvaluatorDefinitions, type EvaluatorFile, type EvaluatorManifest, Experiment, type ExperimentLogFullArgs, type ExperimentLogPartialArgs, type ExperimentSummary, type Exportable, ExternalAttachment, type ExternalAttachmentParams, FailedHTTPResponse, type FullInitDatasetOptions, type FullInitOptions, type FullLoginOptions, type FunctionEvent, type GetThreadOptions, IDGenerator, type IdField, type InitDatasetOptions, type InitLoggerOptions, type InitOptions, type InputField, type InstrumentationConfig, type InvokeFunctionArgs, type InvokeReturn, JSONAttachment, LEGACY_CACHED_HEADER, LOGS3_OVERFLOW_REFERENCE_TYPE, type LangChainCallbackHandlerOptions, LazyValue, type LoadPromptOptions, LocalTrace, type LogCommentFullArgs, type LogFeedbackFullArgs, type LogOptions, Logger, LoginInvalidOrgError, type LoginOptions, type Logs3OverflowInputRow, type Logs3OverflowUpload, type MastraObservabilityExporter, type MetricSummary, NOOP_SPAN, NOOP_SPAN_PERMALINK, NoopSpan, OTELIDGenerator, ObjectFetcher, type ObjectMetadata, type OtherExperimentLogFields, type ParametersSource, type ParentExperimentIds, type ParentProjectLogIds, type ParsedTraceparent, Project, ProjectNameIdMap, type PromiseUnless, Prompt, PromptBuilder, type PromptContents, type PromptDefinition, type PromptDefinitionWithTools, type PromptOpts, type PromptRowWithId, type PropagatedState, type PropagationContext, ReadonlyAttachment, ReadonlyExperiment, type RegisterSandboxOptions, type RegisterSandboxResult, Reporter, type ReporterBody, type SandboxConfig, type ScoreSummary, ScorerBuilder, type ScorerOpts, type SerializedBraintrustState, type SetCurrentArg, type Span, type SpanContext, type SpanData, SpanFetcher, SpanImpl, type StartSpanArgs, TRACEPARENT_HEADER, TRACESTATE_HEADER, type TemplateFormat, type TemplateRenderer, type TemplateRendererPlugin, TestBackgroundLogger, ToolBuilder, type Trace, type TraceContextCarrier, type TraceContextHeaders, UUIDGenerator, type WithTransactionId, X_CACHED_HEADER, _exportsForTestingOnly, _internalGetGlobalState, iso as _internalIso, _internalSetInitialState, addAzureBlobHeaders, agentAssertionScorer, braintrustAISDKTelemetry, braintrustEveHook, braintrustEveInstrumentation, braintrustFlueInstrumentation, braintrustFlueObserver, braintrustStreamChunkSchema, buildLocalSummary, collectAnthropicSession, completeOpenAIBatchTrace, configureInstrumentation, constructLogs3OverflowRequest, createFinalValuePassThroughStream, currentExperiment, currentLogger, currentSpan, deepCopyEvent, exports$1 as default, defaultErrorScoreHandler, defineDurableEval, deserializePlainStringAsJSON, devNullWritableStream, evaluatorDefinitionSchema, evaluatorDefinitionsSchema, extractTraceContextFromHeaders, flush, getContextManager, getIdGenerator, getPromptVersions, getSpanParentObject, getTemplateRenderer, graphFramework as graph, init, initDataset, initExperiment, initFunction, initLogger, initNodeTestSuite, injectTraceContext, invoke, isTemplateFormat, loadParameters, loadPrompt, log, logError, login, loginToState, logs3OverflowUploadSchema, newId, openaiBatchesRetrieveTraced, openaiFilesCreateTraced, parseCachedHeader, parseTemplateFormat, permalink, pickLogs3OverflowObjectIds, projects, promptContentsSchema, promptDefinitionSchema, promptDefinitionToPromptData, promptDefinitionWithToolsSchema, registerOtelFlush, registerSandbox, registerTemplatePlugin, renderMessage, renderPromptParams, renderTemplateContent, reportFailures, runEvaluator, setFetch, setMaskingFunction, spanComponentsToObjectId, startSpan, summarize, templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, traceable, traced, updateSpan, uploadLogs3OverflowPayload, utf8ByteLength, withCurrent, withDataset, withExperiment, withLogger, withParent, wrapAISDK, wrapAISDKModel, wrapAgentClass, wrapAnthropic, wrapBedrockRuntime, wrapClaudeAgentSDK, wrapCloudflareAIChat, wrapCloudflareAgent, wrapCloudflareThink, wrapCohere, wrapCopilotClient, wrapCursorSDK, wrapGenkit, wrapGoogleADK, wrapGoogleGenAI, wrapGroq, wrapHuggingFace, wrapHuggingFaceTransformers, wrapLangSmithClient, wrapLangSmithRunTrees, wrapLangSmithTraceable, wrapMastraAgent, wrapMistral, wrapOllama, wrapOpenAI, wrapOpenAICodexSDK, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapPiCodingAgentSDK, wrapStrandsAgentSDK, wrapTraced, wrapVitest, wrapVoyageAI };
50084
+ export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BAGGAGE_HEADER, BRAINTRUST_CURRENT_SPAN_STORE, BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, BRAINTRUST_PARENT_KEY, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BatchScorer, BatchTask, BraintrustLangChainCallbackHandler, BraintrustMiddleware, BraintrustObservabilityExporter, BraintrustState, BraintrustStream, type BraintrustStreamChunk, CachedSpanFetcher, type ChatPrompt, CodeFunction, type CodeOpts, CodePrompt, type CommentEvent, type CompiledPrompt, type CompiledPromptParams, type CompletionPrompt, ContextManager, type ContextParentSpanIds, type CreateProjectOpts, type CurrentSpanStore, DEFAULT_FETCH_BATCH_SIZE, DEFAULT_MAX_REQUEST_SIZE, type DataSummary, Dataset, DatasetPipeline, type DatasetRecord, type DatasetRestorePreviewResult, type DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type DatasetSummary, type DefaultMetadataType, type DefaultPromptArgs, DurableEvalMemoryStore, DurableEvalRedisStore, type DurableEvalStore, ERR_PERMALINK, type EndSpanArgs, Eval, type EvalCase, type EvalClassifier, type EvalHooks, type EvalParameterSerializedSchema, type EvalParameters, type EvalResult, EvalResultWithSummary, type EvalScorer, type EvalScorerArgs, type EvalTask, type Evaluator, type EvaluatorDef, type EvaluatorDefinition, type EvaluatorDefinitions, type EvaluatorFile, type EvaluatorManifest, Experiment, type ExperimentLogFullArgs, type ExperimentLogPartialArgs, type ExperimentSummary, type Exportable, ExternalAttachment, type ExternalAttachmentParams, FailedHTTPResponse, type FullInitDatasetOptions, type FullInitOptions, type FullLoginOptions, type FunctionEvent, type GetThreadOptions, IDGenerator, type IdField, type InitDatasetOptions, type InitLoggerOptions, type InitOptions, type InputField, type InstrumentationConfig, type InvokeFunctionArgs, type InvokeReturn, JSONAttachment, LEGACY_CACHED_HEADER, LOGS3_OVERFLOW_REFERENCE_TYPE, type LangChainCallbackHandlerOptions, LazyValue, type LoadPromptOptions, LocalTrace, type LogCommentFullArgs, type LogFeedbackFullArgs, type LogOptions, Logger, LoginInvalidOrgError, type LoginOptions, type Logs3OverflowInputRow, type Logs3OverflowUpload, type MastraObservabilityExporter, type MetricSummary, NOOP_SPAN, NOOP_SPAN_PERMALINK, NoopSpan, OTELIDGenerator, ObjectFetcher, type ObjectMetadata, type OtherExperimentLogFields, type ParametersSource, type ParentExperimentIds, type ParentProjectLogIds, type ParsedTraceparent, Project, ProjectNameIdMap, type PromiseUnless, Prompt, PromptBuilder, type PromptContents, type PromptDefinition, type PromptDefinitionWithTools, type PromptOpts, type PromptRowWithId, type PropagatedState, type PropagationContext, ReadonlyAttachment, ReadonlyExperiment, type RegisterSandboxOptions, type RegisterSandboxResult, Reporter, type ReporterBody, type SandboxConfig, type ScoreSummary, ScorerBuilder, type ScorerOpts, type SerializedBraintrustState, type SetCurrentArg, type Span, type SpanContext, type SpanData, SpanFetcher, SpanImpl, type StartSpanArgs, TRACEPARENT_HEADER, TRACESTATE_HEADER, type TemplateFormat, type TemplateRenderer, type TemplateRendererPlugin, TestBackgroundLogger, ToolBuilder, type Trace, type TraceContextCarrier, type TraceContextHeaders, UUIDGenerator, type WithTransactionId, X_CACHED_HEADER, _exportsForTestingOnly, _internalGetGlobalState, iso as _internalIso, _internalSetInitialState, addAzureBlobHeaders, agentAssertionScorer, braintrustAISDKTelemetry, braintrustEveHook, braintrustEveInstrumentation, braintrustFlueInstrumentation, braintrustFlueObserver, braintrustStreamChunkSchema, buildLocalSummary, collectAnthropicSession, completeOpenAIBatchTrace, configureInstrumentation, constructLogs3OverflowRequest, createFinalValuePassThroughStream, currentExperiment, currentLogger, currentSpan, deepCopyEvent, exports$1 as default, defaultErrorScoreHandler, defineDurableEval, deserializePlainStringAsJSON, devNullWritableStream, evaluatorDefinitionSchema, evaluatorDefinitionsSchema, extractTraceContextFromHeaders, flush, getContextManager, getIdGenerator, getPromptVersions, getSpanParentObject, getTemplateRenderer, graphFramework as graph, init, initDataset, initExperiment, initFunction, initLogger, initNodeTestSuite, injectTraceContext, invoke, isTemplateFormat, loadParameters, loadPrompt, log, logError, login, loginToState, logs3OverflowUploadSchema, newId, openaiBatchesRetrieveTraced, openaiFilesCreateTraced, parseCachedHeader, parseTemplateFormat, permalink, pickLogs3OverflowObjectIds, projects, promptContentsSchema, promptDefinitionSchema, promptDefinitionToPromptData, promptDefinitionWithToolsSchema, registerOtelFlush, registerSandbox, registerTemplatePlugin, renderMessage, renderPromptParams, renderTemplateContent, reportFailures, runEvaluator, setFetch, setMaskingFunction, spanComponentsToObjectId, startSpan, summarize, templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, traceable, traced, updateSpan, uploadLogs3OverflowPayload, utf8ByteLength, withCurrent, withDataset, withExperiment, withLogger, withParent, wrapAISDK, wrapAISDKModel, wrapAgentClass, wrapAnthropic, wrapBedrockRuntime, wrapClaudeAgentSDK, wrapCloudflareAIChat, wrapCloudflareAgent, wrapCloudflareThink, wrapCohere, wrapCopilotClient, wrapCursorSDK, wrapElevenLabs, wrapGenkit, wrapGoogleADK, wrapGoogleGenAI, wrapGoogleGenerativeAI, wrapGroq, wrapHuggingFace, wrapHuggingFaceTransformers, wrapLangSmithClient, wrapLangSmithRunTrees, wrapLangSmithTraceable, wrapMastraAgent, wrapMistral, wrapOllama, wrapOpenAI, wrapOpenAICodexSDK, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapPiCodingAgentSDK, wrapStrandsAgentSDK, wrapTraced, wrapVitest, wrapVoyageAI };