braintrust 3.10.0 → 3.11.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 +50 -2
- package/dev/dist/index.d.ts +50 -2
- package/dev/dist/index.js +10333 -8401
- package/dev/dist/index.mjs +6512 -4580
- package/dist/auto-instrumentations/bundler/esbuild.cjs +524 -5
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/rollup.cjs +524 -5
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +524 -5
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +475 -4
- package/dist/auto-instrumentations/bundler/webpack.cjs +524 -5
- package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
- package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-DIV5TO4S.mjs} +520 -5
- package/dist/auto-instrumentations/{chunk-XWEQQOQH.mjs → chunk-G6ZWXGZB.mjs} +12 -2
- package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
- package/dist/auto-instrumentations/hook.mjs +543 -8
- package/dist/auto-instrumentations/index.cjs +522 -4
- package/dist/auto-instrumentations/index.d.mts +14 -1
- package/dist/auto-instrumentations/index.d.ts +14 -1
- package/dist/auto-instrumentations/index.mjs +7 -1
- package/dist/auto-instrumentations/loader/cjs-patch.cjs +26 -1
- package/dist/auto-instrumentations/loader/cjs-patch.mjs +28 -1
- package/dist/auto-instrumentations/loader/esm-hook.mjs +16 -1
- package/dist/browser.d.mts +465 -264
- package/dist/browser.d.ts +465 -264
- package/dist/browser.js +10454 -8029
- package/dist/browser.mjs +10454 -8029
- package/dist/cli.js +6214 -4274
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +10454 -8029
- package/dist/edge-light.mjs +10454 -8029
- package/dist/index.d.mts +478 -277
- package/dist/index.d.ts +478 -277
- package/dist/index.js +6836 -4411
- package/dist/index.mjs +10454 -8029
- package/dist/instrumentation/index.d.mts +12 -0
- package/dist/instrumentation/index.d.ts +12 -0
- package/dist/instrumentation/index.js +6503 -4574
- package/dist/instrumentation/index.mjs +6503 -4574
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +10454 -8029
- package/dist/workerd.mjs +10454 -8029
- package/package.json +11 -17
package/dist/index.d.ts
CHANGED
|
@@ -267,10 +267,10 @@ declare const AttachmentStatus: z.ZodObject<{
|
|
|
267
267
|
upload_status: z.ZodEnum<["uploading", "done", "error"]>;
|
|
268
268
|
error_message: z.ZodOptional<z.ZodString>;
|
|
269
269
|
}, "strip", z.ZodTypeAny, {
|
|
270
|
-
upload_status: "
|
|
270
|
+
upload_status: "uploading" | "done" | "error";
|
|
271
271
|
error_message?: string | undefined;
|
|
272
272
|
}, {
|
|
273
|
-
upload_status: "
|
|
273
|
+
upload_status: "uploading" | "done" | "error";
|
|
274
274
|
error_message?: string | undefined;
|
|
275
275
|
}>;
|
|
276
276
|
type AttachmentStatusType = z.infer<typeof AttachmentStatus>;
|
|
@@ -619,6 +619,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
619
619
|
id?: string | undefined;
|
|
620
620
|
content?: string | undefined;
|
|
621
621
|
}>, "many">>;
|
|
622
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
622
623
|
}, "strip", z.ZodTypeAny, {
|
|
623
624
|
role: "assistant";
|
|
624
625
|
name?: string | undefined;
|
|
@@ -645,6 +646,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
645
646
|
id?: string | undefined;
|
|
646
647
|
content?: string | undefined;
|
|
647
648
|
}[] | undefined;
|
|
649
|
+
reasoning_signature?: string | undefined;
|
|
648
650
|
}, {
|
|
649
651
|
role: "assistant";
|
|
650
652
|
name?: string | undefined;
|
|
@@ -671,6 +673,7 @@ declare const ChatCompletionMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
671
673
|
id?: string | undefined;
|
|
672
674
|
content?: string | undefined;
|
|
673
675
|
}[] | undefined;
|
|
676
|
+
reasoning_signature?: string | undefined;
|
|
674
677
|
}>, z.ZodObject<{
|
|
675
678
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
676
679
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -1031,6 +1034,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1031
1034
|
id?: string | undefined;
|
|
1032
1035
|
content?: string | undefined;
|
|
1033
1036
|
}>, "many">>;
|
|
1037
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
1034
1038
|
}, "strip", z.ZodTypeAny, {
|
|
1035
1039
|
role: "assistant";
|
|
1036
1040
|
name?: string | undefined;
|
|
@@ -1057,6 +1061,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1057
1061
|
id?: string | undefined;
|
|
1058
1062
|
content?: string | undefined;
|
|
1059
1063
|
}[] | undefined;
|
|
1064
|
+
reasoning_signature?: string | undefined;
|
|
1060
1065
|
}, {
|
|
1061
1066
|
role: "assistant";
|
|
1062
1067
|
name?: string | undefined;
|
|
@@ -1083,6 +1088,7 @@ declare const ChatCompletionOpenAIMessageParam: z.ZodUnion<[z.ZodObject<{
|
|
|
1083
1088
|
id?: string | undefined;
|
|
1084
1089
|
content?: string | undefined;
|
|
1085
1090
|
}[] | undefined;
|
|
1091
|
+
reasoning_signature?: string | undefined;
|
|
1086
1092
|
}>, z.ZodObject<{
|
|
1087
1093
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1088
1094
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -1898,6 +1904,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1898
1904
|
id?: string | undefined;
|
|
1899
1905
|
content?: string | undefined;
|
|
1900
1906
|
}>, "many">>;
|
|
1907
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
1901
1908
|
}, "strip", z.ZodTypeAny, {
|
|
1902
1909
|
role: "assistant";
|
|
1903
1910
|
name?: string | undefined;
|
|
@@ -1924,6 +1931,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1924
1931
|
id?: string | undefined;
|
|
1925
1932
|
content?: string | undefined;
|
|
1926
1933
|
}[] | undefined;
|
|
1934
|
+
reasoning_signature?: string | undefined;
|
|
1927
1935
|
}, {
|
|
1928
1936
|
role: "assistant";
|
|
1929
1937
|
name?: string | undefined;
|
|
@@ -1950,6 +1958,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
1950
1958
|
id?: string | undefined;
|
|
1951
1959
|
content?: string | undefined;
|
|
1952
1960
|
}[] | undefined;
|
|
1961
|
+
reasoning_signature?: string | undefined;
|
|
1953
1962
|
}>, z.ZodObject<{
|
|
1954
1963
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
1955
1964
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -2126,6 +2135,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2126
2135
|
id?: string | undefined;
|
|
2127
2136
|
content?: string | undefined;
|
|
2128
2137
|
}[] | undefined;
|
|
2138
|
+
reasoning_signature?: string | undefined;
|
|
2129
2139
|
} | {
|
|
2130
2140
|
role: "tool";
|
|
2131
2141
|
content: string | {
|
|
@@ -2216,6 +2226,7 @@ declare const PromptBlockData: z.ZodUnion<[z.ZodObject<{
|
|
|
2216
2226
|
id?: string | undefined;
|
|
2217
2227
|
content?: string | undefined;
|
|
2218
2228
|
}[] | undefined;
|
|
2229
|
+
reasoning_signature?: string | undefined;
|
|
2219
2230
|
} | {
|
|
2220
2231
|
role: "tool";
|
|
2221
2232
|
content: string | {
|
|
@@ -2721,6 +2732,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
2721
2732
|
id?: string | undefined;
|
|
2722
2733
|
content?: string | undefined;
|
|
2723
2734
|
}>, "many">>;
|
|
2735
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
2724
2736
|
}, "strip", z.ZodTypeAny, {
|
|
2725
2737
|
role: "assistant";
|
|
2726
2738
|
name?: string | undefined;
|
|
@@ -2747,6 +2759,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
2747
2759
|
id?: string | undefined;
|
|
2748
2760
|
content?: string | undefined;
|
|
2749
2761
|
}[] | undefined;
|
|
2762
|
+
reasoning_signature?: string | undefined;
|
|
2750
2763
|
}, {
|
|
2751
2764
|
role: "assistant";
|
|
2752
2765
|
name?: string | undefined;
|
|
@@ -2773,6 +2786,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
2773
2786
|
id?: string | undefined;
|
|
2774
2787
|
content?: string | undefined;
|
|
2775
2788
|
}[] | undefined;
|
|
2789
|
+
reasoning_signature?: string | undefined;
|
|
2776
2790
|
}>, z.ZodObject<{
|
|
2777
2791
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
2778
2792
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -2949,6 +2963,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
2949
2963
|
id?: string | undefined;
|
|
2950
2964
|
content?: string | undefined;
|
|
2951
2965
|
}[] | undefined;
|
|
2966
|
+
reasoning_signature?: string | undefined;
|
|
2952
2967
|
} | {
|
|
2953
2968
|
role: "tool";
|
|
2954
2969
|
content: string | {
|
|
@@ -3039,6 +3054,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3039
3054
|
id?: string | undefined;
|
|
3040
3055
|
content?: string | undefined;
|
|
3041
3056
|
}[] | undefined;
|
|
3057
|
+
reasoning_signature?: string | undefined;
|
|
3042
3058
|
} | {
|
|
3043
3059
|
role: "tool";
|
|
3044
3060
|
content: string | {
|
|
@@ -3141,6 +3157,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3141
3157
|
id?: string | undefined;
|
|
3142
3158
|
content?: string | undefined;
|
|
3143
3159
|
}[] | undefined;
|
|
3160
|
+
reasoning_signature?: string | undefined;
|
|
3144
3161
|
} | {
|
|
3145
3162
|
role: "tool";
|
|
3146
3163
|
content: string | {
|
|
@@ -3242,6 +3259,7 @@ declare const GraphNode: z.ZodUnion<[z.ZodObject<{
|
|
|
3242
3259
|
id?: string | undefined;
|
|
3243
3260
|
content?: string | undefined;
|
|
3244
3261
|
}[] | undefined;
|
|
3262
|
+
reasoning_signature?: string | undefined;
|
|
3245
3263
|
} | {
|
|
3246
3264
|
role: "tool";
|
|
3247
3265
|
content: string | {
|
|
@@ -3793,6 +3811,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
3793
3811
|
id?: string | undefined;
|
|
3794
3812
|
content?: string | undefined;
|
|
3795
3813
|
}>, "many">>;
|
|
3814
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
3796
3815
|
}, "strip", z.ZodTypeAny, {
|
|
3797
3816
|
role: "assistant";
|
|
3798
3817
|
name?: string | undefined;
|
|
@@ -3819,6 +3838,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
3819
3838
|
id?: string | undefined;
|
|
3820
3839
|
content?: string | undefined;
|
|
3821
3840
|
}[] | undefined;
|
|
3841
|
+
reasoning_signature?: string | undefined;
|
|
3822
3842
|
}, {
|
|
3823
3843
|
role: "assistant";
|
|
3824
3844
|
name?: string | undefined;
|
|
@@ -3845,6 +3865,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
3845
3865
|
id?: string | undefined;
|
|
3846
3866
|
content?: string | undefined;
|
|
3847
3867
|
}[] | undefined;
|
|
3868
|
+
reasoning_signature?: string | undefined;
|
|
3848
3869
|
}>, z.ZodObject<{
|
|
3849
3870
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
3850
3871
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -4021,6 +4042,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4021
4042
|
id?: string | undefined;
|
|
4022
4043
|
content?: string | undefined;
|
|
4023
4044
|
}[] | undefined;
|
|
4045
|
+
reasoning_signature?: string | undefined;
|
|
4024
4046
|
} | {
|
|
4025
4047
|
role: "tool";
|
|
4026
4048
|
content: string | {
|
|
@@ -4111,6 +4133,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4111
4133
|
id?: string | undefined;
|
|
4112
4134
|
content?: string | undefined;
|
|
4113
4135
|
}[] | undefined;
|
|
4136
|
+
reasoning_signature?: string | undefined;
|
|
4114
4137
|
} | {
|
|
4115
4138
|
role: "tool";
|
|
4116
4139
|
content: string | {
|
|
@@ -4213,6 +4236,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4213
4236
|
id?: string | undefined;
|
|
4214
4237
|
content?: string | undefined;
|
|
4215
4238
|
}[] | undefined;
|
|
4239
|
+
reasoning_signature?: string | undefined;
|
|
4216
4240
|
} | {
|
|
4217
4241
|
role: "tool";
|
|
4218
4242
|
content: string | {
|
|
@@ -4314,6 +4338,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4314
4338
|
id?: string | undefined;
|
|
4315
4339
|
content?: string | undefined;
|
|
4316
4340
|
}[] | undefined;
|
|
4341
|
+
reasoning_signature?: string | undefined;
|
|
4317
4342
|
} | {
|
|
4318
4343
|
role: "tool";
|
|
4319
4344
|
content: string | {
|
|
@@ -4516,6 +4541,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4516
4541
|
id?: string | undefined;
|
|
4517
4542
|
content?: string | undefined;
|
|
4518
4543
|
}[] | undefined;
|
|
4544
|
+
reasoning_signature?: string | undefined;
|
|
4519
4545
|
} | {
|
|
4520
4546
|
role: "tool";
|
|
4521
4547
|
content: string | {
|
|
@@ -4686,6 +4712,7 @@ declare const GraphData: z.ZodObject<{
|
|
|
4686
4712
|
id?: string | undefined;
|
|
4687
4713
|
content?: string | undefined;
|
|
4688
4714
|
}[] | undefined;
|
|
4715
|
+
reasoning_signature?: string | undefined;
|
|
4689
4716
|
} | {
|
|
4690
4717
|
role: "tool";
|
|
4691
4718
|
content: string | {
|
|
@@ -5537,6 +5564,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5537
5564
|
id?: string | undefined;
|
|
5538
5565
|
content?: string | undefined;
|
|
5539
5566
|
}>, "many">>;
|
|
5567
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
5540
5568
|
}, "strip", z.ZodTypeAny, {
|
|
5541
5569
|
role: "assistant";
|
|
5542
5570
|
name?: string | undefined;
|
|
@@ -5563,6 +5591,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5563
5591
|
id?: string | undefined;
|
|
5564
5592
|
content?: string | undefined;
|
|
5565
5593
|
}[] | undefined;
|
|
5594
|
+
reasoning_signature?: string | undefined;
|
|
5566
5595
|
}, {
|
|
5567
5596
|
role: "assistant";
|
|
5568
5597
|
name?: string | undefined;
|
|
@@ -5589,6 +5618,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5589
5618
|
id?: string | undefined;
|
|
5590
5619
|
content?: string | undefined;
|
|
5591
5620
|
}[] | undefined;
|
|
5621
|
+
reasoning_signature?: string | undefined;
|
|
5592
5622
|
}>, z.ZodObject<{
|
|
5593
5623
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
5594
5624
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -5765,6 +5795,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5765
5795
|
id?: string | undefined;
|
|
5766
5796
|
content?: string | undefined;
|
|
5767
5797
|
}[] | undefined;
|
|
5798
|
+
reasoning_signature?: string | undefined;
|
|
5768
5799
|
} | {
|
|
5769
5800
|
role: "tool";
|
|
5770
5801
|
content: string | {
|
|
@@ -5855,6 +5886,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5855
5886
|
id?: string | undefined;
|
|
5856
5887
|
content?: string | undefined;
|
|
5857
5888
|
}[] | undefined;
|
|
5889
|
+
reasoning_signature?: string | undefined;
|
|
5858
5890
|
} | {
|
|
5859
5891
|
role: "tool";
|
|
5860
5892
|
content: string | {
|
|
@@ -5957,6 +5989,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
5957
5989
|
id?: string | undefined;
|
|
5958
5990
|
content?: string | undefined;
|
|
5959
5991
|
}[] | undefined;
|
|
5992
|
+
reasoning_signature?: string | undefined;
|
|
5960
5993
|
} | {
|
|
5961
5994
|
role: "tool";
|
|
5962
5995
|
content: string | {
|
|
@@ -6058,6 +6091,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6058
6091
|
id?: string | undefined;
|
|
6059
6092
|
content?: string | undefined;
|
|
6060
6093
|
}[] | undefined;
|
|
6094
|
+
reasoning_signature?: string | undefined;
|
|
6061
6095
|
} | {
|
|
6062
6096
|
role: "tool";
|
|
6063
6097
|
content: string | {
|
|
@@ -6260,6 +6294,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6260
6294
|
id?: string | undefined;
|
|
6261
6295
|
content?: string | undefined;
|
|
6262
6296
|
}[] | undefined;
|
|
6297
|
+
reasoning_signature?: string | undefined;
|
|
6263
6298
|
} | {
|
|
6264
6299
|
role: "tool";
|
|
6265
6300
|
content: string | {
|
|
@@ -6430,6 +6465,7 @@ declare const FunctionData: z.ZodUnion<[z.ZodObject<{
|
|
|
6430
6465
|
id?: string | undefined;
|
|
6431
6466
|
content?: string | undefined;
|
|
6432
6467
|
}[] | undefined;
|
|
6468
|
+
reasoning_signature?: string | undefined;
|
|
6433
6469
|
} | {
|
|
6434
6470
|
role: "tool";
|
|
6435
6471
|
content: string | {
|
|
@@ -7199,6 +7235,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
7199
7235
|
id?: string | undefined;
|
|
7200
7236
|
content?: string | undefined;
|
|
7201
7237
|
}>, "many">>;
|
|
7238
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
7202
7239
|
}, "strip", z.ZodTypeAny, {
|
|
7203
7240
|
role: "assistant";
|
|
7204
7241
|
name?: string | undefined;
|
|
@@ -7225,6 +7262,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
7225
7262
|
id?: string | undefined;
|
|
7226
7263
|
content?: string | undefined;
|
|
7227
7264
|
}[] | undefined;
|
|
7265
|
+
reasoning_signature?: string | undefined;
|
|
7228
7266
|
}, {
|
|
7229
7267
|
role: "assistant";
|
|
7230
7268
|
name?: string | undefined;
|
|
@@ -7251,6 +7289,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
7251
7289
|
id?: string | undefined;
|
|
7252
7290
|
content?: string | undefined;
|
|
7253
7291
|
}[] | undefined;
|
|
7292
|
+
reasoning_signature?: string | undefined;
|
|
7254
7293
|
}>, z.ZodObject<{
|
|
7255
7294
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
7256
7295
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -7427,6 +7466,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
7427
7466
|
id?: string | undefined;
|
|
7428
7467
|
content?: string | undefined;
|
|
7429
7468
|
}[] | undefined;
|
|
7469
|
+
reasoning_signature?: string | undefined;
|
|
7430
7470
|
} | {
|
|
7431
7471
|
role: "tool";
|
|
7432
7472
|
content: string | {
|
|
@@ -7517,6 +7557,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
7517
7557
|
id?: string | undefined;
|
|
7518
7558
|
content?: string | undefined;
|
|
7519
7559
|
}[] | undefined;
|
|
7560
|
+
reasoning_signature?: string | undefined;
|
|
7520
7561
|
} | {
|
|
7521
7562
|
role: "tool";
|
|
7522
7563
|
content: string | {
|
|
@@ -8421,6 +8462,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
8421
8462
|
id?: string | undefined;
|
|
8422
8463
|
content?: string | undefined;
|
|
8423
8464
|
}[] | undefined;
|
|
8465
|
+
reasoning_signature?: string | undefined;
|
|
8424
8466
|
} | {
|
|
8425
8467
|
role: "tool";
|
|
8426
8468
|
content: string | {
|
|
@@ -8670,6 +8712,7 @@ declare const PromptData: z.ZodObject<{
|
|
|
8670
8712
|
id?: string | undefined;
|
|
8671
8713
|
content?: string | undefined;
|
|
8672
8714
|
}[] | undefined;
|
|
8715
|
+
reasoning_signature?: string | undefined;
|
|
8673
8716
|
} | {
|
|
8674
8717
|
role: "tool";
|
|
8675
8718
|
content: string | {
|
|
@@ -9059,6 +9102,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
9059
9102
|
id?: string | undefined;
|
|
9060
9103
|
content?: string | undefined;
|
|
9061
9104
|
}>, "many">>;
|
|
9105
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
9062
9106
|
}, "strip", z.ZodTypeAny, {
|
|
9063
9107
|
role: "assistant";
|
|
9064
9108
|
name?: string | undefined;
|
|
@@ -9085,6 +9129,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
9085
9129
|
id?: string | undefined;
|
|
9086
9130
|
content?: string | undefined;
|
|
9087
9131
|
}[] | undefined;
|
|
9132
|
+
reasoning_signature?: string | undefined;
|
|
9088
9133
|
}, {
|
|
9089
9134
|
role: "assistant";
|
|
9090
9135
|
name?: string | undefined;
|
|
@@ -9111,6 +9156,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
9111
9156
|
id?: string | undefined;
|
|
9112
9157
|
content?: string | undefined;
|
|
9113
9158
|
}[] | undefined;
|
|
9159
|
+
reasoning_signature?: string | undefined;
|
|
9114
9160
|
}>, z.ZodObject<{
|
|
9115
9161
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
9116
9162
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -9287,6 +9333,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
9287
9333
|
id?: string | undefined;
|
|
9288
9334
|
content?: string | undefined;
|
|
9289
9335
|
}[] | undefined;
|
|
9336
|
+
reasoning_signature?: string | undefined;
|
|
9290
9337
|
} | {
|
|
9291
9338
|
role: "tool";
|
|
9292
9339
|
content: string | {
|
|
@@ -9377,6 +9424,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
9377
9424
|
id?: string | undefined;
|
|
9378
9425
|
content?: string | undefined;
|
|
9379
9426
|
}[] | undefined;
|
|
9427
|
+
reasoning_signature?: string | undefined;
|
|
9380
9428
|
} | {
|
|
9381
9429
|
role: "tool";
|
|
9382
9430
|
content: string | {
|
|
@@ -10281,6 +10329,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10281
10329
|
id?: string | undefined;
|
|
10282
10330
|
content?: string | undefined;
|
|
10283
10331
|
}[] | undefined;
|
|
10332
|
+
reasoning_signature?: string | undefined;
|
|
10284
10333
|
} | {
|
|
10285
10334
|
role: "tool";
|
|
10286
10335
|
content: string | {
|
|
@@ -10530,6 +10579,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10530
10579
|
id?: string | undefined;
|
|
10531
10580
|
content?: string | undefined;
|
|
10532
10581
|
}[] | undefined;
|
|
10582
|
+
reasoning_signature?: string | undefined;
|
|
10533
10583
|
} | {
|
|
10534
10584
|
role: "tool";
|
|
10535
10585
|
content: string | {
|
|
@@ -10789,6 +10839,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
10789
10839
|
id?: string | undefined;
|
|
10790
10840
|
content?: string | undefined;
|
|
10791
10841
|
}[] | undefined;
|
|
10842
|
+
reasoning_signature?: string | undefined;
|
|
10792
10843
|
} | {
|
|
10793
10844
|
role: "tool";
|
|
10794
10845
|
content: string | {
|
|
@@ -11045,6 +11096,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11045
11096
|
id?: string | undefined;
|
|
11046
11097
|
content?: string | undefined;
|
|
11047
11098
|
}[] | undefined;
|
|
11099
|
+
reasoning_signature?: string | undefined;
|
|
11048
11100
|
} | {
|
|
11049
11101
|
role: "tool";
|
|
11050
11102
|
content: string | {
|
|
@@ -11361,6 +11413,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11361
11413
|
id?: string | undefined;
|
|
11362
11414
|
content?: string | undefined;
|
|
11363
11415
|
}>, "many">>;
|
|
11416
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
11364
11417
|
}, "strip", z.ZodTypeAny, {
|
|
11365
11418
|
role: "assistant";
|
|
11366
11419
|
name?: string | undefined;
|
|
@@ -11387,6 +11440,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11387
11440
|
id?: string | undefined;
|
|
11388
11441
|
content?: string | undefined;
|
|
11389
11442
|
}[] | undefined;
|
|
11443
|
+
reasoning_signature?: string | undefined;
|
|
11390
11444
|
}, {
|
|
11391
11445
|
role: "assistant";
|
|
11392
11446
|
name?: string | undefined;
|
|
@@ -11413,6 +11467,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11413
11467
|
id?: string | undefined;
|
|
11414
11468
|
content?: string | undefined;
|
|
11415
11469
|
}[] | undefined;
|
|
11470
|
+
reasoning_signature?: string | undefined;
|
|
11416
11471
|
}>, z.ZodObject<{
|
|
11417
11472
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
11418
11473
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -11589,6 +11644,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11589
11644
|
id?: string | undefined;
|
|
11590
11645
|
content?: string | undefined;
|
|
11591
11646
|
}[] | undefined;
|
|
11647
|
+
reasoning_signature?: string | undefined;
|
|
11592
11648
|
} | {
|
|
11593
11649
|
role: "tool";
|
|
11594
11650
|
content: string | {
|
|
@@ -11679,6 +11735,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
11679
11735
|
id?: string | undefined;
|
|
11680
11736
|
content?: string | undefined;
|
|
11681
11737
|
}[] | undefined;
|
|
11738
|
+
reasoning_signature?: string | undefined;
|
|
11682
11739
|
} | {
|
|
11683
11740
|
role: "tool";
|
|
11684
11741
|
content: string | {
|
|
@@ -12583,6 +12640,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
12583
12640
|
id?: string | undefined;
|
|
12584
12641
|
content?: string | undefined;
|
|
12585
12642
|
}[] | undefined;
|
|
12643
|
+
reasoning_signature?: string | undefined;
|
|
12586
12644
|
} | {
|
|
12587
12645
|
role: "tool";
|
|
12588
12646
|
content: string | {
|
|
@@ -12832,6 +12890,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
12832
12890
|
id?: string | undefined;
|
|
12833
12891
|
content?: string | undefined;
|
|
12834
12892
|
}[] | undefined;
|
|
12893
|
+
reasoning_signature?: string | undefined;
|
|
12835
12894
|
} | {
|
|
12836
12895
|
role: "tool";
|
|
12837
12896
|
content: string | {
|
|
@@ -13086,6 +13145,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13086
13145
|
id?: string | undefined;
|
|
13087
13146
|
content?: string | undefined;
|
|
13088
13147
|
}[] | undefined;
|
|
13148
|
+
reasoning_signature?: string | undefined;
|
|
13089
13149
|
} | {
|
|
13090
13150
|
role: "tool";
|
|
13091
13151
|
content: string | {
|
|
@@ -13338,6 +13398,7 @@ declare const FunctionId: z.ZodUnion<[z.ZodObject<{
|
|
|
13338
13398
|
id?: string | undefined;
|
|
13339
13399
|
content?: string | undefined;
|
|
13340
13400
|
}[] | undefined;
|
|
13401
|
+
reasoning_signature?: string | undefined;
|
|
13341
13402
|
} | {
|
|
13342
13403
|
role: "tool";
|
|
13343
13404
|
content: string | {
|
|
@@ -13702,6 +13763,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
13702
13763
|
id?: string | undefined;
|
|
13703
13764
|
content?: string | undefined;
|
|
13704
13765
|
}>, "many">>;
|
|
13766
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
13705
13767
|
}, "strip", z.ZodTypeAny, {
|
|
13706
13768
|
role: "assistant";
|
|
13707
13769
|
name?: string | undefined;
|
|
@@ -13728,6 +13790,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
13728
13790
|
id?: string | undefined;
|
|
13729
13791
|
content?: string | undefined;
|
|
13730
13792
|
}[] | undefined;
|
|
13793
|
+
reasoning_signature?: string | undefined;
|
|
13731
13794
|
}, {
|
|
13732
13795
|
role: "assistant";
|
|
13733
13796
|
name?: string | undefined;
|
|
@@ -13754,6 +13817,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
13754
13817
|
id?: string | undefined;
|
|
13755
13818
|
content?: string | undefined;
|
|
13756
13819
|
}[] | undefined;
|
|
13820
|
+
reasoning_signature?: string | undefined;
|
|
13757
13821
|
}>, z.ZodObject<{
|
|
13758
13822
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
13759
13823
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -13930,6 +13994,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
13930
13994
|
id?: string | undefined;
|
|
13931
13995
|
content?: string | undefined;
|
|
13932
13996
|
}[] | undefined;
|
|
13997
|
+
reasoning_signature?: string | undefined;
|
|
13933
13998
|
} | {
|
|
13934
13999
|
role: "tool";
|
|
13935
14000
|
content: string | {
|
|
@@ -14020,6 +14085,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
14020
14085
|
id?: string | undefined;
|
|
14021
14086
|
content?: string | undefined;
|
|
14022
14087
|
}[] | undefined;
|
|
14088
|
+
reasoning_signature?: string | undefined;
|
|
14023
14089
|
} | {
|
|
14024
14090
|
role: "tool";
|
|
14025
14091
|
content: string | {
|
|
@@ -14924,6 +14990,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
14924
14990
|
id?: string | undefined;
|
|
14925
14991
|
content?: string | undefined;
|
|
14926
14992
|
}[] | undefined;
|
|
14993
|
+
reasoning_signature?: string | undefined;
|
|
14927
14994
|
} | {
|
|
14928
14995
|
role: "tool";
|
|
14929
14996
|
content: string | {
|
|
@@ -15173,6 +15240,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
15173
15240
|
id?: string | undefined;
|
|
15174
15241
|
content?: string | undefined;
|
|
15175
15242
|
}[] | undefined;
|
|
15243
|
+
reasoning_signature?: string | undefined;
|
|
15176
15244
|
} | {
|
|
15177
15245
|
role: "tool";
|
|
15178
15246
|
content: string | {
|
|
@@ -15439,6 +15507,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
15439
15507
|
id?: string | undefined;
|
|
15440
15508
|
content?: string | undefined;
|
|
15441
15509
|
}[] | undefined;
|
|
15510
|
+
reasoning_signature?: string | undefined;
|
|
15442
15511
|
} | {
|
|
15443
15512
|
role: "tool";
|
|
15444
15513
|
content: string | {
|
|
@@ -15702,6 +15771,7 @@ declare const Prompt$1: z.ZodObject<{
|
|
|
15702
15771
|
id?: string | undefined;
|
|
15703
15772
|
content?: string | undefined;
|
|
15704
15773
|
}[] | undefined;
|
|
15774
|
+
reasoning_signature?: string | undefined;
|
|
15705
15775
|
} | {
|
|
15706
15776
|
role: "tool";
|
|
15707
15777
|
content: string | {
|
|
@@ -15847,7 +15917,7 @@ declare const SSEProgressEventData: z.ZodObject<{
|
|
|
15847
15917
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
15848
15918
|
name: string;
|
|
15849
15919
|
data: string;
|
|
15850
|
-
event: "
|
|
15920
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
15851
15921
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
15852
15922
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
15853
15923
|
origin?: {
|
|
@@ -15862,7 +15932,7 @@ declare const SSEProgressEventData: z.ZodObject<{
|
|
|
15862
15932
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
15863
15933
|
name: string;
|
|
15864
15934
|
data: string;
|
|
15865
|
-
event: "
|
|
15935
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
15866
15936
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
15867
15937
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
15868
15938
|
origin?: {
|
|
@@ -17110,6 +17180,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
17110
17180
|
id?: string | undefined;
|
|
17111
17181
|
content?: string | undefined;
|
|
17112
17182
|
}>, "many">>;
|
|
17183
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
17113
17184
|
}, "strip", z.ZodTypeAny, {
|
|
17114
17185
|
role: "assistant";
|
|
17115
17186
|
name?: string | undefined;
|
|
@@ -17136,6 +17207,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
17136
17207
|
id?: string | undefined;
|
|
17137
17208
|
content?: string | undefined;
|
|
17138
17209
|
}[] | undefined;
|
|
17210
|
+
reasoning_signature?: string | undefined;
|
|
17139
17211
|
}, {
|
|
17140
17212
|
role: "assistant";
|
|
17141
17213
|
name?: string | undefined;
|
|
@@ -17162,6 +17234,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
17162
17234
|
id?: string | undefined;
|
|
17163
17235
|
content?: string | undefined;
|
|
17164
17236
|
}[] | undefined;
|
|
17237
|
+
reasoning_signature?: string | undefined;
|
|
17165
17238
|
}>, z.ZodObject<{
|
|
17166
17239
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
17167
17240
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -17336,6 +17409,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
17336
17409
|
id?: string | undefined;
|
|
17337
17410
|
content?: string | undefined;
|
|
17338
17411
|
}[] | undefined;
|
|
17412
|
+
reasoning_signature?: string | undefined;
|
|
17339
17413
|
} | {
|
|
17340
17414
|
role: "tool";
|
|
17341
17415
|
content: string | {
|
|
@@ -17424,6 +17498,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
17424
17498
|
id?: string | undefined;
|
|
17425
17499
|
content?: string | undefined;
|
|
17426
17500
|
}[] | undefined;
|
|
17501
|
+
reasoning_signature?: string | undefined;
|
|
17427
17502
|
} | {
|
|
17428
17503
|
role: "tool";
|
|
17429
17504
|
content: string | {
|
|
@@ -18170,6 +18245,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
18170
18245
|
id?: string | undefined;
|
|
18171
18246
|
content?: string | undefined;
|
|
18172
18247
|
}[] | undefined;
|
|
18248
|
+
reasoning_signature?: string | undefined;
|
|
18173
18249
|
} | {
|
|
18174
18250
|
role: "tool";
|
|
18175
18251
|
content: string | {
|
|
@@ -18395,6 +18471,7 @@ declare const evalParametersSchema: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodOb
|
|
|
18395
18471
|
id?: string | undefined;
|
|
18396
18472
|
content?: string | undefined;
|
|
18397
18473
|
}[] | undefined;
|
|
18474
|
+
reasoning_signature?: string | undefined;
|
|
18398
18475
|
} | {
|
|
18399
18476
|
role: "tool";
|
|
18400
18477
|
content: string | {
|
|
@@ -19147,7 +19224,7 @@ declare class Attachment extends BaseAttachment {
|
|
|
19147
19224
|
* @returns The attachment status.
|
|
19148
19225
|
*/
|
|
19149
19226
|
upload(): Promise<{
|
|
19150
|
-
upload_status: "
|
|
19227
|
+
upload_status: "uploading" | "done" | "error";
|
|
19151
19228
|
error_message?: string | undefined;
|
|
19152
19229
|
}>;
|
|
19153
19230
|
/**
|
|
@@ -19224,21 +19301,21 @@ declare const attachmentMetadataSchema: z.ZodObject<{
|
|
|
19224
19301
|
upload_status: z.ZodEnum<["uploading", "done", "error"]>;
|
|
19225
19302
|
error_message: z.ZodOptional<z.ZodString>;
|
|
19226
19303
|
}, "strip", z.ZodTypeAny, {
|
|
19227
|
-
upload_status: "
|
|
19304
|
+
upload_status: "uploading" | "done" | "error";
|
|
19228
19305
|
error_message?: string | undefined;
|
|
19229
19306
|
}, {
|
|
19230
|
-
upload_status: "
|
|
19307
|
+
upload_status: "uploading" | "done" | "error";
|
|
19231
19308
|
error_message?: string | undefined;
|
|
19232
19309
|
}>;
|
|
19233
19310
|
}, "strip", z.ZodTypeAny, {
|
|
19234
19311
|
status: {
|
|
19235
|
-
upload_status: "
|
|
19312
|
+
upload_status: "uploading" | "done" | "error";
|
|
19236
19313
|
error_message?: string | undefined;
|
|
19237
19314
|
};
|
|
19238
19315
|
downloadUrl: string;
|
|
19239
19316
|
}, {
|
|
19240
19317
|
status: {
|
|
19241
|
-
upload_status: "
|
|
19318
|
+
upload_status: "uploading" | "done" | "error";
|
|
19242
19319
|
error_message?: string | undefined;
|
|
19243
19320
|
};
|
|
19244
19321
|
downloadUrl: string;
|
|
@@ -20847,7 +20924,7 @@ declare const braintrustStreamChunkSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20847
20924
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
20848
20925
|
name: string;
|
|
20849
20926
|
data: string;
|
|
20850
|
-
event: "
|
|
20927
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
20851
20928
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
20852
20929
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
20853
20930
|
origin?: {
|
|
@@ -20862,7 +20939,7 @@ declare const braintrustStreamChunkSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20862
20939
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
20863
20940
|
name: string;
|
|
20864
20941
|
data: string;
|
|
20865
|
-
event: "
|
|
20942
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
20866
20943
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
20867
20944
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
20868
20945
|
origin?: {
|
|
@@ -20880,7 +20957,7 @@ declare const braintrustStreamChunkSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20880
20957
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
20881
20958
|
name: string;
|
|
20882
20959
|
data: string;
|
|
20883
|
-
event: "
|
|
20960
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
20884
20961
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
20885
20962
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
20886
20963
|
origin?: {
|
|
@@ -20898,7 +20975,7 @@ declare const braintrustStreamChunkSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
20898
20975
|
object_type: "prompt" | "scorer" | "task" | "tool" | "custom_view" | "preprocessor" | "facet" | "classifier" | "parameters" | "sandbox" | "workflow";
|
|
20899
20976
|
name: string;
|
|
20900
20977
|
data: string;
|
|
20901
|
-
event: "
|
|
20978
|
+
event: "done" | "error" | "text_delta" | "reasoning_delta" | "json_delta" | "progress" | "console" | "start";
|
|
20902
20979
|
format: "code" | "llm" | "global" | "topic_map" | "graph";
|
|
20903
20980
|
output_type: "facet" | "score" | "completion" | "classification" | "any";
|
|
20904
20981
|
origin?: {
|
|
@@ -21460,6 +21537,12 @@ declare function wrapMastraAgent<T>(agent: T, _options?: {
|
|
|
21460
21537
|
*/
|
|
21461
21538
|
declare function wrapClaudeAgentSDK<T extends object>(sdk: T): T;
|
|
21462
21539
|
|
|
21540
|
+
/**
|
|
21541
|
+
* Wraps the OpenAI Codex TypeScript SDK with Braintrust tracing. The wrapper
|
|
21542
|
+
* emits diagnostics-channel events; the OpenAI Codex plugin owns span lifecycle.
|
|
21543
|
+
*/
|
|
21544
|
+
declare function wrapOpenAICodexSDK<T>(sdk: T): T;
|
|
21545
|
+
|
|
21463
21546
|
/**
|
|
21464
21547
|
* Wraps the Cursor TypeScript SDK with Braintrust tracing. The wrapper emits
|
|
21465
21548
|
* diagnostics-channel events; the Cursor SDK plugin owns span lifecycle.
|
|
@@ -21517,6 +21600,16 @@ declare function wrapGoogleGenAI<T extends Record<string, any>>(googleGenAI: T):
|
|
|
21517
21600
|
*/
|
|
21518
21601
|
declare function wrapGoogleADK<T extends Record<string, any>>(adkModule: T): T;
|
|
21519
21602
|
|
|
21603
|
+
/**
|
|
21604
|
+
* Wrap a Genkit instance or module so Genkit calls emit diagnostics-channel
|
|
21605
|
+
* events that Braintrust plugins can consume.
|
|
21606
|
+
*
|
|
21607
|
+
* This supports both:
|
|
21608
|
+
* - `const ai = wrapGenkit(genkit({ ... }))`
|
|
21609
|
+
* - wrapping the module namespace and then calling its `genkit` factory
|
|
21610
|
+
*/
|
|
21611
|
+
declare function wrapGenkit<T>(genkit: T): T;
|
|
21612
|
+
|
|
21520
21613
|
interface HuggingFaceRequestOptions {
|
|
21521
21614
|
retry_on_error?: boolean;
|
|
21522
21615
|
fetch?: typeof fetch;
|
|
@@ -21685,6 +21778,28 @@ declare function wrapCohere<T>(cohere: T): T;
|
|
|
21685
21778
|
*/
|
|
21686
21779
|
declare function wrapGroq<T extends object>(groq: T): T;
|
|
21687
21780
|
|
|
21781
|
+
/**
|
|
21782
|
+
* Wrap a CopilotClient instance (created with `new CopilotClient(...)`) with
|
|
21783
|
+
* Braintrust tracing.
|
|
21784
|
+
*
|
|
21785
|
+
* The wrapper intercepts `createSession` and `resumeSession` so that the same
|
|
21786
|
+
* plugin logic used by auto-instrumentation applies — session spans, turn
|
|
21787
|
+
* spans, LLM spans with token metrics, and tool spans are all produced.
|
|
21788
|
+
*
|
|
21789
|
+
* @example
|
|
21790
|
+
* ```ts
|
|
21791
|
+
* import { CopilotClient, approveAll } from "@github/copilot-sdk";
|
|
21792
|
+
* import { wrapCopilotClient } from "braintrust";
|
|
21793
|
+
*
|
|
21794
|
+
* const client = wrapCopilotClient(new CopilotClient());
|
|
21795
|
+
* const session = await client.createSession({
|
|
21796
|
+
* model: "gpt-4.1",
|
|
21797
|
+
* onPermissionRequest: approveAll,
|
|
21798
|
+
* });
|
|
21799
|
+
* ```
|
|
21800
|
+
*/
|
|
21801
|
+
declare function wrapCopilotClient<T extends object>(client: T): T;
|
|
21802
|
+
|
|
21688
21803
|
type ScorerFunction<Output = unknown> = (args: {
|
|
21689
21804
|
output: Output;
|
|
21690
21805
|
expected?: unknown;
|
|
@@ -21792,6 +21907,11 @@ interface BraintrustVitest<VitestContext = unknown, ExpectType extends (...args:
|
|
|
21792
21907
|
}
|
|
21793
21908
|
interface WrapperConfig {
|
|
21794
21909
|
projectName?: string;
|
|
21910
|
+
/**
|
|
21911
|
+
* The id of the project to create experiments in. Takes precedence over
|
|
21912
|
+
* `projectName` if both are set.
|
|
21913
|
+
*/
|
|
21914
|
+
projectId?: string;
|
|
21795
21915
|
/**
|
|
21796
21916
|
* If true, displays a formatted experiment summary with scores and URL after the test suite completes.
|
|
21797
21917
|
* Defaults to true. Set to false to suppress the summary output.
|
|
@@ -22442,6 +22562,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22442
22562
|
id?: string | undefined;
|
|
22443
22563
|
content?: string | undefined;
|
|
22444
22564
|
}>, "many">>;
|
|
22565
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
22445
22566
|
}, "strip", z.ZodTypeAny, {
|
|
22446
22567
|
role: "assistant";
|
|
22447
22568
|
name?: string | undefined;
|
|
@@ -22468,6 +22589,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22468
22589
|
id?: string | undefined;
|
|
22469
22590
|
content?: string | undefined;
|
|
22470
22591
|
}[] | undefined;
|
|
22592
|
+
reasoning_signature?: string | undefined;
|
|
22471
22593
|
}, {
|
|
22472
22594
|
role: "assistant";
|
|
22473
22595
|
name?: string | undefined;
|
|
@@ -22494,6 +22616,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22494
22616
|
id?: string | undefined;
|
|
22495
22617
|
content?: string | undefined;
|
|
22496
22618
|
}[] | undefined;
|
|
22619
|
+
reasoning_signature?: string | undefined;
|
|
22497
22620
|
}>, z.ZodObject<{
|
|
22498
22621
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
22499
22622
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -22668,6 +22791,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22668
22791
|
id?: string | undefined;
|
|
22669
22792
|
content?: string | undefined;
|
|
22670
22793
|
}[] | undefined;
|
|
22794
|
+
reasoning_signature?: string | undefined;
|
|
22671
22795
|
} | {
|
|
22672
22796
|
role: "tool";
|
|
22673
22797
|
content: string | {
|
|
@@ -22756,6 +22880,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22756
22880
|
id?: string | undefined;
|
|
22757
22881
|
content?: string | undefined;
|
|
22758
22882
|
}[] | undefined;
|
|
22883
|
+
reasoning_signature?: string | undefined;
|
|
22759
22884
|
} | {
|
|
22760
22885
|
role: "tool";
|
|
22761
22886
|
content: string | {
|
|
@@ -23038,6 +23163,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23038
23163
|
id?: string | undefined;
|
|
23039
23164
|
content?: string | undefined;
|
|
23040
23165
|
}>, "many">>;
|
|
23166
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
23041
23167
|
}, "strip", z.ZodTypeAny, {
|
|
23042
23168
|
role: "assistant";
|
|
23043
23169
|
name?: string | undefined;
|
|
@@ -23064,6 +23190,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23064
23190
|
id?: string | undefined;
|
|
23065
23191
|
content?: string | undefined;
|
|
23066
23192
|
}[] | undefined;
|
|
23193
|
+
reasoning_signature?: string | undefined;
|
|
23067
23194
|
}, {
|
|
23068
23195
|
role: "assistant";
|
|
23069
23196
|
name?: string | undefined;
|
|
@@ -23090,6 +23217,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23090
23217
|
id?: string | undefined;
|
|
23091
23218
|
content?: string | undefined;
|
|
23092
23219
|
}[] | undefined;
|
|
23220
|
+
reasoning_signature?: string | undefined;
|
|
23093
23221
|
}>, z.ZodObject<{
|
|
23094
23222
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
23095
23223
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -23264,6 +23392,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23264
23392
|
id?: string | undefined;
|
|
23265
23393
|
content?: string | undefined;
|
|
23266
23394
|
}[] | undefined;
|
|
23395
|
+
reasoning_signature?: string | undefined;
|
|
23267
23396
|
} | {
|
|
23268
23397
|
role: "tool";
|
|
23269
23398
|
content: string | {
|
|
@@ -23352,6 +23481,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23352
23481
|
id?: string | undefined;
|
|
23353
23482
|
content?: string | undefined;
|
|
23354
23483
|
}[] | undefined;
|
|
23484
|
+
reasoning_signature?: string | undefined;
|
|
23355
23485
|
} | {
|
|
23356
23486
|
role: "tool";
|
|
23357
23487
|
content: string | {
|
|
@@ -24229,6 +24359,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24229
24359
|
id?: string | undefined;
|
|
24230
24360
|
content?: string | undefined;
|
|
24231
24361
|
}>, "many">>;
|
|
24362
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
24232
24363
|
}, "strip", z.ZodTypeAny, {
|
|
24233
24364
|
role: "assistant";
|
|
24234
24365
|
name?: string | undefined;
|
|
@@ -24255,6 +24386,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24255
24386
|
id?: string | undefined;
|
|
24256
24387
|
content?: string | undefined;
|
|
24257
24388
|
}[] | undefined;
|
|
24389
|
+
reasoning_signature?: string | undefined;
|
|
24258
24390
|
}, {
|
|
24259
24391
|
role: "assistant";
|
|
24260
24392
|
name?: string | undefined;
|
|
@@ -24281,6 +24413,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24281
24413
|
id?: string | undefined;
|
|
24282
24414
|
content?: string | undefined;
|
|
24283
24415
|
}[] | undefined;
|
|
24416
|
+
reasoning_signature?: string | undefined;
|
|
24284
24417
|
}>, z.ZodObject<{
|
|
24285
24418
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
24286
24419
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -24455,6 +24588,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24455
24588
|
id?: string | undefined;
|
|
24456
24589
|
content?: string | undefined;
|
|
24457
24590
|
}[] | undefined;
|
|
24591
|
+
reasoning_signature?: string | undefined;
|
|
24458
24592
|
} | {
|
|
24459
24593
|
role: "tool";
|
|
24460
24594
|
content: string | {
|
|
@@ -24543,6 +24677,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24543
24677
|
id?: string | undefined;
|
|
24544
24678
|
content?: string | undefined;
|
|
24545
24679
|
}[] | undefined;
|
|
24680
|
+
reasoning_signature?: string | undefined;
|
|
24546
24681
|
} | {
|
|
24547
24682
|
role: "tool";
|
|
24548
24683
|
content: string | {
|
|
@@ -25477,6 +25612,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25477
25612
|
id?: string | undefined;
|
|
25478
25613
|
content?: string | undefined;
|
|
25479
25614
|
}>, "many">>;
|
|
25615
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
25480
25616
|
}, "strip", z.ZodTypeAny, {
|
|
25481
25617
|
role: "assistant";
|
|
25482
25618
|
name?: string | undefined;
|
|
@@ -25503,6 +25639,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25503
25639
|
id?: string | undefined;
|
|
25504
25640
|
content?: string | undefined;
|
|
25505
25641
|
}[] | undefined;
|
|
25642
|
+
reasoning_signature?: string | undefined;
|
|
25506
25643
|
}, {
|
|
25507
25644
|
role: "assistant";
|
|
25508
25645
|
name?: string | undefined;
|
|
@@ -25529,6 +25666,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25529
25666
|
id?: string | undefined;
|
|
25530
25667
|
content?: string | undefined;
|
|
25531
25668
|
}[] | undefined;
|
|
25669
|
+
reasoning_signature?: string | undefined;
|
|
25532
25670
|
}>, z.ZodObject<{
|
|
25533
25671
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
25534
25672
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -25705,6 +25843,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25705
25843
|
id?: string | undefined;
|
|
25706
25844
|
content?: string | undefined;
|
|
25707
25845
|
}[] | undefined;
|
|
25846
|
+
reasoning_signature?: string | undefined;
|
|
25708
25847
|
} | {
|
|
25709
25848
|
role: "tool";
|
|
25710
25849
|
content: string | {
|
|
@@ -25795,6 +25934,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25795
25934
|
id?: string | undefined;
|
|
25796
25935
|
content?: string | undefined;
|
|
25797
25936
|
}[] | undefined;
|
|
25937
|
+
reasoning_signature?: string | undefined;
|
|
25798
25938
|
} | {
|
|
25799
25939
|
role: "tool";
|
|
25800
25940
|
content: string | {
|
|
@@ -26699,6 +26839,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
26699
26839
|
id?: string | undefined;
|
|
26700
26840
|
content?: string | undefined;
|
|
26701
26841
|
}[] | undefined;
|
|
26842
|
+
reasoning_signature?: string | undefined;
|
|
26702
26843
|
} | {
|
|
26703
26844
|
role: "tool";
|
|
26704
26845
|
content: string | {
|
|
@@ -26948,6 +27089,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
26948
27089
|
id?: string | undefined;
|
|
26949
27090
|
content?: string | undefined;
|
|
26950
27091
|
}[] | undefined;
|
|
27092
|
+
reasoning_signature?: string | undefined;
|
|
26951
27093
|
} | {
|
|
26952
27094
|
role: "tool";
|
|
26953
27095
|
content: string | {
|
|
@@ -27202,6 +27344,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
27202
27344
|
id?: string | undefined;
|
|
27203
27345
|
content?: string | undefined;
|
|
27204
27346
|
}[] | undefined;
|
|
27347
|
+
reasoning_signature?: string | undefined;
|
|
27205
27348
|
} | {
|
|
27206
27349
|
role: "tool";
|
|
27207
27350
|
content: string | {
|
|
@@ -27455,6 +27598,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
27455
27598
|
id?: string | undefined;
|
|
27456
27599
|
content?: string | undefined;
|
|
27457
27600
|
}[] | undefined;
|
|
27601
|
+
reasoning_signature?: string | undefined;
|
|
27458
27602
|
} | {
|
|
27459
27603
|
role: "tool";
|
|
27460
27604
|
content: string | {
|
|
@@ -27891,6 +28035,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27891
28035
|
id?: string | undefined;
|
|
27892
28036
|
content?: string | undefined;
|
|
27893
28037
|
}>, "many">>;
|
|
28038
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
27894
28039
|
}, "strip", z.ZodTypeAny, {
|
|
27895
28040
|
role: "assistant";
|
|
27896
28041
|
name?: string | undefined;
|
|
@@ -27917,6 +28062,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27917
28062
|
id?: string | undefined;
|
|
27918
28063
|
content?: string | undefined;
|
|
27919
28064
|
}[] | undefined;
|
|
28065
|
+
reasoning_signature?: string | undefined;
|
|
27920
28066
|
}, {
|
|
27921
28067
|
role: "assistant";
|
|
27922
28068
|
name?: string | undefined;
|
|
@@ -27943,6 +28089,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27943
28089
|
id?: string | undefined;
|
|
27944
28090
|
content?: string | undefined;
|
|
27945
28091
|
}[] | undefined;
|
|
28092
|
+
reasoning_signature?: string | undefined;
|
|
27946
28093
|
}>, z.ZodObject<{
|
|
27947
28094
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
27948
28095
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -28119,6 +28266,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
28119
28266
|
id?: string | undefined;
|
|
28120
28267
|
content?: string | undefined;
|
|
28121
28268
|
}[] | undefined;
|
|
28269
|
+
reasoning_signature?: string | undefined;
|
|
28122
28270
|
} | {
|
|
28123
28271
|
role: "tool";
|
|
28124
28272
|
content: string | {
|
|
@@ -28209,6 +28357,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
28209
28357
|
id?: string | undefined;
|
|
28210
28358
|
content?: string | undefined;
|
|
28211
28359
|
}[] | undefined;
|
|
28360
|
+
reasoning_signature?: string | undefined;
|
|
28212
28361
|
} | {
|
|
28213
28362
|
role: "tool";
|
|
28214
28363
|
content: string | {
|
|
@@ -29113,6 +29262,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29113
29262
|
id?: string | undefined;
|
|
29114
29263
|
content?: string | undefined;
|
|
29115
29264
|
}[] | undefined;
|
|
29265
|
+
reasoning_signature?: string | undefined;
|
|
29116
29266
|
} | {
|
|
29117
29267
|
role: "tool";
|
|
29118
29268
|
content: string | {
|
|
@@ -29362,6 +29512,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29362
29512
|
id?: string | undefined;
|
|
29363
29513
|
content?: string | undefined;
|
|
29364
29514
|
}[] | undefined;
|
|
29515
|
+
reasoning_signature?: string | undefined;
|
|
29365
29516
|
} | {
|
|
29366
29517
|
role: "tool";
|
|
29367
29518
|
content: string | {
|
|
@@ -29616,6 +29767,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29616
29767
|
id?: string | undefined;
|
|
29617
29768
|
content?: string | undefined;
|
|
29618
29769
|
}[] | undefined;
|
|
29770
|
+
reasoning_signature?: string | undefined;
|
|
29619
29771
|
} | {
|
|
29620
29772
|
role: "tool";
|
|
29621
29773
|
content: string | {
|
|
@@ -29869,6 +30021,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29869
30021
|
id?: string | undefined;
|
|
29870
30022
|
content?: string | undefined;
|
|
29871
30023
|
}[] | undefined;
|
|
30024
|
+
reasoning_signature?: string | undefined;
|
|
29872
30025
|
} | {
|
|
29873
30026
|
role: "tool";
|
|
29874
30027
|
content: string | {
|
|
@@ -30153,6 +30306,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30153
30306
|
id?: string | undefined;
|
|
30154
30307
|
content?: string | undefined;
|
|
30155
30308
|
}[] | undefined;
|
|
30309
|
+
reasoning_signature?: string | undefined;
|
|
30156
30310
|
} | {
|
|
30157
30311
|
role: "tool";
|
|
30158
30312
|
content: string | {
|
|
@@ -30419,6 +30573,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30419
30573
|
id?: string | undefined;
|
|
30420
30574
|
content?: string | undefined;
|
|
30421
30575
|
}[] | undefined;
|
|
30576
|
+
reasoning_signature?: string | undefined;
|
|
30422
30577
|
} | {
|
|
30423
30578
|
role: "tool";
|
|
30424
30579
|
content: string | {
|
|
@@ -30747,6 +30902,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30747
30902
|
id?: string | undefined;
|
|
30748
30903
|
content?: string | undefined;
|
|
30749
30904
|
}>, "many">>;
|
|
30905
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
30750
30906
|
}, "strip", z.ZodTypeAny, {
|
|
30751
30907
|
role: "assistant";
|
|
30752
30908
|
name?: string | undefined;
|
|
@@ -30773,6 +30929,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30773
30929
|
id?: string | undefined;
|
|
30774
30930
|
content?: string | undefined;
|
|
30775
30931
|
}[] | undefined;
|
|
30932
|
+
reasoning_signature?: string | undefined;
|
|
30776
30933
|
}, {
|
|
30777
30934
|
role: "assistant";
|
|
30778
30935
|
name?: string | undefined;
|
|
@@ -30799,6 +30956,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30799
30956
|
id?: string | undefined;
|
|
30800
30957
|
content?: string | undefined;
|
|
30801
30958
|
}[] | undefined;
|
|
30959
|
+
reasoning_signature?: string | undefined;
|
|
30802
30960
|
}>, z.ZodObject<{
|
|
30803
30961
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
30804
30962
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -30975,6 +31133,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30975
31133
|
id?: string | undefined;
|
|
30976
31134
|
content?: string | undefined;
|
|
30977
31135
|
}[] | undefined;
|
|
31136
|
+
reasoning_signature?: string | undefined;
|
|
30978
31137
|
} | {
|
|
30979
31138
|
role: "tool";
|
|
30980
31139
|
content: string | {
|
|
@@ -31065,6 +31224,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
31065
31224
|
id?: string | undefined;
|
|
31066
31225
|
content?: string | undefined;
|
|
31067
31226
|
}[] | undefined;
|
|
31227
|
+
reasoning_signature?: string | undefined;
|
|
31068
31228
|
} | {
|
|
31069
31229
|
role: "tool";
|
|
31070
31230
|
content: string | {
|
|
@@ -31969,6 +32129,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
31969
32129
|
id?: string | undefined;
|
|
31970
32130
|
content?: string | undefined;
|
|
31971
32131
|
}[] | undefined;
|
|
32132
|
+
reasoning_signature?: string | undefined;
|
|
31972
32133
|
} | {
|
|
31973
32134
|
role: "tool";
|
|
31974
32135
|
content: string | {
|
|
@@ -32218,6 +32379,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32218
32379
|
id?: string | undefined;
|
|
32219
32380
|
content?: string | undefined;
|
|
32220
32381
|
}[] | undefined;
|
|
32382
|
+
reasoning_signature?: string | undefined;
|
|
32221
32383
|
} | {
|
|
32222
32384
|
role: "tool";
|
|
32223
32385
|
content: string | {
|
|
@@ -32472,6 +32634,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32472
32634
|
id?: string | undefined;
|
|
32473
32635
|
content?: string | undefined;
|
|
32474
32636
|
}[] | undefined;
|
|
32637
|
+
reasoning_signature?: string | undefined;
|
|
32475
32638
|
} | {
|
|
32476
32639
|
role: "tool";
|
|
32477
32640
|
content: string | {
|
|
@@ -32725,6 +32888,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32725
32888
|
id?: string | undefined;
|
|
32726
32889
|
content?: string | undefined;
|
|
32727
32890
|
}[] | undefined;
|
|
32891
|
+
reasoning_signature?: string | undefined;
|
|
32728
32892
|
} | {
|
|
32729
32893
|
role: "tool";
|
|
32730
32894
|
content: string | {
|
|
@@ -33021,6 +33185,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33021
33185
|
id?: string | undefined;
|
|
33022
33186
|
content?: string | undefined;
|
|
33023
33187
|
}[] | undefined;
|
|
33188
|
+
reasoning_signature?: string | undefined;
|
|
33024
33189
|
} | {
|
|
33025
33190
|
role: "tool";
|
|
33026
33191
|
content: string | {
|
|
@@ -33300,6 +33465,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33300
33465
|
id?: string | undefined;
|
|
33301
33466
|
content?: string | undefined;
|
|
33302
33467
|
}[] | undefined;
|
|
33468
|
+
reasoning_signature?: string | undefined;
|
|
33303
33469
|
} | {
|
|
33304
33470
|
role: "tool";
|
|
33305
33471
|
content: string | {
|
|
@@ -33572,6 +33738,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33572
33738
|
id?: string | undefined;
|
|
33573
33739
|
content?: string | undefined;
|
|
33574
33740
|
}[] | undefined;
|
|
33741
|
+
reasoning_signature?: string | undefined;
|
|
33575
33742
|
} | {
|
|
33576
33743
|
role: "tool";
|
|
33577
33744
|
content: string | {
|
|
@@ -33851,6 +34018,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33851
34018
|
id?: string | undefined;
|
|
33852
34019
|
content?: string | undefined;
|
|
33853
34020
|
}[] | undefined;
|
|
34021
|
+
reasoning_signature?: string | undefined;
|
|
33854
34022
|
} | {
|
|
33855
34023
|
role: "tool";
|
|
33856
34024
|
content: string | {
|
|
@@ -34258,6 +34426,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34258
34426
|
id?: string | undefined;
|
|
34259
34427
|
content?: string | undefined;
|
|
34260
34428
|
}>, "many">>;
|
|
34429
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
34261
34430
|
}, "strip", z.ZodTypeAny, {
|
|
34262
34431
|
role: "assistant";
|
|
34263
34432
|
name?: string | undefined;
|
|
@@ -34284,6 +34453,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34284
34453
|
id?: string | undefined;
|
|
34285
34454
|
content?: string | undefined;
|
|
34286
34455
|
}[] | undefined;
|
|
34456
|
+
reasoning_signature?: string | undefined;
|
|
34287
34457
|
}, {
|
|
34288
34458
|
role: "assistant";
|
|
34289
34459
|
name?: string | undefined;
|
|
@@ -34310,6 +34480,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34310
34480
|
id?: string | undefined;
|
|
34311
34481
|
content?: string | undefined;
|
|
34312
34482
|
}[] | undefined;
|
|
34483
|
+
reasoning_signature?: string | undefined;
|
|
34313
34484
|
}>, z.ZodObject<{
|
|
34314
34485
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
34315
34486
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -34486,6 +34657,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34486
34657
|
id?: string | undefined;
|
|
34487
34658
|
content?: string | undefined;
|
|
34488
34659
|
}[] | undefined;
|
|
34660
|
+
reasoning_signature?: string | undefined;
|
|
34489
34661
|
} | {
|
|
34490
34662
|
role: "tool";
|
|
34491
34663
|
content: string | {
|
|
@@ -34576,6 +34748,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34576
34748
|
id?: string | undefined;
|
|
34577
34749
|
content?: string | undefined;
|
|
34578
34750
|
}[] | undefined;
|
|
34751
|
+
reasoning_signature?: string | undefined;
|
|
34579
34752
|
} | {
|
|
34580
34753
|
role: "tool";
|
|
34581
34754
|
content: string | {
|
|
@@ -35480,6 +35653,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35480
35653
|
id?: string | undefined;
|
|
35481
35654
|
content?: string | undefined;
|
|
35482
35655
|
}[] | undefined;
|
|
35656
|
+
reasoning_signature?: string | undefined;
|
|
35483
35657
|
} | {
|
|
35484
35658
|
role: "tool";
|
|
35485
35659
|
content: string | {
|
|
@@ -35729,6 +35903,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35729
35903
|
id?: string | undefined;
|
|
35730
35904
|
content?: string | undefined;
|
|
35731
35905
|
}[] | undefined;
|
|
35906
|
+
reasoning_signature?: string | undefined;
|
|
35732
35907
|
} | {
|
|
35733
35908
|
role: "tool";
|
|
35734
35909
|
content: string | {
|
|
@@ -35983,6 +36158,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35983
36158
|
id?: string | undefined;
|
|
35984
36159
|
content?: string | undefined;
|
|
35985
36160
|
}[] | undefined;
|
|
36161
|
+
reasoning_signature?: string | undefined;
|
|
35986
36162
|
} | {
|
|
35987
36163
|
role: "tool";
|
|
35988
36164
|
content: string | {
|
|
@@ -36236,6 +36412,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36236
36412
|
id?: string | undefined;
|
|
36237
36413
|
content?: string | undefined;
|
|
36238
36414
|
}[] | undefined;
|
|
36415
|
+
reasoning_signature?: string | undefined;
|
|
36239
36416
|
} | {
|
|
36240
36417
|
role: "tool";
|
|
36241
36418
|
content: string | {
|
|
@@ -36520,6 +36697,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36520
36697
|
id?: string | undefined;
|
|
36521
36698
|
content?: string | undefined;
|
|
36522
36699
|
}[] | undefined;
|
|
36700
|
+
reasoning_signature?: string | undefined;
|
|
36523
36701
|
} | {
|
|
36524
36702
|
role: "tool";
|
|
36525
36703
|
content: string | {
|
|
@@ -36786,6 +36964,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36786
36964
|
id?: string | undefined;
|
|
36787
36965
|
content?: string | undefined;
|
|
36788
36966
|
}[] | undefined;
|
|
36967
|
+
reasoning_signature?: string | undefined;
|
|
36789
36968
|
} | {
|
|
36790
36969
|
role: "tool";
|
|
36791
36970
|
content: string | {
|
|
@@ -37114,6 +37293,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37114
37293
|
id?: string | undefined;
|
|
37115
37294
|
content?: string | undefined;
|
|
37116
37295
|
}>, "many">>;
|
|
37296
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
37117
37297
|
}, "strip", z.ZodTypeAny, {
|
|
37118
37298
|
role: "assistant";
|
|
37119
37299
|
name?: string | undefined;
|
|
@@ -37140,6 +37320,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37140
37320
|
id?: string | undefined;
|
|
37141
37321
|
content?: string | undefined;
|
|
37142
37322
|
}[] | undefined;
|
|
37323
|
+
reasoning_signature?: string | undefined;
|
|
37143
37324
|
}, {
|
|
37144
37325
|
role: "assistant";
|
|
37145
37326
|
name?: string | undefined;
|
|
@@ -37166,6 +37347,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37166
37347
|
id?: string | undefined;
|
|
37167
37348
|
content?: string | undefined;
|
|
37168
37349
|
}[] | undefined;
|
|
37350
|
+
reasoning_signature?: string | undefined;
|
|
37169
37351
|
}>, z.ZodObject<{
|
|
37170
37352
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
37171
37353
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -37342,6 +37524,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37342
37524
|
id?: string | undefined;
|
|
37343
37525
|
content?: string | undefined;
|
|
37344
37526
|
}[] | undefined;
|
|
37527
|
+
reasoning_signature?: string | undefined;
|
|
37345
37528
|
} | {
|
|
37346
37529
|
role: "tool";
|
|
37347
37530
|
content: string | {
|
|
@@ -37432,6 +37615,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37432
37615
|
id?: string | undefined;
|
|
37433
37616
|
content?: string | undefined;
|
|
37434
37617
|
}[] | undefined;
|
|
37618
|
+
reasoning_signature?: string | undefined;
|
|
37435
37619
|
} | {
|
|
37436
37620
|
role: "tool";
|
|
37437
37621
|
content: string | {
|
|
@@ -38336,6 +38520,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38336
38520
|
id?: string | undefined;
|
|
38337
38521
|
content?: string | undefined;
|
|
38338
38522
|
}[] | undefined;
|
|
38523
|
+
reasoning_signature?: string | undefined;
|
|
38339
38524
|
} | {
|
|
38340
38525
|
role: "tool";
|
|
38341
38526
|
content: string | {
|
|
@@ -38585,6 +38770,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38585
38770
|
id?: string | undefined;
|
|
38586
38771
|
content?: string | undefined;
|
|
38587
38772
|
}[] | undefined;
|
|
38773
|
+
reasoning_signature?: string | undefined;
|
|
38588
38774
|
} | {
|
|
38589
38775
|
role: "tool";
|
|
38590
38776
|
content: string | {
|
|
@@ -38839,6 +39025,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38839
39025
|
id?: string | undefined;
|
|
38840
39026
|
content?: string | undefined;
|
|
38841
39027
|
}[] | undefined;
|
|
39028
|
+
reasoning_signature?: string | undefined;
|
|
38842
39029
|
} | {
|
|
38843
39030
|
role: "tool";
|
|
38844
39031
|
content: string | {
|
|
@@ -39092,6 +39279,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39092
39279
|
id?: string | undefined;
|
|
39093
39280
|
content?: string | undefined;
|
|
39094
39281
|
}[] | undefined;
|
|
39282
|
+
reasoning_signature?: string | undefined;
|
|
39095
39283
|
} | {
|
|
39096
39284
|
role: "tool";
|
|
39097
39285
|
content: string | {
|
|
@@ -39388,6 +39576,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39388
39576
|
id?: string | undefined;
|
|
39389
39577
|
content?: string | undefined;
|
|
39390
39578
|
}[] | undefined;
|
|
39579
|
+
reasoning_signature?: string | undefined;
|
|
39391
39580
|
} | {
|
|
39392
39581
|
role: "tool";
|
|
39393
39582
|
content: string | {
|
|
@@ -39667,6 +39856,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39667
39856
|
id?: string | undefined;
|
|
39668
39857
|
content?: string | undefined;
|
|
39669
39858
|
}[] | undefined;
|
|
39859
|
+
reasoning_signature?: string | undefined;
|
|
39670
39860
|
} | {
|
|
39671
39861
|
role: "tool";
|
|
39672
39862
|
content: string | {
|
|
@@ -39939,6 +40129,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39939
40129
|
id?: string | undefined;
|
|
39940
40130
|
content?: string | undefined;
|
|
39941
40131
|
}[] | undefined;
|
|
40132
|
+
reasoning_signature?: string | undefined;
|
|
39942
40133
|
} | {
|
|
39943
40134
|
role: "tool";
|
|
39944
40135
|
content: string | {
|
|
@@ -40218,6 +40409,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
40218
40409
|
id?: string | undefined;
|
|
40219
40410
|
content?: string | undefined;
|
|
40220
40411
|
}[] | undefined;
|
|
40412
|
+
reasoning_signature?: string | undefined;
|
|
40221
40413
|
} | {
|
|
40222
40414
|
role: "tool";
|
|
40223
40415
|
content: string | {
|
|
@@ -40878,6 +41070,8 @@ interface InstrumentationConfig {
|
|
|
40878
41070
|
vercel?: boolean;
|
|
40879
41071
|
aisdk?: boolean;
|
|
40880
41072
|
google?: boolean;
|
|
41073
|
+
googleGenAI?: boolean;
|
|
41074
|
+
googleADK?: boolean;
|
|
40881
41075
|
huggingface?: boolean;
|
|
40882
41076
|
claudeAgentSDK?: boolean;
|
|
40883
41077
|
cursor?: boolean;
|
|
@@ -40886,6 +41080,10 @@ interface InstrumentationConfig {
|
|
|
40886
41080
|
openrouterAgent?: boolean;
|
|
40887
41081
|
mistral?: boolean;
|
|
40888
41082
|
cohere?: boolean;
|
|
41083
|
+
groq?: boolean;
|
|
41084
|
+
genkit?: boolean;
|
|
41085
|
+
gitHubCopilot?: boolean;
|
|
41086
|
+
openaiCodexSDK?: boolean;
|
|
40889
41087
|
};
|
|
40890
41088
|
}
|
|
40891
41089
|
/**
|
|
@@ -40917,269 +41115,272 @@ interface InstrumentationConfig {
|
|
|
40917
41115
|
*/
|
|
40918
41116
|
declare function configureInstrumentation(config: InstrumentationConfig): void;
|
|
40919
41117
|
|
|
40920
|
-
type
|
|
40921
|
-
type
|
|
40922
|
-
declare const
|
|
40923
|
-
type
|
|
40924
|
-
declare const
|
|
40925
|
-
declare const
|
|
40926
|
-
type
|
|
40927
|
-
type
|
|
40928
|
-
declare const
|
|
40929
|
-
declare const
|
|
40930
|
-
type
|
|
40931
|
-
declare const
|
|
40932
|
-
type
|
|
40933
|
-
declare const
|
|
40934
|
-
type
|
|
40935
|
-
declare const
|
|
40936
|
-
type
|
|
40937
|
-
type
|
|
40938
|
-
declare const
|
|
40939
|
-
type
|
|
40940
|
-
type
|
|
40941
|
-
declare const
|
|
40942
|
-
type
|
|
40943
|
-
type
|
|
40944
|
-
declare const
|
|
40945
|
-
type
|
|
40946
|
-
type
|
|
40947
|
-
type
|
|
40948
|
-
type
|
|
40949
|
-
type
|
|
40950
|
-
declare const
|
|
40951
|
-
type
|
|
40952
|
-
type
|
|
40953
|
-
type
|
|
40954
|
-
declare const
|
|
40955
|
-
declare const
|
|
40956
|
-
type
|
|
40957
|
-
type
|
|
40958
|
-
declare const
|
|
40959
|
-
type
|
|
40960
|
-
type
|
|
40961
|
-
type
|
|
40962
|
-
type
|
|
40963
|
-
type
|
|
40964
|
-
type
|
|
40965
|
-
declare const
|
|
40966
|
-
type
|
|
40967
|
-
declare const
|
|
40968
|
-
type
|
|
40969
|
-
type
|
|
40970
|
-
type
|
|
40971
|
-
type
|
|
40972
|
-
type
|
|
40973
|
-
type
|
|
40974
|
-
type
|
|
40975
|
-
declare const
|
|
40976
|
-
type
|
|
40977
|
-
type
|
|
40978
|
-
type
|
|
40979
|
-
type
|
|
40980
|
-
type
|
|
40981
|
-
type
|
|
40982
|
-
type
|
|
40983
|
-
type
|
|
40984
|
-
type
|
|
40985
|
-
type
|
|
40986
|
-
declare const
|
|
40987
|
-
type
|
|
40988
|
-
type
|
|
40989
|
-
type
|
|
40990
|
-
type
|
|
40991
|
-
type
|
|
40992
|
-
declare const
|
|
40993
|
-
type
|
|
40994
|
-
type
|
|
40995
|
-
declare const
|
|
40996
|
-
type
|
|
40997
|
-
type
|
|
40998
|
-
type
|
|
40999
|
-
type
|
|
41000
|
-
type
|
|
41001
|
-
type
|
|
41002
|
-
declare const
|
|
41003
|
-
type
|
|
41004
|
-
type
|
|
41005
|
-
type
|
|
41006
|
-
type
|
|
41007
|
-
type
|
|
41008
|
-
type
|
|
41009
|
-
type
|
|
41010
|
-
type
|
|
41011
|
-
type
|
|
41012
|
-
declare const
|
|
41013
|
-
declare const
|
|
41014
|
-
declare const
|
|
41015
|
-
type
|
|
41016
|
-
declare const
|
|
41017
|
-
type
|
|
41018
|
-
type
|
|
41019
|
-
type
|
|
41020
|
-
type
|
|
41021
|
-
type
|
|
41022
|
-
declare const
|
|
41023
|
-
type
|
|
41024
|
-
declare const
|
|
41025
|
-
type
|
|
41026
|
-
type
|
|
41027
|
-
type
|
|
41028
|
-
type
|
|
41029
|
-
declare const
|
|
41030
|
-
declare const
|
|
41031
|
-
type
|
|
41032
|
-
declare const
|
|
41033
|
-
type
|
|
41034
|
-
declare const
|
|
41035
|
-
type
|
|
41036
|
-
type
|
|
41037
|
-
type
|
|
41038
|
-
type
|
|
41039
|
-
type
|
|
41040
|
-
type
|
|
41041
|
-
declare const
|
|
41042
|
-
type
|
|
41043
|
-
declare const
|
|
41044
|
-
type
|
|
41045
|
-
type
|
|
41046
|
-
declare const
|
|
41047
|
-
type
|
|
41048
|
-
declare const
|
|
41049
|
-
type
|
|
41050
|
-
type
|
|
41051
|
-
type
|
|
41052
|
-
type
|
|
41053
|
-
type
|
|
41054
|
-
type
|
|
41055
|
-
declare const
|
|
41056
|
-
type
|
|
41057
|
-
declare const
|
|
41058
|
-
type
|
|
41059
|
-
type
|
|
41060
|
-
declare const
|
|
41061
|
-
type
|
|
41062
|
-
type
|
|
41063
|
-
type
|
|
41064
|
-
type
|
|
41065
|
-
declare const
|
|
41066
|
-
type
|
|
41067
|
-
type
|
|
41068
|
-
type
|
|
41069
|
-
type
|
|
41070
|
-
type
|
|
41071
|
-
type
|
|
41072
|
-
type
|
|
41073
|
-
declare const
|
|
41074
|
-
type
|
|
41075
|
-
declare const
|
|
41076
|
-
type
|
|
41077
|
-
type
|
|
41078
|
-
type
|
|
41079
|
-
type
|
|
41080
|
-
type
|
|
41081
|
-
declare const
|
|
41082
|
-
type
|
|
41083
|
-
declare const
|
|
41084
|
-
type
|
|
41085
|
-
type
|
|
41086
|
-
declare const
|
|
41087
|
-
type
|
|
41088
|
-
declare const
|
|
41089
|
-
declare const
|
|
41090
|
-
declare const
|
|
41091
|
-
declare const
|
|
41092
|
-
declare const
|
|
41093
|
-
declare const
|
|
41094
|
-
declare const
|
|
41095
|
-
declare const
|
|
41096
|
-
declare const
|
|
41097
|
-
declare const
|
|
41098
|
-
declare const
|
|
41099
|
-
declare const
|
|
41100
|
-
declare const
|
|
41101
|
-
declare const
|
|
41102
|
-
declare const
|
|
41103
|
-
declare const
|
|
41104
|
-
declare const
|
|
41105
|
-
declare const
|
|
41106
|
-
declare const
|
|
41107
|
-
declare const
|
|
41108
|
-
declare const
|
|
41109
|
-
declare const
|
|
41110
|
-
declare const
|
|
41111
|
-
declare const
|
|
41112
|
-
declare const
|
|
41113
|
-
declare const
|
|
41114
|
-
declare const
|
|
41115
|
-
declare const
|
|
41116
|
-
declare const
|
|
41117
|
-
declare const
|
|
41118
|
-
declare const
|
|
41119
|
-
declare const
|
|
41120
|
-
declare const
|
|
41121
|
-
declare const
|
|
41122
|
-
declare const
|
|
41123
|
-
declare const
|
|
41124
|
-
declare const
|
|
41125
|
-
declare const
|
|
41126
|
-
declare const
|
|
41127
|
-
declare const
|
|
41128
|
-
declare const
|
|
41129
|
-
declare const
|
|
41130
|
-
declare const
|
|
41131
|
-
declare const
|
|
41132
|
-
declare const
|
|
41133
|
-
declare const
|
|
41134
|
-
declare const
|
|
41135
|
-
declare const
|
|
41136
|
-
declare const
|
|
41137
|
-
declare const
|
|
41138
|
-
declare const
|
|
41139
|
-
declare const
|
|
41140
|
-
declare const
|
|
41141
|
-
declare const
|
|
41142
|
-
declare const
|
|
41143
|
-
declare const
|
|
41144
|
-
declare const
|
|
41145
|
-
declare const
|
|
41146
|
-
declare const
|
|
41147
|
-
declare const
|
|
41148
|
-
declare const
|
|
41149
|
-
declare const
|
|
41150
|
-
declare const
|
|
41151
|
-
declare const
|
|
41152
|
-
declare const
|
|
41153
|
-
declare const
|
|
41154
|
-
declare const
|
|
41155
|
-
declare const
|
|
41156
|
-
declare const
|
|
41157
|
-
declare const
|
|
41158
|
-
declare const
|
|
41159
|
-
declare const
|
|
41160
|
-
declare const
|
|
41161
|
-
declare const
|
|
41162
|
-
declare const
|
|
41163
|
-
declare const
|
|
41164
|
-
declare const
|
|
41165
|
-
declare const
|
|
41166
|
-
declare const
|
|
41167
|
-
declare const
|
|
41168
|
-
declare const
|
|
41169
|
-
declare const
|
|
41170
|
-
declare const
|
|
41171
|
-
declare const
|
|
41172
|
-
declare const
|
|
41173
|
-
declare const
|
|
41174
|
-
declare const
|
|
41175
|
-
declare const
|
|
41176
|
-
declare const
|
|
41177
|
-
declare const
|
|
41178
|
-
declare const
|
|
41179
|
-
declare const
|
|
41180
|
-
declare const
|
|
41181
|
-
declare
|
|
41182
|
-
export { type exports_AnyDataset as AnyDataset, exports_Attachment as Attachment, type exports_AttachmentParams as AttachmentParams, exports_AttachmentReference as AttachmentReference, exports_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, type exports_BackgroundLoggerOpts as BackgroundLoggerOpts, exports_BaseAttachment as BaseAttachment, exports_BaseExperiment as BaseExperiment, type exports_BaseMetadata as BaseMetadata, exports_BraintrustMiddleware as BraintrustMiddleware, exports_BraintrustState as BraintrustState, exports_BraintrustStream as BraintrustStream, type exports_BraintrustStreamChunk as BraintrustStreamChunk, exports_CachedSpanFetcher as CachedSpanFetcher, type exports_ChatPrompt as ChatPrompt, exports_CodeFunction as CodeFunction, type exports_CodeOpts as CodeOpts, exports_CodePrompt as CodePrompt, type exports_CommentEvent as CommentEvent, type exports_CompiledPrompt as CompiledPrompt, type exports_CompiledPromptParams as CompiledPromptParams, type exports_CompletionPrompt as CompletionPrompt, exports_ContextManager as ContextManager, type exports_ContextParentSpanIds as ContextParentSpanIds, type exports_CreateProjectOpts as CreateProjectOpts, type exports_CurrentSpanStore as CurrentSpanStore, exports_DEFAULT_FETCH_BATCH_SIZE as DEFAULT_FETCH_BATCH_SIZE, exports_DEFAULT_MAX_REQUEST_SIZE as DEFAULT_MAX_REQUEST_SIZE, type exports_DataSummary as DataSummary, exports_Dataset as Dataset, type exports_DatasetRecord as DatasetRecord, type exports_DatasetRestorePreviewResult as DatasetRestorePreviewResult, type exports_DatasetRestoreResult as DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type exports_DatasetSummary as DatasetSummary, type exports_DefaultMetadataType as DefaultMetadataType, type exports_DefaultPromptArgs as DefaultPromptArgs, exports_ERR_PERMALINK as ERR_PERMALINK, type exports_EndSpanArgs as EndSpanArgs, exports_Eval as Eval, type exports_EvalCase as EvalCase, type exports_EvalClassifier as EvalClassifier, type exports_EvalHooks as EvalHooks, type exports_EvalParameterSerializedSchema as EvalParameterSerializedSchema, type exports_EvalParameters as EvalParameters, type exports_EvalResult as EvalResult, exports_EvalResultWithSummary as EvalResultWithSummary, type exports_EvalScorer as EvalScorer, type exports_EvalScorerArgs as EvalScorerArgs, type exports_EvalTask as EvalTask, type exports_Evaluator as Evaluator, type exports_EvaluatorDef as EvaluatorDef, type exports_EvaluatorDefinition as EvaluatorDefinition, type exports_EvaluatorDefinitions as EvaluatorDefinitions, type exports_EvaluatorFile as EvaluatorFile, type exports_EvaluatorManifest as EvaluatorManifest, exports_Experiment as Experiment, type exports_ExperimentLogFullArgs as ExperimentLogFullArgs, type exports_ExperimentLogPartialArgs as ExperimentLogPartialArgs, type exports_ExperimentSummary as ExperimentSummary, type exports_Exportable as Exportable, exports_ExternalAttachment as ExternalAttachment, type exports_ExternalAttachmentParams as ExternalAttachmentParams, exports_FailedHTTPResponse as FailedHTTPResponse, type exports_FullInitDatasetOptions as FullInitDatasetOptions, type exports_FullInitOptions as FullInitOptions, type exports_FullLoginOptions as FullLoginOptions, type exports_FunctionEvent as FunctionEvent, type exports_GetThreadOptions as GetThreadOptions, exports_IDGenerator as IDGenerator, type exports_IdField as IdField, type exports_InitDatasetOptions as InitDatasetOptions, type exports_InitLoggerOptions as InitLoggerOptions, type exports_InitOptions as InitOptions, type exports_InputField as InputField, type exports_InstrumentationConfig as InstrumentationConfig, type exports_InvokeFunctionArgs as InvokeFunctionArgs, type exports_InvokeReturn as InvokeReturn, exports_JSONAttachment as JSONAttachment, exports_LEGACY_CACHED_HEADER as LEGACY_CACHED_HEADER, exports_LOGS3_OVERFLOW_REFERENCE_TYPE as LOGS3_OVERFLOW_REFERENCE_TYPE, exports_LazyValue as LazyValue, type exports_LoadPromptOptions as LoadPromptOptions, type exports_LogCommentFullArgs as LogCommentFullArgs, type exports_LogFeedbackFullArgs as LogFeedbackFullArgs, type exports_LogOptions as LogOptions, exports_Logger as Logger, exports_LoginInvalidOrgError as LoginInvalidOrgError, type exports_LoginOptions as LoginOptions, type exports_Logs3OverflowInputRow as Logs3OverflowInputRow, type exports_Logs3OverflowUpload as Logs3OverflowUpload, type exports_MetricSummary as MetricSummary, exports_NOOP_SPAN as NOOP_SPAN, exports_NOOP_SPAN_PERMALINK as NOOP_SPAN_PERMALINK, exports_NoopSpan as NoopSpan, exports_ObjectFetcher as ObjectFetcher, type exports_ObjectMetadata as ObjectMetadata, type exports_OtherExperimentLogFields as OtherExperimentLogFields, type exports_ParametersSource as ParametersSource, type exports_ParentExperimentIds as ParentExperimentIds, type exports_ParentProjectLogIds as ParentProjectLogIds, exports_Project as Project, exports_ProjectNameIdMap as ProjectNameIdMap, type exports_PromiseUnless as PromiseUnless, exports_Prompt as Prompt, exports_PromptBuilder as PromptBuilder, type exports_PromptContents as PromptContents, type exports_PromptDefinition as PromptDefinition, type exports_PromptDefinitionWithTools as PromptDefinitionWithTools, type exports_PromptOpts as PromptOpts, type exports_PromptRowWithId as PromptRowWithId, exports_ReadonlyAttachment as ReadonlyAttachment, exports_ReadonlyExperiment as ReadonlyExperiment, type exports_RegisterSandboxOptions as RegisterSandboxOptions, type exports_RegisterSandboxResult as RegisterSandboxResult, exports_Reporter as Reporter, type exports_ReporterBody as ReporterBody, type exports_SandboxConfig as SandboxConfig, type exports_ScoreSummary as ScoreSummary, exports_ScorerBuilder as ScorerBuilder, type exports_ScorerOpts as ScorerOpts, type exports_SerializedBraintrustState as SerializedBraintrustState, type exports_SetCurrentArg as SetCurrentArg, type exports_Span as Span, type exports_SpanContext as SpanContext, type exports_SpanData as SpanData, exports_SpanFetcher as SpanFetcher, exports_SpanImpl as SpanImpl, type exports_StartSpanArgs as StartSpanArgs, type exports_TemplateFormat as TemplateFormat, type exports_TemplateRenderer as TemplateRenderer, type exports_TemplateRendererPlugin as TemplateRendererPlugin, exports_TestBackgroundLogger as TestBackgroundLogger, exports_ToolBuilder as ToolBuilder, type exports_Trace as Trace, exports_UUIDGenerator as UUIDGenerator, type exports_WithTransactionId as WithTransactionId, exports_X_CACHED_HEADER as X_CACHED_HEADER, exports__exportsForTestingOnly as _exportsForTestingOnly, exports__internalGetGlobalState as _internalGetGlobalState, iso as _internalIso, exports__internalSetInitialState as _internalSetInitialState, exports_addAzureBlobHeaders as addAzureBlobHeaders, exports_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports_buildLocalSummary as buildLocalSummary, exports_configureInstrumentation as configureInstrumentation, exports_constructLogs3OverflowRequest as constructLogs3OverflowRequest, exports_createFinalValuePassThroughStream as createFinalValuePassThroughStream, exports_currentExperiment as currentExperiment, exports_currentLogger as currentLogger, exports_currentSpan as currentSpan, exports_deepCopyEvent as deepCopyEvent, exports_defaultErrorScoreHandler as defaultErrorScoreHandler, exports_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports_devNullWritableStream as devNullWritableStream, exports_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, exports_flush as flush, exports_getContextManager as getContextManager, exports_getIdGenerator as getIdGenerator, exports_getPromptVersions as getPromptVersions, exports_getSpanParentObject as getSpanParentObject, exports_getTemplateRenderer as getTemplateRenderer, graphFramework as graph, exports_init as init, exports_initDataset as initDataset, exports_initExperiment as initExperiment, exports_initFunction as initFunction, exports_initLogger as initLogger, exports_initNodeTestSuite as initNodeTestSuite, exports_invoke as invoke, exports_isTemplateFormat as isTemplateFormat, exports_loadParameters as loadParameters, exports_loadPrompt as loadPrompt, exports_log as log, exports_logError as logError, exports_login as login, exports_loginToState as loginToState, exports_logs3OverflowUploadSchema as logs3OverflowUploadSchema, exports_newId as newId, exports_parseCachedHeader as parseCachedHeader, exports_parseTemplateFormat as parseTemplateFormat, exports_permalink as permalink, exports_pickLogs3OverflowObjectIds as pickLogs3OverflowObjectIds, exports_projects as projects, exports_promptContentsSchema as promptContentsSchema, exports_promptDefinitionSchema as promptDefinitionSchema, exports_promptDefinitionToPromptData as promptDefinitionToPromptData, exports_promptDefinitionWithToolsSchema as promptDefinitionWithToolsSchema, exports_registerOtelFlush as registerOtelFlush, exports_registerSandbox as registerSandbox, exports_registerTemplatePlugin as registerTemplatePlugin, exports_renderMessage as renderMessage, exports_renderPromptParams as renderPromptParams, exports_renderTemplateContent as renderTemplateContent, exports_reportFailures as reportFailures, exports_runEvaluator as runEvaluator, exports_setFetch as setFetch, exports_setMaskingFunction as setMaskingFunction, exports_spanComponentsToObjectId as spanComponentsToObjectId, exports_startSpan as startSpan, exports_summarize as summarize, exports_templateRegistry as templateRegistry, ToolFunctionDefinition as toolFunctionDefinitionSchema, exports_traceable as traceable, exports_traced as traced, exports_updateSpan as updateSpan, exports_uploadLogs3OverflowPayload as uploadLogs3OverflowPayload, exports_utf8ByteLength as utf8ByteLength, exports_withCurrent as withCurrent, exports_withDataset as withDataset, exports_withExperiment as withExperiment, exports_withLogger as withLogger, exports_withParent as withParent, exports_wrapAISDK as wrapAISDK, exports_wrapAISDKModel as wrapAISDKModel, exports_wrapAgentClass as wrapAgentClass, exports_wrapAnthropic as wrapAnthropic, exports_wrapClaudeAgentSDK as wrapClaudeAgentSDK, exports_wrapCohere as wrapCohere, exports_wrapCursorSDK as wrapCursorSDK, exports_wrapGoogleADK as wrapGoogleADK, exports_wrapGoogleGenAI as wrapGoogleGenAI, exports_wrapGroq as wrapGroq, exports_wrapHuggingFace as wrapHuggingFace, exports_wrapMastraAgent as wrapMastraAgent, exports_wrapMistral as wrapMistral, exports_wrapOpenAI as wrapOpenAI, exports_wrapOpenAIv4 as wrapOpenAIv4, exports_wrapOpenRouter as wrapOpenRouter, exports_wrapOpenRouterAgent as wrapOpenRouterAgent, exports_wrapTraced as wrapTraced, exports_wrapVitest as wrapVitest };
|
|
41118
|
+
type exports$1_AnyDataset = AnyDataset;
|
|
41119
|
+
type exports$1_Attachment = Attachment;
|
|
41120
|
+
declare const exports$1_Attachment: typeof Attachment;
|
|
41121
|
+
type exports$1_AttachmentParams = AttachmentParams;
|
|
41122
|
+
declare const exports$1_AttachmentReference: typeof AttachmentReference;
|
|
41123
|
+
declare const exports$1_BRAINTRUST_CURRENT_SPAN_STORE: typeof BRAINTRUST_CURRENT_SPAN_STORE;
|
|
41124
|
+
type exports$1_BackgroundLoggerOpts = BackgroundLoggerOpts;
|
|
41125
|
+
type exports$1_BaseAttachment = BaseAttachment;
|
|
41126
|
+
declare const exports$1_BaseAttachment: typeof BaseAttachment;
|
|
41127
|
+
declare const exports$1_BaseExperiment: typeof BaseExperiment;
|
|
41128
|
+
type exports$1_BaseMetadata = BaseMetadata;
|
|
41129
|
+
declare const exports$1_BraintrustMiddleware: typeof BraintrustMiddleware;
|
|
41130
|
+
type exports$1_BraintrustState = BraintrustState;
|
|
41131
|
+
declare const exports$1_BraintrustState: typeof BraintrustState;
|
|
41132
|
+
type exports$1_BraintrustStream = BraintrustStream;
|
|
41133
|
+
declare const exports$1_BraintrustStream: typeof BraintrustStream;
|
|
41134
|
+
type exports$1_BraintrustStreamChunk = BraintrustStreamChunk;
|
|
41135
|
+
type exports$1_CachedSpanFetcher = CachedSpanFetcher;
|
|
41136
|
+
declare const exports$1_CachedSpanFetcher: typeof CachedSpanFetcher;
|
|
41137
|
+
type exports$1_ChatPrompt = ChatPrompt;
|
|
41138
|
+
type exports$1_CodeFunction<Input, Output, Fn extends GenericFunction<Input, Output>> = CodeFunction<Input, Output, Fn>;
|
|
41139
|
+
declare const exports$1_CodeFunction: typeof CodeFunction;
|
|
41140
|
+
type exports$1_CodeOpts<Params, Returns, Fn extends GenericFunction<Params, Returns>> = CodeOpts<Params, Returns, Fn>;
|
|
41141
|
+
type exports$1_CodePrompt = CodePrompt;
|
|
41142
|
+
declare const exports$1_CodePrompt: typeof CodePrompt;
|
|
41143
|
+
type exports$1_CommentEvent = CommentEvent;
|
|
41144
|
+
type exports$1_CompiledPrompt<Flavor extends "chat" | "completion"> = CompiledPrompt<Flavor>;
|
|
41145
|
+
type exports$1_CompiledPromptParams = CompiledPromptParams;
|
|
41146
|
+
type exports$1_CompletionPrompt = CompletionPrompt;
|
|
41147
|
+
type exports$1_ContextManager = ContextManager;
|
|
41148
|
+
declare const exports$1_ContextManager: typeof ContextManager;
|
|
41149
|
+
type exports$1_ContextParentSpanIds = ContextParentSpanIds;
|
|
41150
|
+
type exports$1_CreateProjectOpts = CreateProjectOpts;
|
|
41151
|
+
type exports$1_CurrentSpanStore = CurrentSpanStore;
|
|
41152
|
+
declare const exports$1_DEFAULT_FETCH_BATCH_SIZE: typeof DEFAULT_FETCH_BATCH_SIZE;
|
|
41153
|
+
declare const exports$1_DEFAULT_MAX_REQUEST_SIZE: typeof DEFAULT_MAX_REQUEST_SIZE;
|
|
41154
|
+
type exports$1_DataSummary = DataSummary;
|
|
41155
|
+
type exports$1_Dataset<IsLegacyDataset extends boolean = typeof DEFAULT_IS_LEGACY_DATASET> = Dataset<IsLegacyDataset>;
|
|
41156
|
+
declare const exports$1_Dataset: typeof Dataset;
|
|
41157
|
+
type exports$1_DatasetRecord<IsLegacyDataset extends boolean = typeof DEFAULT_IS_LEGACY_DATASET> = DatasetRecord<IsLegacyDataset>;
|
|
41158
|
+
type exports$1_DatasetRestorePreviewResult = DatasetRestorePreviewResult;
|
|
41159
|
+
type exports$1_DatasetRestoreResult = DatasetRestoreResult;
|
|
41160
|
+
type exports$1_DatasetSummary = DatasetSummary;
|
|
41161
|
+
type exports$1_DefaultMetadataType = DefaultMetadataType;
|
|
41162
|
+
type exports$1_DefaultPromptArgs = DefaultPromptArgs;
|
|
41163
|
+
declare const exports$1_ERR_PERMALINK: typeof ERR_PERMALINK;
|
|
41164
|
+
type exports$1_EndSpanArgs = EndSpanArgs;
|
|
41165
|
+
declare const exports$1_Eval: typeof Eval;
|
|
41166
|
+
type exports$1_EvalCase<Input, Expected, Metadata> = EvalCase<Input, Expected, Metadata>;
|
|
41167
|
+
type exports$1_EvalClassifier<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalClassifier<Input, Output, Expected, Metadata>;
|
|
41168
|
+
type exports$1_EvalHooks<Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters> = EvalHooks<Expected, Metadata, Parameters>;
|
|
41169
|
+
type exports$1_EvalParameterSerializedSchema = EvalParameterSerializedSchema;
|
|
41170
|
+
type exports$1_EvalParameters = EvalParameters;
|
|
41171
|
+
type exports$1_EvalResult<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalResult<Input, Output, Expected, Metadata>;
|
|
41172
|
+
type exports$1_EvalResultWithSummary<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalResultWithSummary<Input, Output, Expected, Metadata>;
|
|
41173
|
+
declare const exports$1_EvalResultWithSummary: typeof EvalResultWithSummary;
|
|
41174
|
+
type exports$1_EvalScorer<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalScorer<Input, Output, Expected, Metadata>;
|
|
41175
|
+
type exports$1_EvalScorerArgs<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalScorerArgs<Input, Output, Expected, Metadata>;
|
|
41176
|
+
type exports$1_EvalTask<Input, Output, Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters> = EvalTask<Input, Output, Expected, Metadata, Parameters>;
|
|
41177
|
+
type exports$1_Evaluator<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters> = Evaluator<Input, Output, Expected, Metadata, Parameters>;
|
|
41178
|
+
type exports$1_EvaluatorDef<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters> = EvaluatorDef<Input, Output, Expected, Metadata, Parameters>;
|
|
41179
|
+
type exports$1_EvaluatorDefinition = EvaluatorDefinition;
|
|
41180
|
+
type exports$1_EvaluatorDefinitions = EvaluatorDefinitions;
|
|
41181
|
+
type exports$1_EvaluatorFile = EvaluatorFile;
|
|
41182
|
+
type exports$1_EvaluatorManifest = EvaluatorManifest;
|
|
41183
|
+
type exports$1_Experiment = Experiment;
|
|
41184
|
+
declare const exports$1_Experiment: typeof Experiment;
|
|
41185
|
+
type exports$1_ExperimentLogFullArgs = ExperimentLogFullArgs;
|
|
41186
|
+
type exports$1_ExperimentLogPartialArgs = ExperimentLogPartialArgs;
|
|
41187
|
+
type exports$1_ExperimentSummary = ExperimentSummary;
|
|
41188
|
+
type exports$1_Exportable = Exportable;
|
|
41189
|
+
type exports$1_ExternalAttachment = ExternalAttachment;
|
|
41190
|
+
declare const exports$1_ExternalAttachment: typeof ExternalAttachment;
|
|
41191
|
+
type exports$1_ExternalAttachmentParams = ExternalAttachmentParams;
|
|
41192
|
+
type exports$1_FailedHTTPResponse = FailedHTTPResponse;
|
|
41193
|
+
declare const exports$1_FailedHTTPResponse: typeof FailedHTTPResponse;
|
|
41194
|
+
type exports$1_FullInitDatasetOptions<IsLegacyDataset extends boolean> = FullInitDatasetOptions<IsLegacyDataset>;
|
|
41195
|
+
type exports$1_FullInitOptions<IsOpen extends boolean> = FullInitOptions<IsOpen>;
|
|
41196
|
+
type exports$1_FullLoginOptions = FullLoginOptions;
|
|
41197
|
+
type exports$1_FunctionEvent = FunctionEvent;
|
|
41198
|
+
type exports$1_GetThreadOptions = GetThreadOptions;
|
|
41199
|
+
type exports$1_IDGenerator = IDGenerator;
|
|
41200
|
+
declare const exports$1_IDGenerator: typeof IDGenerator;
|
|
41201
|
+
type exports$1_IdField = IdField;
|
|
41202
|
+
type exports$1_InitDatasetOptions<IsLegacyDataset extends boolean> = InitDatasetOptions<IsLegacyDataset>;
|
|
41203
|
+
type exports$1_InitLoggerOptions<IsAsyncFlush> = InitLoggerOptions<IsAsyncFlush>;
|
|
41204
|
+
type exports$1_InitOptions<IsOpen extends boolean> = InitOptions<IsOpen>;
|
|
41205
|
+
type exports$1_InputField = InputField;
|
|
41206
|
+
type exports$1_InstrumentationConfig = InstrumentationConfig;
|
|
41207
|
+
type exports$1_InvokeFunctionArgs<Input, Output, Stream extends boolean = false> = InvokeFunctionArgs<Input, Output, Stream>;
|
|
41208
|
+
type exports$1_InvokeReturn<Stream extends boolean, Output> = InvokeReturn<Stream, Output>;
|
|
41209
|
+
type exports$1_JSONAttachment = JSONAttachment;
|
|
41210
|
+
declare const exports$1_JSONAttachment: typeof JSONAttachment;
|
|
41211
|
+
declare const exports$1_LEGACY_CACHED_HEADER: typeof LEGACY_CACHED_HEADER;
|
|
41212
|
+
declare const exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE: typeof LOGS3_OVERFLOW_REFERENCE_TYPE;
|
|
41213
|
+
type exports$1_LazyValue<T> = LazyValue<T>;
|
|
41214
|
+
declare const exports$1_LazyValue: typeof LazyValue;
|
|
41215
|
+
type exports$1_LoadPromptOptions = LoadPromptOptions;
|
|
41216
|
+
type exports$1_LogCommentFullArgs = LogCommentFullArgs;
|
|
41217
|
+
type exports$1_LogFeedbackFullArgs = LogFeedbackFullArgs;
|
|
41218
|
+
type exports$1_LogOptions<IsAsyncFlush> = LogOptions<IsAsyncFlush>;
|
|
41219
|
+
type exports$1_Logger<IsAsyncFlush extends boolean> = Logger<IsAsyncFlush>;
|
|
41220
|
+
declare const exports$1_Logger: typeof Logger;
|
|
41221
|
+
type exports$1_LoginInvalidOrgError = LoginInvalidOrgError;
|
|
41222
|
+
declare const exports$1_LoginInvalidOrgError: typeof LoginInvalidOrgError;
|
|
41223
|
+
type exports$1_LoginOptions = LoginOptions;
|
|
41224
|
+
type exports$1_Logs3OverflowInputRow = Logs3OverflowInputRow;
|
|
41225
|
+
type exports$1_Logs3OverflowUpload = Logs3OverflowUpload;
|
|
41226
|
+
type exports$1_MetricSummary = MetricSummary;
|
|
41227
|
+
declare const exports$1_NOOP_SPAN: typeof NOOP_SPAN;
|
|
41228
|
+
declare const exports$1_NOOP_SPAN_PERMALINK: typeof NOOP_SPAN_PERMALINK;
|
|
41229
|
+
type exports$1_NoopSpan = NoopSpan;
|
|
41230
|
+
declare const exports$1_NoopSpan: typeof NoopSpan;
|
|
41231
|
+
type exports$1_ObjectFetcher<RecordType> = ObjectFetcher<RecordType>;
|
|
41232
|
+
declare const exports$1_ObjectFetcher: typeof ObjectFetcher;
|
|
41233
|
+
type exports$1_ObjectMetadata = ObjectMetadata;
|
|
41234
|
+
type exports$1_OtherExperimentLogFields = OtherExperimentLogFields;
|
|
41235
|
+
type exports$1_ParametersSource = ParametersSource;
|
|
41236
|
+
type exports$1_ParentExperimentIds = ParentExperimentIds;
|
|
41237
|
+
type exports$1_ParentProjectLogIds = ParentProjectLogIds;
|
|
41238
|
+
type exports$1_Project = Project;
|
|
41239
|
+
declare const exports$1_Project: typeof Project;
|
|
41240
|
+
type exports$1_ProjectNameIdMap = ProjectNameIdMap;
|
|
41241
|
+
declare const exports$1_ProjectNameIdMap: typeof ProjectNameIdMap;
|
|
41242
|
+
type exports$1_PromiseUnless<B, R> = PromiseUnless<B, R>;
|
|
41243
|
+
type exports$1_Prompt<HasId extends boolean = true, HasVersion extends boolean = true> = Prompt<HasId, HasVersion>;
|
|
41244
|
+
declare const exports$1_Prompt: typeof Prompt;
|
|
41245
|
+
type exports$1_PromptBuilder = PromptBuilder;
|
|
41246
|
+
declare const exports$1_PromptBuilder: typeof PromptBuilder;
|
|
41247
|
+
type exports$1_PromptContents = PromptContents;
|
|
41248
|
+
type exports$1_PromptDefinition = PromptDefinition;
|
|
41249
|
+
type exports$1_PromptDefinitionWithTools = PromptDefinitionWithTools;
|
|
41250
|
+
type exports$1_PromptOpts<HasId extends boolean, HasVersion extends boolean, HasTools extends boolean = true, HasNoTrace extends boolean = true> = PromptOpts<HasId, HasVersion, HasTools, HasNoTrace>;
|
|
41251
|
+
type exports$1_PromptRowWithId<HasId extends boolean = true, HasVersion extends boolean = true> = PromptRowWithId<HasId, HasVersion>;
|
|
41252
|
+
type exports$1_ReadonlyAttachment = ReadonlyAttachment;
|
|
41253
|
+
declare const exports$1_ReadonlyAttachment: typeof ReadonlyAttachment;
|
|
41254
|
+
type exports$1_ReadonlyExperiment = ReadonlyExperiment;
|
|
41255
|
+
declare const exports$1_ReadonlyExperiment: typeof ReadonlyExperiment;
|
|
41256
|
+
type exports$1_RegisterSandboxOptions = RegisterSandboxOptions;
|
|
41257
|
+
type exports$1_RegisterSandboxResult = RegisterSandboxResult;
|
|
41258
|
+
declare const exports$1_Reporter: typeof Reporter;
|
|
41259
|
+
type exports$1_ReporterBody<EvalReport> = ReporterBody<EvalReport>;
|
|
41260
|
+
type exports$1_SandboxConfig = SandboxConfig;
|
|
41261
|
+
type exports$1_ScoreSummary = ScoreSummary;
|
|
41262
|
+
type exports$1_ScorerBuilder = ScorerBuilder;
|
|
41263
|
+
declare const exports$1_ScorerBuilder: typeof ScorerBuilder;
|
|
41264
|
+
type exports$1_ScorerOpts<Output, Input, Params, Returns, Fn extends GenericFunction<Exact<Params, ScorerArgs<Output, Input>>, Returns>> = ScorerOpts<Output, Input, Params, Returns, Fn>;
|
|
41265
|
+
type exports$1_SerializedBraintrustState = SerializedBraintrustState;
|
|
41266
|
+
type exports$1_SetCurrentArg = SetCurrentArg;
|
|
41267
|
+
type exports$1_Span = Span;
|
|
41268
|
+
type exports$1_SpanContext = SpanContext;
|
|
41269
|
+
type exports$1_SpanData = SpanData;
|
|
41270
|
+
type exports$1_SpanFetcher = SpanFetcher;
|
|
41271
|
+
declare const exports$1_SpanFetcher: typeof SpanFetcher;
|
|
41272
|
+
type exports$1_SpanImpl = SpanImpl;
|
|
41273
|
+
declare const exports$1_SpanImpl: typeof SpanImpl;
|
|
41274
|
+
type exports$1_StartSpanArgs = StartSpanArgs;
|
|
41275
|
+
type exports$1_TemplateFormat = TemplateFormat;
|
|
41276
|
+
type exports$1_TemplateRenderer = TemplateRenderer;
|
|
41277
|
+
type exports$1_TemplateRendererPlugin = TemplateRendererPlugin;
|
|
41278
|
+
type exports$1_TestBackgroundLogger = TestBackgroundLogger;
|
|
41279
|
+
declare const exports$1_TestBackgroundLogger: typeof TestBackgroundLogger;
|
|
41280
|
+
type exports$1_ToolBuilder = ToolBuilder;
|
|
41281
|
+
declare const exports$1_ToolBuilder: typeof ToolBuilder;
|
|
41282
|
+
type exports$1_Trace = Trace;
|
|
41283
|
+
type exports$1_UUIDGenerator = UUIDGenerator;
|
|
41284
|
+
declare const exports$1_UUIDGenerator: typeof UUIDGenerator;
|
|
41285
|
+
type exports$1_WithTransactionId<R> = WithTransactionId<R>;
|
|
41286
|
+
declare const exports$1_X_CACHED_HEADER: typeof X_CACHED_HEADER;
|
|
41287
|
+
declare const exports$1__exportsForTestingOnly: typeof _exportsForTestingOnly;
|
|
41288
|
+
declare const exports$1__internalGetGlobalState: typeof _internalGetGlobalState;
|
|
41289
|
+
declare const exports$1__internalSetInitialState: typeof _internalSetInitialState;
|
|
41290
|
+
declare const exports$1_addAzureBlobHeaders: typeof addAzureBlobHeaders;
|
|
41291
|
+
declare const exports$1_braintrustStreamChunkSchema: typeof braintrustStreamChunkSchema;
|
|
41292
|
+
declare const exports$1_buildLocalSummary: typeof buildLocalSummary;
|
|
41293
|
+
declare const exports$1_configureInstrumentation: typeof configureInstrumentation;
|
|
41294
|
+
declare const exports$1_constructLogs3OverflowRequest: typeof constructLogs3OverflowRequest;
|
|
41295
|
+
declare const exports$1_createFinalValuePassThroughStream: typeof createFinalValuePassThroughStream;
|
|
41296
|
+
declare const exports$1_currentExperiment: typeof currentExperiment;
|
|
41297
|
+
declare const exports$1_currentLogger: typeof currentLogger;
|
|
41298
|
+
declare const exports$1_currentSpan: typeof currentSpan;
|
|
41299
|
+
declare const exports$1_deepCopyEvent: typeof deepCopyEvent;
|
|
41300
|
+
declare const exports$1_defaultErrorScoreHandler: typeof defaultErrorScoreHandler;
|
|
41301
|
+
declare const exports$1_deserializePlainStringAsJSON: typeof deserializePlainStringAsJSON;
|
|
41302
|
+
declare const exports$1_devNullWritableStream: typeof devNullWritableStream;
|
|
41303
|
+
declare const exports$1_evaluatorDefinitionSchema: typeof evaluatorDefinitionSchema;
|
|
41304
|
+
declare const exports$1_evaluatorDefinitionsSchema: typeof evaluatorDefinitionsSchema;
|
|
41305
|
+
declare const exports$1_flush: typeof flush;
|
|
41306
|
+
declare const exports$1_getContextManager: typeof getContextManager;
|
|
41307
|
+
declare const exports$1_getIdGenerator: typeof getIdGenerator;
|
|
41308
|
+
declare const exports$1_getPromptVersions: typeof getPromptVersions;
|
|
41309
|
+
declare const exports$1_getSpanParentObject: typeof getSpanParentObject;
|
|
41310
|
+
declare const exports$1_getTemplateRenderer: typeof getTemplateRenderer;
|
|
41311
|
+
declare const exports$1_init: typeof init;
|
|
41312
|
+
declare const exports$1_initDataset: typeof initDataset;
|
|
41313
|
+
declare const exports$1_initExperiment: typeof initExperiment;
|
|
41314
|
+
declare const exports$1_initFunction: typeof initFunction;
|
|
41315
|
+
declare const exports$1_initLogger: typeof initLogger;
|
|
41316
|
+
declare const exports$1_initNodeTestSuite: typeof initNodeTestSuite;
|
|
41317
|
+
declare const exports$1_invoke: typeof invoke;
|
|
41318
|
+
declare const exports$1_isTemplateFormat: typeof isTemplateFormat;
|
|
41319
|
+
declare const exports$1_loadParameters: typeof loadParameters;
|
|
41320
|
+
declare const exports$1_loadPrompt: typeof loadPrompt;
|
|
41321
|
+
declare const exports$1_log: typeof log;
|
|
41322
|
+
declare const exports$1_logError: typeof logError;
|
|
41323
|
+
declare const exports$1_login: typeof login;
|
|
41324
|
+
declare const exports$1_loginToState: typeof loginToState;
|
|
41325
|
+
declare const exports$1_logs3OverflowUploadSchema: typeof logs3OverflowUploadSchema;
|
|
41326
|
+
declare const exports$1_newId: typeof newId;
|
|
41327
|
+
declare const exports$1_parseCachedHeader: typeof parseCachedHeader;
|
|
41328
|
+
declare const exports$1_parseTemplateFormat: typeof parseTemplateFormat;
|
|
41329
|
+
declare const exports$1_permalink: typeof permalink;
|
|
41330
|
+
declare const exports$1_pickLogs3OverflowObjectIds: typeof pickLogs3OverflowObjectIds;
|
|
41331
|
+
declare const exports$1_projects: typeof projects;
|
|
41332
|
+
declare const exports$1_promptContentsSchema: typeof promptContentsSchema;
|
|
41333
|
+
declare const exports$1_promptDefinitionSchema: typeof promptDefinitionSchema;
|
|
41334
|
+
declare const exports$1_promptDefinitionToPromptData: typeof promptDefinitionToPromptData;
|
|
41335
|
+
declare const exports$1_promptDefinitionWithToolsSchema: typeof promptDefinitionWithToolsSchema;
|
|
41336
|
+
declare const exports$1_registerOtelFlush: typeof registerOtelFlush;
|
|
41337
|
+
declare const exports$1_registerSandbox: typeof registerSandbox;
|
|
41338
|
+
declare const exports$1_registerTemplatePlugin: typeof registerTemplatePlugin;
|
|
41339
|
+
declare const exports$1_renderMessage: typeof renderMessage;
|
|
41340
|
+
declare const exports$1_renderPromptParams: typeof renderPromptParams;
|
|
41341
|
+
declare const exports$1_renderTemplateContent: typeof renderTemplateContent;
|
|
41342
|
+
declare const exports$1_reportFailures: typeof reportFailures;
|
|
41343
|
+
declare const exports$1_runEvaluator: typeof runEvaluator;
|
|
41344
|
+
declare const exports$1_setFetch: typeof setFetch;
|
|
41345
|
+
declare const exports$1_setMaskingFunction: typeof setMaskingFunction;
|
|
41346
|
+
declare const exports$1_spanComponentsToObjectId: typeof spanComponentsToObjectId;
|
|
41347
|
+
declare const exports$1_startSpan: typeof startSpan;
|
|
41348
|
+
declare const exports$1_summarize: typeof summarize;
|
|
41349
|
+
declare const exports$1_templateRegistry: typeof templateRegistry;
|
|
41350
|
+
declare const exports$1_traceable: typeof traceable;
|
|
41351
|
+
declare const exports$1_traced: typeof traced;
|
|
41352
|
+
declare const exports$1_updateSpan: typeof updateSpan;
|
|
41353
|
+
declare const exports$1_uploadLogs3OverflowPayload: typeof uploadLogs3OverflowPayload;
|
|
41354
|
+
declare const exports$1_utf8ByteLength: typeof utf8ByteLength;
|
|
41355
|
+
declare const exports$1_withCurrent: typeof withCurrent;
|
|
41356
|
+
declare const exports$1_withDataset: typeof withDataset;
|
|
41357
|
+
declare const exports$1_withExperiment: typeof withExperiment;
|
|
41358
|
+
declare const exports$1_withLogger: typeof withLogger;
|
|
41359
|
+
declare const exports$1_withParent: typeof withParent;
|
|
41360
|
+
declare const exports$1_wrapAISDK: typeof wrapAISDK;
|
|
41361
|
+
declare const exports$1_wrapAISDKModel: typeof wrapAISDKModel;
|
|
41362
|
+
declare const exports$1_wrapAgentClass: typeof wrapAgentClass;
|
|
41363
|
+
declare const exports$1_wrapAnthropic: typeof wrapAnthropic;
|
|
41364
|
+
declare const exports$1_wrapClaudeAgentSDK: typeof wrapClaudeAgentSDK;
|
|
41365
|
+
declare const exports$1_wrapCohere: typeof wrapCohere;
|
|
41366
|
+
declare const exports$1_wrapCopilotClient: typeof wrapCopilotClient;
|
|
41367
|
+
declare const exports$1_wrapCursorSDK: typeof wrapCursorSDK;
|
|
41368
|
+
declare const exports$1_wrapGenkit: typeof wrapGenkit;
|
|
41369
|
+
declare const exports$1_wrapGoogleADK: typeof wrapGoogleADK;
|
|
41370
|
+
declare const exports$1_wrapGoogleGenAI: typeof wrapGoogleGenAI;
|
|
41371
|
+
declare const exports$1_wrapGroq: typeof wrapGroq;
|
|
41372
|
+
declare const exports$1_wrapHuggingFace: typeof wrapHuggingFace;
|
|
41373
|
+
declare const exports$1_wrapMastraAgent: typeof wrapMastraAgent;
|
|
41374
|
+
declare const exports$1_wrapMistral: typeof wrapMistral;
|
|
41375
|
+
declare const exports$1_wrapOpenAI: typeof wrapOpenAI;
|
|
41376
|
+
declare const exports$1_wrapOpenAICodexSDK: typeof wrapOpenAICodexSDK;
|
|
41377
|
+
declare const exports$1_wrapOpenAIv4: typeof wrapOpenAIv4;
|
|
41378
|
+
declare const exports$1_wrapOpenRouter: typeof wrapOpenRouter;
|
|
41379
|
+
declare const exports$1_wrapOpenRouterAgent: typeof wrapOpenRouterAgent;
|
|
41380
|
+
declare const exports$1_wrapTraced: typeof wrapTraced;
|
|
41381
|
+
declare const exports$1_wrapVitest: typeof wrapVitest;
|
|
41382
|
+
declare namespace exports$1 {
|
|
41383
|
+
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_BRAINTRUST_CURRENT_SPAN_STORE as BRAINTRUST_CURRENT_SPAN_STORE, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BraintrustMiddleware as BraintrustMiddleware, 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, 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_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, exports$1_LazyValue as LazyValue, type exports$1_LoadPromptOptions as LoadPromptOptions, 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_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_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, 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, 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, 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, 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_braintrustStreamChunkSchema as braintrustStreamChunkSchema, exports$1_buildLocalSummary as buildLocalSummary, 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_deserializePlainStringAsJSON as deserializePlainStringAsJSON, exports$1_devNullWritableStream as devNullWritableStream, exports$1_evaluatorDefinitionSchema as evaluatorDefinitionSchema, exports$1_evaluatorDefinitionsSchema as evaluatorDefinitionsSchema, 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_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_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_wrapClaudeAgentSDK as wrapClaudeAgentSDK, 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_wrapMastraAgent as wrapMastraAgent, exports$1_wrapMistral as wrapMistral, 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_wrapTraced as wrapTraced, exports$1_wrapVitest as wrapVitest };
|
|
41183
41384
|
}
|
|
41184
41385
|
|
|
41185
|
-
export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BRAINTRUST_CURRENT_SPAN_STORE, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BraintrustMiddleware, 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, type DatasetRecord, type DatasetRestorePreviewResult, type DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type DatasetSummary, type DefaultMetadataType, type DefaultPromptArgs, 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, LazyValue, type LoadPromptOptions, type LogCommentFullArgs, type LogFeedbackFullArgs, type LogOptions, Logger, LoginInvalidOrgError, type LoginOptions, type Logs3OverflowInputRow, type Logs3OverflowUpload, type MetricSummary, NOOP_SPAN, NOOP_SPAN_PERMALINK, NoopSpan, ObjectFetcher, type ObjectMetadata, type OtherExperimentLogFields, type ParametersSource, type ParentExperimentIds, type ParentProjectLogIds, Project, ProjectNameIdMap, type PromiseUnless, Prompt, PromptBuilder, type PromptContents, type PromptDefinition, type PromptDefinitionWithTools, type PromptOpts, type PromptRowWithId, 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, type TemplateFormat, type TemplateRenderer, type TemplateRendererPlugin, TestBackgroundLogger, ToolBuilder, type Trace, UUIDGenerator, type WithTransactionId, X_CACHED_HEADER, _exportsForTestingOnly, _internalGetGlobalState, iso as _internalIso, _internalSetInitialState, addAzureBlobHeaders, braintrustStreamChunkSchema, buildLocalSummary, configureInstrumentation, constructLogs3OverflowRequest, createFinalValuePassThroughStream, currentExperiment, currentLogger, currentSpan, deepCopyEvent, exports as default, defaultErrorScoreHandler, deserializePlainStringAsJSON, devNullWritableStream, evaluatorDefinitionSchema, evaluatorDefinitionsSchema, flush, getContextManager, getIdGenerator, getPromptVersions, getSpanParentObject, getTemplateRenderer, graphFramework as graph, init, initDataset, initExperiment, initFunction, initLogger, initNodeTestSuite, invoke, isTemplateFormat, loadParameters, loadPrompt, log, logError, login, loginToState, logs3OverflowUploadSchema, newId, 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, wrapClaudeAgentSDK, wrapCohere, wrapCursorSDK, wrapGoogleADK, wrapGoogleGenAI, wrapGroq, wrapHuggingFace, wrapMastraAgent, wrapMistral, wrapOpenAI, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapTraced, wrapVitest };
|
|
41386
|
+
export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BRAINTRUST_CURRENT_SPAN_STORE, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BraintrustMiddleware, 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, type DatasetRecord, type DatasetRestorePreviewResult, type DatasetRestoreResult, type DatasetSnapshotType as DatasetSnapshot, type DatasetSummary, type DefaultMetadataType, type DefaultPromptArgs, 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, LazyValue, type LoadPromptOptions, type LogCommentFullArgs, type LogFeedbackFullArgs, type LogOptions, Logger, LoginInvalidOrgError, type LoginOptions, type Logs3OverflowInputRow, type Logs3OverflowUpload, type MetricSummary, NOOP_SPAN, NOOP_SPAN_PERMALINK, NoopSpan, ObjectFetcher, type ObjectMetadata, type OtherExperimentLogFields, type ParametersSource, type ParentExperimentIds, type ParentProjectLogIds, Project, ProjectNameIdMap, type PromiseUnless, Prompt, PromptBuilder, type PromptContents, type PromptDefinition, type PromptDefinitionWithTools, type PromptOpts, type PromptRowWithId, 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, type TemplateFormat, type TemplateRenderer, type TemplateRendererPlugin, TestBackgroundLogger, ToolBuilder, type Trace, UUIDGenerator, type WithTransactionId, X_CACHED_HEADER, _exportsForTestingOnly, _internalGetGlobalState, iso as _internalIso, _internalSetInitialState, addAzureBlobHeaders, braintrustStreamChunkSchema, buildLocalSummary, configureInstrumentation, constructLogs3OverflowRequest, createFinalValuePassThroughStream, currentExperiment, currentLogger, currentSpan, deepCopyEvent, exports$1 as default, defaultErrorScoreHandler, deserializePlainStringAsJSON, devNullWritableStream, evaluatorDefinitionSchema, evaluatorDefinitionsSchema, flush, getContextManager, getIdGenerator, getPromptVersions, getSpanParentObject, getTemplateRenderer, graphFramework as graph, init, initDataset, initExperiment, initFunction, initLogger, initNodeTestSuite, invoke, isTemplateFormat, loadParameters, loadPrompt, log, logError, login, loginToState, logs3OverflowUploadSchema, newId, 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, wrapClaudeAgentSDK, wrapCohere, wrapCopilotClient, wrapCursorSDK, wrapGenkit, wrapGoogleADK, wrapGoogleGenAI, wrapGroq, wrapHuggingFace, wrapMastraAgent, wrapMistral, wrapOpenAI, wrapOpenAICodexSDK, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapTraced, wrapVitest };
|