braintrust 3.31.0 → 3.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/dist/index.d.mts +736 -0
- package/dev/dist/index.d.ts +736 -0
- package/dev/dist/index.js +1280 -428
- package/dev/dist/index.mjs +859 -7
- package/dist/apply-auto-instrumentation.js +281 -216
- package/dist/apply-auto-instrumentation.mjs +66 -1
- package/dist/auto-instrumentations/bundler/esbuild.cjs +104 -2
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +104 -2
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +104 -2
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +104 -2
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.cjs +104 -2
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-U64OYU4Q.mjs → chunk-AFND2U7E.mjs} +38 -1
- package/dist/auto-instrumentations/{chunk-OXINGIEZ.mjs → chunk-QEEPRBIS.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-LW4HDHXT.mjs → chunk-RI4Y55ZF.mjs} +69 -2
- package/dist/auto-instrumentations/hook.mjs +124 -3
- package/dist/auto-instrumentations/index.cjs +39 -1
- package/dist/auto-instrumentations/index.d.mts +3 -1
- package/dist/auto-instrumentations/index.d.ts +3 -1
- package/dist/auto-instrumentations/index.mjs +3 -1
- package/dist/browser.d.mts +2124 -2
- package/dist/browser.d.ts +2124 -2
- package/dist/browser.js +994 -10
- package/dist/browser.mjs +994 -10
- package/dist/{chunk-AJT4FR25.mjs → chunk-4QSAHP7D.mjs} +818 -5
- package/dist/{chunk-4AQGZS6X.js → chunk-AW4QECG5.js} +47 -4
- package/dist/{chunk-V32LW47Z.js → chunk-BTRLPQG5.js} +1663 -850
- package/dist/{chunk-CE3BLB2L.mjs → chunk-WV6QZI2W.mjs} +46 -3
- package/dist/cli.js +923 -8
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +994 -10
- package/dist/edge-light.mjs +994 -10
- package/dist/index.d.mts +2124 -2
- package/dist/index.d.ts +2124 -2
- package/dist/index.js +581 -447
- package/dist/index.mjs +136 -2
- package/dist/instrumentation/index.d.mts +434 -0
- package/dist/instrumentation/index.d.ts +434 -0
- package/dist/instrumentation/index.js +859 -7
- package/dist/instrumentation/index.mjs +859 -7
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +994 -10
- package/dist/workerd.mjs +994 -10
- package/package.json +1 -1
- package/util/dist/index.d.mts +326 -0
- package/util/dist/index.d.ts +326 -0
|
@@ -320,6 +320,48 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
320
320
|
type: "ephemeral";
|
|
321
321
|
ttl?: "5m" | "1h" | undefined;
|
|
322
322
|
} | undefined;
|
|
323
|
+
}>, z.ZodObject<{
|
|
324
|
+
input_audio: z.ZodObject<{
|
|
325
|
+
data: z.ZodString;
|
|
326
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
327
|
+
}, "strip", z.ZodTypeAny, {
|
|
328
|
+
data: string;
|
|
329
|
+
format: "wav" | "mp3";
|
|
330
|
+
}, {
|
|
331
|
+
data: string;
|
|
332
|
+
format: "wav" | "mp3";
|
|
333
|
+
}>;
|
|
334
|
+
type: z.ZodLiteral<"input_audio">;
|
|
335
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
336
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
337
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
338
|
+
}, "strip", z.ZodTypeAny, {
|
|
339
|
+
type: "ephemeral";
|
|
340
|
+
ttl?: "5m" | "1h" | undefined;
|
|
341
|
+
}, {
|
|
342
|
+
type: "ephemeral";
|
|
343
|
+
ttl?: "5m" | "1h" | undefined;
|
|
344
|
+
}>>;
|
|
345
|
+
}, "strip", z.ZodTypeAny, {
|
|
346
|
+
type: "input_audio";
|
|
347
|
+
input_audio: {
|
|
348
|
+
data: string;
|
|
349
|
+
format: "wav" | "mp3";
|
|
350
|
+
};
|
|
351
|
+
cache_control?: {
|
|
352
|
+
type: "ephemeral";
|
|
353
|
+
ttl?: "5m" | "1h" | undefined;
|
|
354
|
+
} | undefined;
|
|
355
|
+
}, {
|
|
356
|
+
type: "input_audio";
|
|
357
|
+
input_audio: {
|
|
358
|
+
data: string;
|
|
359
|
+
format: "wav" | "mp3";
|
|
360
|
+
};
|
|
361
|
+
cache_control?: {
|
|
362
|
+
type: "ephemeral";
|
|
363
|
+
ttl?: "5m" | "1h" | undefined;
|
|
364
|
+
} | undefined;
|
|
323
365
|
}>, z.ZodObject<{
|
|
324
366
|
file: z.ZodObject<{
|
|
325
367
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -389,6 +431,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
389
431
|
type: "ephemeral";
|
|
390
432
|
ttl?: "5m" | "1h" | undefined;
|
|
391
433
|
} | undefined;
|
|
434
|
+
} | {
|
|
435
|
+
type: "input_audio";
|
|
436
|
+
input_audio: {
|
|
437
|
+
data: string;
|
|
438
|
+
format: "wav" | "mp3";
|
|
439
|
+
};
|
|
440
|
+
cache_control?: {
|
|
441
|
+
type: "ephemeral";
|
|
442
|
+
ttl?: "5m" | "1h" | undefined;
|
|
443
|
+
} | undefined;
|
|
392
444
|
} | {
|
|
393
445
|
type: "file";
|
|
394
446
|
file: {
|
|
@@ -421,6 +473,16 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
421
473
|
type: "ephemeral";
|
|
422
474
|
ttl?: "5m" | "1h" | undefined;
|
|
423
475
|
} | undefined;
|
|
476
|
+
} | {
|
|
477
|
+
type: "input_audio";
|
|
478
|
+
input_audio: {
|
|
479
|
+
data: string;
|
|
480
|
+
format: "wav" | "mp3";
|
|
481
|
+
};
|
|
482
|
+
cache_control?: {
|
|
483
|
+
type: "ephemeral";
|
|
484
|
+
ttl?: "5m" | "1h" | undefined;
|
|
485
|
+
} | undefined;
|
|
424
486
|
} | {
|
|
425
487
|
type: "file";
|
|
426
488
|
file: {
|
|
@@ -822,6 +884,48 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
822
884
|
type: "ephemeral";
|
|
823
885
|
ttl?: "5m" | "1h" | undefined;
|
|
824
886
|
} | undefined;
|
|
887
|
+
}>, z.ZodObject<{
|
|
888
|
+
input_audio: z.ZodObject<{
|
|
889
|
+
data: z.ZodString;
|
|
890
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
891
|
+
}, "strip", z.ZodTypeAny, {
|
|
892
|
+
data: string;
|
|
893
|
+
format: "wav" | "mp3";
|
|
894
|
+
}, {
|
|
895
|
+
data: string;
|
|
896
|
+
format: "wav" | "mp3";
|
|
897
|
+
}>;
|
|
898
|
+
type: z.ZodLiteral<"input_audio">;
|
|
899
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
900
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
901
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
902
|
+
}, "strip", z.ZodTypeAny, {
|
|
903
|
+
type: "ephemeral";
|
|
904
|
+
ttl?: "5m" | "1h" | undefined;
|
|
905
|
+
}, {
|
|
906
|
+
type: "ephemeral";
|
|
907
|
+
ttl?: "5m" | "1h" | undefined;
|
|
908
|
+
}>>;
|
|
909
|
+
}, "strip", z.ZodTypeAny, {
|
|
910
|
+
type: "input_audio";
|
|
911
|
+
input_audio: {
|
|
912
|
+
data: string;
|
|
913
|
+
format: "wav" | "mp3";
|
|
914
|
+
};
|
|
915
|
+
cache_control?: {
|
|
916
|
+
type: "ephemeral";
|
|
917
|
+
ttl?: "5m" | "1h" | undefined;
|
|
918
|
+
} | undefined;
|
|
919
|
+
}, {
|
|
920
|
+
type: "input_audio";
|
|
921
|
+
input_audio: {
|
|
922
|
+
data: string;
|
|
923
|
+
format: "wav" | "mp3";
|
|
924
|
+
};
|
|
925
|
+
cache_control?: {
|
|
926
|
+
type: "ephemeral";
|
|
927
|
+
ttl?: "5m" | "1h" | undefined;
|
|
928
|
+
} | undefined;
|
|
825
929
|
}>, z.ZodObject<{
|
|
826
930
|
file: z.ZodObject<{
|
|
827
931
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -891,6 +995,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
891
995
|
type: "ephemeral";
|
|
892
996
|
ttl?: "5m" | "1h" | undefined;
|
|
893
997
|
} | undefined;
|
|
998
|
+
} | {
|
|
999
|
+
type: "input_audio";
|
|
1000
|
+
input_audio: {
|
|
1001
|
+
data: string;
|
|
1002
|
+
format: "wav" | "mp3";
|
|
1003
|
+
};
|
|
1004
|
+
cache_control?: {
|
|
1005
|
+
type: "ephemeral";
|
|
1006
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1007
|
+
} | undefined;
|
|
894
1008
|
} | {
|
|
895
1009
|
type: "file";
|
|
896
1010
|
file: {
|
|
@@ -923,6 +1037,16 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
923
1037
|
type: "ephemeral";
|
|
924
1038
|
ttl?: "5m" | "1h" | undefined;
|
|
925
1039
|
} | undefined;
|
|
1040
|
+
} | {
|
|
1041
|
+
type: "input_audio";
|
|
1042
|
+
input_audio: {
|
|
1043
|
+
data: string;
|
|
1044
|
+
format: "wav" | "mp3";
|
|
1045
|
+
};
|
|
1046
|
+
cache_control?: {
|
|
1047
|
+
type: "ephemeral";
|
|
1048
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1049
|
+
} | undefined;
|
|
926
1050
|
} | {
|
|
927
1051
|
type: "file";
|
|
928
1052
|
file: {
|
|
@@ -1371,6 +1495,48 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1371
1495
|
type: "ephemeral";
|
|
1372
1496
|
ttl?: "5m" | "1h" | undefined;
|
|
1373
1497
|
} | undefined;
|
|
1498
|
+
}>, z.ZodObject<{
|
|
1499
|
+
input_audio: z.ZodObject<{
|
|
1500
|
+
data: z.ZodString;
|
|
1501
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
data: string;
|
|
1504
|
+
format: "wav" | "mp3";
|
|
1505
|
+
}, {
|
|
1506
|
+
data: string;
|
|
1507
|
+
format: "wav" | "mp3";
|
|
1508
|
+
}>;
|
|
1509
|
+
type: z.ZodLiteral<"input_audio">;
|
|
1510
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
1511
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
1512
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
1513
|
+
}, "strip", z.ZodTypeAny, {
|
|
1514
|
+
type: "ephemeral";
|
|
1515
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1516
|
+
}, {
|
|
1517
|
+
type: "ephemeral";
|
|
1518
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1519
|
+
}>>;
|
|
1520
|
+
}, "strip", z.ZodTypeAny, {
|
|
1521
|
+
type: "input_audio";
|
|
1522
|
+
input_audio: {
|
|
1523
|
+
data: string;
|
|
1524
|
+
format: "wav" | "mp3";
|
|
1525
|
+
};
|
|
1526
|
+
cache_control?: {
|
|
1527
|
+
type: "ephemeral";
|
|
1528
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1529
|
+
} | undefined;
|
|
1530
|
+
}, {
|
|
1531
|
+
type: "input_audio";
|
|
1532
|
+
input_audio: {
|
|
1533
|
+
data: string;
|
|
1534
|
+
format: "wav" | "mp3";
|
|
1535
|
+
};
|
|
1536
|
+
cache_control?: {
|
|
1537
|
+
type: "ephemeral";
|
|
1538
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1539
|
+
} | undefined;
|
|
1374
1540
|
}>, z.ZodObject<{
|
|
1375
1541
|
file: z.ZodObject<{
|
|
1376
1542
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -1440,6 +1606,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1440
1606
|
type: "ephemeral";
|
|
1441
1607
|
ttl?: "5m" | "1h" | undefined;
|
|
1442
1608
|
} | undefined;
|
|
1609
|
+
} | {
|
|
1610
|
+
type: "input_audio";
|
|
1611
|
+
input_audio: {
|
|
1612
|
+
data: string;
|
|
1613
|
+
format: "wav" | "mp3";
|
|
1614
|
+
};
|
|
1615
|
+
cache_control?: {
|
|
1616
|
+
type: "ephemeral";
|
|
1617
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1618
|
+
} | undefined;
|
|
1443
1619
|
} | {
|
|
1444
1620
|
type: "file";
|
|
1445
1621
|
file: {
|
|
@@ -1472,6 +1648,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1472
1648
|
type: "ephemeral";
|
|
1473
1649
|
ttl?: "5m" | "1h" | undefined;
|
|
1474
1650
|
} | undefined;
|
|
1651
|
+
} | {
|
|
1652
|
+
type: "input_audio";
|
|
1653
|
+
input_audio: {
|
|
1654
|
+
data: string;
|
|
1655
|
+
format: "wav" | "mp3";
|
|
1656
|
+
};
|
|
1657
|
+
cache_control?: {
|
|
1658
|
+
type: "ephemeral";
|
|
1659
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1660
|
+
} | undefined;
|
|
1475
1661
|
} | {
|
|
1476
1662
|
type: "file";
|
|
1477
1663
|
file: {
|
|
@@ -1782,6 +1968,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1782
1968
|
type: "ephemeral";
|
|
1783
1969
|
ttl?: "5m" | "1h" | undefined;
|
|
1784
1970
|
} | undefined;
|
|
1971
|
+
} | {
|
|
1972
|
+
type: "input_audio";
|
|
1973
|
+
input_audio: {
|
|
1974
|
+
data: string;
|
|
1975
|
+
format: "wav" | "mp3";
|
|
1976
|
+
};
|
|
1977
|
+
cache_control?: {
|
|
1978
|
+
type: "ephemeral";
|
|
1979
|
+
ttl?: "5m" | "1h" | undefined;
|
|
1980
|
+
} | undefined;
|
|
1785
1981
|
} | {
|
|
1786
1982
|
type: "file";
|
|
1787
1983
|
file: {
|
|
@@ -1886,6 +2082,16 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1886
2082
|
type: "ephemeral";
|
|
1887
2083
|
ttl?: "5m" | "1h" | undefined;
|
|
1888
2084
|
} | undefined;
|
|
2085
|
+
} | {
|
|
2086
|
+
type: "input_audio";
|
|
2087
|
+
input_audio: {
|
|
2088
|
+
data: string;
|
|
2089
|
+
format: "wav" | "mp3";
|
|
2090
|
+
};
|
|
2091
|
+
cache_control?: {
|
|
2092
|
+
type: "ephemeral";
|
|
2093
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2094
|
+
} | undefined;
|
|
1889
2095
|
} | {
|
|
1890
2096
|
type: "file";
|
|
1891
2097
|
file: {
|
|
@@ -2095,6 +2301,48 @@ declare const PromptData: z.ZodObject<{
|
|
|
2095
2301
|
type: "ephemeral";
|
|
2096
2302
|
ttl?: "5m" | "1h" | undefined;
|
|
2097
2303
|
} | undefined;
|
|
2304
|
+
}>, z.ZodObject<{
|
|
2305
|
+
input_audio: z.ZodObject<{
|
|
2306
|
+
data: z.ZodString;
|
|
2307
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
2308
|
+
}, "strip", z.ZodTypeAny, {
|
|
2309
|
+
data: string;
|
|
2310
|
+
format: "wav" | "mp3";
|
|
2311
|
+
}, {
|
|
2312
|
+
data: string;
|
|
2313
|
+
format: "wav" | "mp3";
|
|
2314
|
+
}>;
|
|
2315
|
+
type: z.ZodLiteral<"input_audio">;
|
|
2316
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
2317
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
2318
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
2319
|
+
}, "strip", z.ZodTypeAny, {
|
|
2320
|
+
type: "ephemeral";
|
|
2321
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2322
|
+
}, {
|
|
2323
|
+
type: "ephemeral";
|
|
2324
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2325
|
+
}>>;
|
|
2326
|
+
}, "strip", z.ZodTypeAny, {
|
|
2327
|
+
type: "input_audio";
|
|
2328
|
+
input_audio: {
|
|
2329
|
+
data: string;
|
|
2330
|
+
format: "wav" | "mp3";
|
|
2331
|
+
};
|
|
2332
|
+
cache_control?: {
|
|
2333
|
+
type: "ephemeral";
|
|
2334
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2335
|
+
} | undefined;
|
|
2336
|
+
}, {
|
|
2337
|
+
type: "input_audio";
|
|
2338
|
+
input_audio: {
|
|
2339
|
+
data: string;
|
|
2340
|
+
format: "wav" | "mp3";
|
|
2341
|
+
};
|
|
2342
|
+
cache_control?: {
|
|
2343
|
+
type: "ephemeral";
|
|
2344
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2345
|
+
} | undefined;
|
|
2098
2346
|
}>, z.ZodObject<{
|
|
2099
2347
|
file: z.ZodObject<{
|
|
2100
2348
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -2164,6 +2412,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
2164
2412
|
type: "ephemeral";
|
|
2165
2413
|
ttl?: "5m" | "1h" | undefined;
|
|
2166
2414
|
} | undefined;
|
|
2415
|
+
} | {
|
|
2416
|
+
type: "input_audio";
|
|
2417
|
+
input_audio: {
|
|
2418
|
+
data: string;
|
|
2419
|
+
format: "wav" | "mp3";
|
|
2420
|
+
};
|
|
2421
|
+
cache_control?: {
|
|
2422
|
+
type: "ephemeral";
|
|
2423
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2424
|
+
} | undefined;
|
|
2167
2425
|
} | {
|
|
2168
2426
|
type: "file";
|
|
2169
2427
|
file: {
|
|
@@ -2196,6 +2454,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
2196
2454
|
type: "ephemeral";
|
|
2197
2455
|
ttl?: "5m" | "1h" | undefined;
|
|
2198
2456
|
} | undefined;
|
|
2457
|
+
} | {
|
|
2458
|
+
type: "input_audio";
|
|
2459
|
+
input_audio: {
|
|
2460
|
+
data: string;
|
|
2461
|
+
format: "wav" | "mp3";
|
|
2462
|
+
};
|
|
2463
|
+
cache_control?: {
|
|
2464
|
+
type: "ephemeral";
|
|
2465
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2466
|
+
} | undefined;
|
|
2199
2467
|
} | {
|
|
2200
2468
|
type: "file";
|
|
2201
2469
|
file: {
|
|
@@ -2506,6 +2774,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
2506
2774
|
type: "ephemeral";
|
|
2507
2775
|
ttl?: "5m" | "1h" | undefined;
|
|
2508
2776
|
} | undefined;
|
|
2777
|
+
} | {
|
|
2778
|
+
type: "input_audio";
|
|
2779
|
+
input_audio: {
|
|
2780
|
+
data: string;
|
|
2781
|
+
format: "wav" | "mp3";
|
|
2782
|
+
};
|
|
2783
|
+
cache_control?: {
|
|
2784
|
+
type: "ephemeral";
|
|
2785
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2786
|
+
} | undefined;
|
|
2509
2787
|
} | {
|
|
2510
2788
|
type: "file";
|
|
2511
2789
|
file: {
|
|
@@ -2610,6 +2888,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
2610
2888
|
type: "ephemeral";
|
|
2611
2889
|
ttl?: "5m" | "1h" | undefined;
|
|
2612
2890
|
} | undefined;
|
|
2891
|
+
} | {
|
|
2892
|
+
type: "input_audio";
|
|
2893
|
+
input_audio: {
|
|
2894
|
+
data: string;
|
|
2895
|
+
format: "wav" | "mp3";
|
|
2896
|
+
};
|
|
2897
|
+
cache_control?: {
|
|
2898
|
+
type: "ephemeral";
|
|
2899
|
+
ttl?: "5m" | "1h" | undefined;
|
|
2900
|
+
} | undefined;
|
|
2613
2901
|
} | {
|
|
2614
2902
|
type: "file";
|
|
2615
2903
|
file: {
|
|
@@ -3569,6 +3857,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
3569
3857
|
type: "ephemeral";
|
|
3570
3858
|
ttl?: "5m" | "1h" | undefined;
|
|
3571
3859
|
} | undefined;
|
|
3860
|
+
} | {
|
|
3861
|
+
type: "input_audio";
|
|
3862
|
+
input_audio: {
|
|
3863
|
+
data: string;
|
|
3864
|
+
format: "wav" | "mp3";
|
|
3865
|
+
};
|
|
3866
|
+
cache_control?: {
|
|
3867
|
+
type: "ephemeral";
|
|
3868
|
+
ttl?: "5m" | "1h" | undefined;
|
|
3869
|
+
} | undefined;
|
|
3572
3870
|
} | {
|
|
3573
3871
|
type: "file";
|
|
3574
3872
|
file: {
|
|
@@ -3846,6 +4144,16 @@ declare const PromptData: z.ZodObject<{
|
|
|
3846
4144
|
type: "ephemeral";
|
|
3847
4145
|
ttl?: "5m" | "1h" | undefined;
|
|
3848
4146
|
} | undefined;
|
|
4147
|
+
} | {
|
|
4148
|
+
type: "input_audio";
|
|
4149
|
+
input_audio: {
|
|
4150
|
+
data: string;
|
|
4151
|
+
format: "wav" | "mp3";
|
|
4152
|
+
};
|
|
4153
|
+
cache_control?: {
|
|
4154
|
+
type: "ephemeral";
|
|
4155
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4156
|
+
} | undefined;
|
|
3849
4157
|
} | {
|
|
3850
4158
|
type: "file";
|
|
3851
4159
|
file: {
|
|
@@ -4137,6 +4445,48 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
4137
4445
|
type: "ephemeral";
|
|
4138
4446
|
ttl?: "5m" | "1h" | undefined;
|
|
4139
4447
|
} | undefined;
|
|
4448
|
+
}>, z.ZodObject<{
|
|
4449
|
+
input_audio: z.ZodObject<{
|
|
4450
|
+
data: z.ZodString;
|
|
4451
|
+
format: z.ZodEnum<["wav", "mp3"]>;
|
|
4452
|
+
}, "strip", z.ZodTypeAny, {
|
|
4453
|
+
data: string;
|
|
4454
|
+
format: "wav" | "mp3";
|
|
4455
|
+
}, {
|
|
4456
|
+
data: string;
|
|
4457
|
+
format: "wav" | "mp3";
|
|
4458
|
+
}>;
|
|
4459
|
+
type: z.ZodLiteral<"input_audio">;
|
|
4460
|
+
cache_control: z.ZodOptional<z.ZodObject<{
|
|
4461
|
+
type: z.ZodLiteral<"ephemeral">;
|
|
4462
|
+
ttl: z.ZodOptional<z.ZodEnum<["5m", "1h"]>>;
|
|
4463
|
+
}, "strip", z.ZodTypeAny, {
|
|
4464
|
+
type: "ephemeral";
|
|
4465
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4466
|
+
}, {
|
|
4467
|
+
type: "ephemeral";
|
|
4468
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4469
|
+
}>>;
|
|
4470
|
+
}, "strip", z.ZodTypeAny, {
|
|
4471
|
+
type: "input_audio";
|
|
4472
|
+
input_audio: {
|
|
4473
|
+
data: string;
|
|
4474
|
+
format: "wav" | "mp3";
|
|
4475
|
+
};
|
|
4476
|
+
cache_control?: {
|
|
4477
|
+
type: "ephemeral";
|
|
4478
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4479
|
+
} | undefined;
|
|
4480
|
+
}, {
|
|
4481
|
+
type: "input_audio";
|
|
4482
|
+
input_audio: {
|
|
4483
|
+
data: string;
|
|
4484
|
+
format: "wav" | "mp3";
|
|
4485
|
+
};
|
|
4486
|
+
cache_control?: {
|
|
4487
|
+
type: "ephemeral";
|
|
4488
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4489
|
+
} | undefined;
|
|
4140
4490
|
}>, z.ZodObject<{
|
|
4141
4491
|
file: z.ZodObject<{
|
|
4142
4492
|
file_data: z.ZodOptional<z.ZodString>;
|
|
@@ -4206,6 +4556,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
4206
4556
|
type: "ephemeral";
|
|
4207
4557
|
ttl?: "5m" | "1h" | undefined;
|
|
4208
4558
|
} | undefined;
|
|
4559
|
+
} | {
|
|
4560
|
+
type: "input_audio";
|
|
4561
|
+
input_audio: {
|
|
4562
|
+
data: string;
|
|
4563
|
+
format: "wav" | "mp3";
|
|
4564
|
+
};
|
|
4565
|
+
cache_control?: {
|
|
4566
|
+
type: "ephemeral";
|
|
4567
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4568
|
+
} | undefined;
|
|
4209
4569
|
} | {
|
|
4210
4570
|
type: "file";
|
|
4211
4571
|
file: {
|
|
@@ -4238,6 +4598,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
4238
4598
|
type: "ephemeral";
|
|
4239
4599
|
ttl?: "5m" | "1h" | undefined;
|
|
4240
4600
|
} | undefined;
|
|
4601
|
+
} | {
|
|
4602
|
+
type: "input_audio";
|
|
4603
|
+
input_audio: {
|
|
4604
|
+
data: string;
|
|
4605
|
+
format: "wav" | "mp3";
|
|
4606
|
+
};
|
|
4607
|
+
cache_control?: {
|
|
4608
|
+
type: "ephemeral";
|
|
4609
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4610
|
+
} | undefined;
|
|
4241
4611
|
} | {
|
|
4242
4612
|
type: "file";
|
|
4243
4613
|
file: {
|
|
@@ -4548,6 +4918,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
4548
4918
|
type: "ephemeral";
|
|
4549
4919
|
ttl?: "5m" | "1h" | undefined;
|
|
4550
4920
|
} | undefined;
|
|
4921
|
+
} | {
|
|
4922
|
+
type: "input_audio";
|
|
4923
|
+
input_audio: {
|
|
4924
|
+
data: string;
|
|
4925
|
+
format: "wav" | "mp3";
|
|
4926
|
+
};
|
|
4927
|
+
cache_control?: {
|
|
4928
|
+
type: "ephemeral";
|
|
4929
|
+
ttl?: "5m" | "1h" | undefined;
|
|
4930
|
+
} | undefined;
|
|
4551
4931
|
} | {
|
|
4552
4932
|
type: "file";
|
|
4553
4933
|
file: {
|
|
@@ -4652,6 +5032,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
4652
5032
|
type: "ephemeral";
|
|
4653
5033
|
ttl?: "5m" | "1h" | undefined;
|
|
4654
5034
|
} | undefined;
|
|
5035
|
+
} | {
|
|
5036
|
+
type: "input_audio";
|
|
5037
|
+
input_audio: {
|
|
5038
|
+
data: string;
|
|
5039
|
+
format: "wav" | "mp3";
|
|
5040
|
+
};
|
|
5041
|
+
cache_control?: {
|
|
5042
|
+
type: "ephemeral";
|
|
5043
|
+
ttl?: "5m" | "1h" | undefined;
|
|
5044
|
+
} | undefined;
|
|
4655
5045
|
} | {
|
|
4656
5046
|
type: "file";
|
|
4657
5047
|
file: {
|
|
@@ -5611,6 +6001,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
5611
6001
|
type: "ephemeral";
|
|
5612
6002
|
ttl?: "5m" | "1h" | undefined;
|
|
5613
6003
|
} | undefined;
|
|
6004
|
+
} | {
|
|
6005
|
+
type: "input_audio";
|
|
6006
|
+
input_audio: {
|
|
6007
|
+
data: string;
|
|
6008
|
+
format: "wav" | "mp3";
|
|
6009
|
+
};
|
|
6010
|
+
cache_control?: {
|
|
6011
|
+
type: "ephemeral";
|
|
6012
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6013
|
+
} | undefined;
|
|
5614
6014
|
} | {
|
|
5615
6015
|
type: "file";
|
|
5616
6016
|
file: {
|
|
@@ -5888,6 +6288,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
5888
6288
|
type: "ephemeral";
|
|
5889
6289
|
ttl?: "5m" | "1h" | undefined;
|
|
5890
6290
|
} | undefined;
|
|
6291
|
+
} | {
|
|
6292
|
+
type: "input_audio";
|
|
6293
|
+
input_audio: {
|
|
6294
|
+
data: string;
|
|
6295
|
+
format: "wav" | "mp3";
|
|
6296
|
+
};
|
|
6297
|
+
cache_control?: {
|
|
6298
|
+
type: "ephemeral";
|
|
6299
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6300
|
+
} | undefined;
|
|
5891
6301
|
} | {
|
|
5892
6302
|
type: "file";
|
|
5893
6303
|
file: {
|
|
@@ -6182,6 +6592,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
6182
6592
|
type: "ephemeral";
|
|
6183
6593
|
ttl?: "5m" | "1h" | undefined;
|
|
6184
6594
|
} | undefined;
|
|
6595
|
+
} | {
|
|
6596
|
+
type: "input_audio";
|
|
6597
|
+
input_audio: {
|
|
6598
|
+
data: string;
|
|
6599
|
+
format: "wav" | "mp3";
|
|
6600
|
+
};
|
|
6601
|
+
cache_control?: {
|
|
6602
|
+
type: "ephemeral";
|
|
6603
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6604
|
+
} | undefined;
|
|
6185
6605
|
} | {
|
|
6186
6606
|
type: "file";
|
|
6187
6607
|
file: {
|
|
@@ -6473,6 +6893,16 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
6473
6893
|
type: "ephemeral";
|
|
6474
6894
|
ttl?: "5m" | "1h" | undefined;
|
|
6475
6895
|
} | undefined;
|
|
6896
|
+
} | {
|
|
6897
|
+
type: "input_audio";
|
|
6898
|
+
input_audio: {
|
|
6899
|
+
data: string;
|
|
6900
|
+
format: "wav" | "mp3";
|
|
6901
|
+
};
|
|
6902
|
+
cache_control?: {
|
|
6903
|
+
type: "ephemeral";
|
|
6904
|
+
ttl?: "5m" | "1h" | undefined;
|
|
6905
|
+
} | undefined;
|
|
6476
6906
|
} | {
|
|
6477
6907
|
type: "file";
|
|
6478
6908
|
file: {
|
|
@@ -6888,6 +7318,7 @@ interface InstrumentationIntegrationsConfig {
|
|
|
6888
7318
|
aisdk?: boolean;
|
|
6889
7319
|
google?: boolean;
|
|
6890
7320
|
googleGenAI?: boolean;
|
|
7321
|
+
googleGenerativeAI?: boolean;
|
|
6891
7322
|
googleADK?: boolean;
|
|
6892
7323
|
huggingface?: boolean;
|
|
6893
7324
|
claudeAgentSDK?: boolean;
|
|
@@ -6917,6 +7348,7 @@ interface InstrumentationIntegrationsConfig {
|
|
|
6917
7348
|
langgraph?: boolean;
|
|
6918
7349
|
langsmith?: boolean;
|
|
6919
7350
|
voyageai?: boolean;
|
|
7351
|
+
elevenlabs?: boolean;
|
|
6920
7352
|
}
|
|
6921
7353
|
interface InstrumentationConfig {
|
|
6922
7354
|
/**
|
|
@@ -6958,6 +7390,7 @@ declare class BraintrustPlugin extends BasePlugin {
|
|
|
6958
7390
|
private cloudflareThinkPlugin;
|
|
6959
7391
|
private cursorSDKPlugin;
|
|
6960
7392
|
private openAIAgentsPlugin;
|
|
7393
|
+
private googleGenerativeAIPlugin;
|
|
6961
7394
|
private googleGenAIPlugin;
|
|
6962
7395
|
private huggingFacePlugin;
|
|
6963
7396
|
private huggingFaceTransformersPlugin;
|
|
@@ -6976,6 +7409,7 @@ declare class BraintrustPlugin extends BasePlugin {
|
|
|
6976
7409
|
private langSmithPlugin;
|
|
6977
7410
|
private piCodingAgentPlugin;
|
|
6978
7411
|
private strandsAgentSDKPlugin;
|
|
7412
|
+
private elevenLabsPlugin;
|
|
6979
7413
|
private voyageAIPlugin;
|
|
6980
7414
|
private cloudflareAIChatPlugin;
|
|
6981
7415
|
private cloudflareAgentsPlugin;
|