braintrust 3.10.0 → 3.12.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/README.md +8 -8
- package/dev/dist/index.d.mts +51 -3
- package/dev/dist/index.d.ts +51 -3
- package/dev/dist/index.js +13138 -8915
- package/dev/dist/index.mjs +13015 -8792
- package/dist/apply-auto-instrumentation.browser.d.mts +2 -0
- package/dist/apply-auto-instrumentation.browser.d.ts +2 -0
- package/dist/apply-auto-instrumentation.browser.js +18 -0
- package/dist/apply-auto-instrumentation.browser.mjs +0 -0
- package/dist/apply-auto-instrumentation.d.mts +2 -0
- package/dist/apply-auto-instrumentation.d.ts +2 -0
- package/dist/apply-auto-instrumentation.js +2534 -0
- package/dist/apply-auto-instrumentation.mjs +2534 -0
- package/dist/auto-instrumentations/bundler/esbuild.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/esbuild.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/esbuild.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/esbuild.mjs +10 -2
- package/dist/auto-instrumentations/bundler/next.cjs +3268 -0
- package/dist/auto-instrumentations/bundler/next.d.mts +3 -0
- package/dist/auto-instrumentations/bundler/next.d.ts +3 -0
- package/dist/auto-instrumentations/bundler/next.mjs +189 -0
- package/dist/auto-instrumentations/bundler/rollup.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/rollup.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/rollup.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/rollup.mjs +10 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/vite.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/vite.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/vite.mjs +10 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +1713 -690
- package/dist/auto-instrumentations/bundler/webpack-loader.d.ts +3 -3
- package/dist/auto-instrumentations/bundler/webpack.cjs +1775 -737
- package/dist/auto-instrumentations/bundler/webpack.d.mts +9 -5
- package/dist/auto-instrumentations/bundler/webpack.d.ts +9 -5
- package/dist/auto-instrumentations/bundler/webpack.mjs +6 -6
- package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-2DPA74KK.mjs} +856 -5
- package/dist/auto-instrumentations/chunk-73BZUKVI.mjs +300 -0
- package/dist/auto-instrumentations/chunk-AFXRW7I7.mjs +18 -0
- package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
- package/dist/auto-instrumentations/hook.mjs +1912 -1125
- package/dist/auto-instrumentations/index.cjs +615 -4
- package/dist/auto-instrumentations/index.d.mts +18 -1
- package/dist/auto-instrumentations/index.d.ts +18 -1
- package/dist/auto-instrumentations/index.mjs +12 -247
- 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 +35 -3
- package/dist/auto-instrumentations/plugin-D7nDswtC.d.mts +44 -0
- package/dist/auto-instrumentations/plugin-D7nDswtC.d.ts +44 -0
- package/dist/browser.d.mts +577 -287
- package/dist/browser.d.ts +577 -287
- package/dist/browser.js +10221 -5524
- package/dist/browser.mjs +10221 -5524
- package/dist/chunk-BW4DF4CY.js +816 -0
- package/dist/chunk-MSLBGITU.mjs +816 -0
- package/dist/cli.js +13143 -8892
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +10221 -5524
- package/dist/edge-light.mjs +10221 -5524
- package/dist/index.d.mts +590 -300
- package/dist/index.d.ts +590 -300
- package/dist/index.js +9309 -5371
- package/dist/index.mjs +10340 -6402
- package/dist/instrumentation/index.d.mts +7863 -39
- package/dist/instrumentation/index.d.ts +7863 -39
- package/dist/instrumentation/index.js +10263 -6034
- package/dist/instrumentation/index.mjs +10262 -6034
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +10221 -5524
- package/dist/workerd.mjs +10221 -5524
- package/package.json +33 -19
- package/util/dist/index.js +6 -0
- package/util/dist/index.mjs +6 -0
- package/dist/auto-instrumentations/chunk-XWEQQOQH.mjs +0 -106
- package/dist/auto-instrumentations/plugin-Df3qKIl2.d.mts +0 -22
- package/dist/auto-instrumentations/plugin-Df3qKIl2.d.ts +0 -22
package/dist/browser.d.ts
CHANGED
|
@@ -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 | {
|
|
@@ -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 | {
|
|
@@ -19638,7 +19715,7 @@ type InitializedExperiment<IsOpen extends boolean | undefined> = IsOpen extends
|
|
|
19638
19715
|
* @param options.apiKey The API key to use. If the parameter is not specified, will try to use the `BRAINTRUST_API_KEY` environment variable. If no API key is specified, will prompt the user to login.
|
|
19639
19716
|
* @param options.orgName (Optional) The name of a specific organization to connect to. This is useful if you belong to multiple.
|
|
19640
19717
|
* @param options.metadata (Optional) A dictionary with additional data about the test example, model outputs, or just about anything else that's relevant, that you can use to help find and analyze examples later. For example, you could log the `prompt`, example's `id`, or anything else that would be useful to slice/dice later. The values in `metadata` can be any JSON-serializable type, but its keys must be strings.
|
|
19641
|
-
* @param options.gitMetadataSettings (Optional) Settings for collecting git metadata. By default,
|
|
19718
|
+
* @param options.gitMetadataSettings (Optional) Settings for collecting git metadata. By default, Braintrust collects the git metadata fields allowed by your organization's git metadata settings. If those settings are absent, git metadata is not collected unless this option is set.
|
|
19642
19719
|
* @param setCurrent If true (the default), set the global current-experiment to the newly-created one.
|
|
19643
19720
|
* @param options.open If the experiment already exists, open it in read-only mode. Throws an error if the experiment does not already exist.
|
|
19644
19721
|
* @param options.projectId The id of the project to create the experiment in. This takes precedence over `project` if specified.
|
|
@@ -21460,12 +21537,31 @@ 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.
|
|
21466
21549
|
*/
|
|
21467
21550
|
declare function wrapCursorSDK<T>(sdk: T): T;
|
|
21468
21551
|
|
|
21552
|
+
/**
|
|
21553
|
+
* Wraps a Flue context with Braintrust tracing. Context wrapping subscribes to
|
|
21554
|
+
* Flue's event stream and patches ctx.init() so returned harness sessions emit
|
|
21555
|
+
* operation diagnostics-channel events.
|
|
21556
|
+
*/
|
|
21557
|
+
declare function wrapFlueContext<T>(ctx: T): T;
|
|
21558
|
+
/**
|
|
21559
|
+
* Wraps a Flue session with Braintrust tracing. Direct session wrapping traces
|
|
21560
|
+
* top-level prompt/skill/task/compact calls. Event-derived child spans require
|
|
21561
|
+
* context instrumentation through wrapFlueContext() or auto-instrumentation.
|
|
21562
|
+
*/
|
|
21563
|
+
declare function wrapFlueSession<T>(session: T): T;
|
|
21564
|
+
|
|
21469
21565
|
/**
|
|
21470
21566
|
* Wrap a Google GenAI module (imported with `import * as googleGenAI from '@google/genai'`) to add tracing.
|
|
21471
21567
|
* If Braintrust is not configured, nothing will be traced.
|
|
@@ -21517,6 +21613,16 @@ declare function wrapGoogleGenAI<T extends Record<string, any>>(googleGenAI: T):
|
|
|
21517
21613
|
*/
|
|
21518
21614
|
declare function wrapGoogleADK<T extends Record<string, any>>(adkModule: T): T;
|
|
21519
21615
|
|
|
21616
|
+
/**
|
|
21617
|
+
* Wrap a Genkit instance or module so Genkit calls emit diagnostics-channel
|
|
21618
|
+
* events that Braintrust plugins can consume.
|
|
21619
|
+
*
|
|
21620
|
+
* This supports both:
|
|
21621
|
+
* - `const ai = wrapGenkit(genkit({ ... }))`
|
|
21622
|
+
* - wrapping the module namespace and then calling its `genkit` factory
|
|
21623
|
+
*/
|
|
21624
|
+
declare function wrapGenkit<T>(genkit: T): T;
|
|
21625
|
+
|
|
21520
21626
|
interface HuggingFaceRequestOptions {
|
|
21521
21627
|
retry_on_error?: boolean;
|
|
21522
21628
|
fetch?: typeof fetch;
|
|
@@ -21685,6 +21791,28 @@ declare function wrapCohere<T>(cohere: T): T;
|
|
|
21685
21791
|
*/
|
|
21686
21792
|
declare function wrapGroq<T extends object>(groq: T): T;
|
|
21687
21793
|
|
|
21794
|
+
/**
|
|
21795
|
+
* Wrap a CopilotClient instance (created with `new CopilotClient(...)`) with
|
|
21796
|
+
* Braintrust tracing.
|
|
21797
|
+
*
|
|
21798
|
+
* The wrapper intercepts `createSession` and `resumeSession` so that the same
|
|
21799
|
+
* plugin logic used by auto-instrumentation applies — session spans, turn
|
|
21800
|
+
* spans, LLM spans with token metrics, and tool spans are all produced.
|
|
21801
|
+
*
|
|
21802
|
+
* @example
|
|
21803
|
+
* ```ts
|
|
21804
|
+
* import { CopilotClient, approveAll } from "@github/copilot-sdk";
|
|
21805
|
+
* import { wrapCopilotClient } from "braintrust";
|
|
21806
|
+
*
|
|
21807
|
+
* const client = wrapCopilotClient(new CopilotClient());
|
|
21808
|
+
* const session = await client.createSession({
|
|
21809
|
+
* model: "gpt-4.1",
|
|
21810
|
+
* onPermissionRequest: approveAll,
|
|
21811
|
+
* });
|
|
21812
|
+
* ```
|
|
21813
|
+
*/
|
|
21814
|
+
declare function wrapCopilotClient<T extends object>(client: T): T;
|
|
21815
|
+
|
|
21688
21816
|
type ScorerFunction<Output = unknown> = (args: {
|
|
21689
21817
|
output: Output;
|
|
21690
21818
|
expected?: unknown;
|
|
@@ -21792,6 +21920,11 @@ interface BraintrustVitest<VitestContext = unknown, ExpectType extends (...args:
|
|
|
21792
21920
|
}
|
|
21793
21921
|
interface WrapperConfig {
|
|
21794
21922
|
projectName?: string;
|
|
21923
|
+
/**
|
|
21924
|
+
* The id of the project to create experiments in. Takes precedence over
|
|
21925
|
+
* `projectName` if both are set.
|
|
21926
|
+
*/
|
|
21927
|
+
projectId?: string;
|
|
21795
21928
|
/**
|
|
21796
21929
|
* If true, displays a formatted experiment summary with scores and URL after the test suite completes.
|
|
21797
21930
|
* Defaults to true. Set to false to suppress the summary output.
|
|
@@ -21963,6 +22096,69 @@ interface NodeTestSuite {
|
|
|
21963
22096
|
*/
|
|
21964
22097
|
declare function initNodeTestSuite(config: NodeTestSuiteConfig): NodeTestSuite;
|
|
21965
22098
|
|
|
22099
|
+
type LangChainSerialized = {
|
|
22100
|
+
id?: unknown[];
|
|
22101
|
+
name?: string;
|
|
22102
|
+
};
|
|
22103
|
+
type LangChainCallbackHandlerOptions<IsAsyncFlush extends boolean> = {
|
|
22104
|
+
debug: boolean;
|
|
22105
|
+
excludeMetadataProps: RegExp;
|
|
22106
|
+
logger?: Logger<IsAsyncFlush> | Span;
|
|
22107
|
+
parent?: Span | (() => Span);
|
|
22108
|
+
};
|
|
22109
|
+
type LangChainStartSpanArgs = StartSpanArgs & {
|
|
22110
|
+
parentRunId?: string;
|
|
22111
|
+
runId: string;
|
|
22112
|
+
};
|
|
22113
|
+
type LangChainEndSpanArgs = ExperimentLogPartialArgs & {
|
|
22114
|
+
parentRunId?: string;
|
|
22115
|
+
runId: string;
|
|
22116
|
+
tags?: string[];
|
|
22117
|
+
};
|
|
22118
|
+
type LangChainLLMResult = {
|
|
22119
|
+
generations?: unknown[];
|
|
22120
|
+
llmOutput?: Record<string, unknown>;
|
|
22121
|
+
};
|
|
22122
|
+
|
|
22123
|
+
declare const BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME = "BraintrustCallbackHandler";
|
|
22124
|
+
declare class BraintrustLangChainCallbackHandler<IsAsyncFlush extends boolean = true> {
|
|
22125
|
+
name: string;
|
|
22126
|
+
private spans;
|
|
22127
|
+
private skippedRuns;
|
|
22128
|
+
private parent?;
|
|
22129
|
+
private rootRunId?;
|
|
22130
|
+
private options;
|
|
22131
|
+
private startTimes;
|
|
22132
|
+
private firstTokenTimes;
|
|
22133
|
+
private ttftMs;
|
|
22134
|
+
constructor(options?: Partial<LangChainCallbackHandlerOptions<IsAsyncFlush>>);
|
|
22135
|
+
protected startSpan({ runId, parentRunId, ...args }: LangChainStartSpanArgs): void;
|
|
22136
|
+
protected endSpan({ runId, parentRunId, tags, metadata, ...args }: LangChainEndSpanArgs): void;
|
|
22137
|
+
handleLLMStart(llm: LangChainSerialized, prompts: string[], runId: string, parentRunId?: string, extraParams?: Record<string, unknown>, tags?: string[], metadata?: Record<string, unknown>, runName?: string): Promise<void>;
|
|
22138
|
+
handleLLMError(err: Error, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22139
|
+
handleLLMEnd(output: LangChainLLMResult, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22140
|
+
handleChatModelStart(llm: LangChainSerialized, messages: unknown[][], runId: string, parentRunId?: string, extraParams?: Record<string, unknown>, tags?: string[], metadata?: Record<string, unknown>, runName?: string): Promise<void>;
|
|
22141
|
+
handleChainStart(chain: LangChainSerialized, inputs: unknown, runId: string, parentRunId?: string, tags?: string[], metadata?: Record<string, unknown>, runType?: string, runName?: string): Promise<void>;
|
|
22142
|
+
handleChainError(err: Error, runId: string, parentRunId?: string, tags?: string[], kwargs?: {
|
|
22143
|
+
inputs?: Record<string, unknown>;
|
|
22144
|
+
}): Promise<void>;
|
|
22145
|
+
handleChainEnd(outputs: unknown, runId: string, parentRunId?: string, tags?: string[], kwargs?: {
|
|
22146
|
+
inputs?: Record<string, unknown>;
|
|
22147
|
+
}): Promise<void>;
|
|
22148
|
+
handleToolStart(tool: LangChainSerialized, input: string, runId: string, parentRunId?: string, tags?: string[], metadata?: Record<string, unknown>, runName?: string): Promise<void>;
|
|
22149
|
+
handleToolError(err: Error, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22150
|
+
handleToolEnd(output: unknown, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22151
|
+
handleAgentAction(action: Record<string, unknown>, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22152
|
+
handleAgentEnd(action: unknown, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22153
|
+
handleRetrieverStart(retriever: LangChainSerialized, query: string, runId: string, parentRunId?: string, tags?: string[], metadata?: Record<string, unknown>, name?: string): Promise<void>;
|
|
22154
|
+
handleRetrieverEnd(documents: unknown[], runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22155
|
+
handleRetrieverError(err: Error, runId: string, parentRunId?: string, tags?: string[]): Promise<void>;
|
|
22156
|
+
handleLLMNewToken(_token: string, _idx: {
|
|
22157
|
+
prompt: number;
|
|
22158
|
+
completion: number;
|
|
22159
|
+
}, runId: string, _parentRunId?: string, _tags?: string[]): Promise<void>;
|
|
22160
|
+
}
|
|
22161
|
+
|
|
21966
22162
|
interface BuildContext {
|
|
21967
22163
|
getFunctionId(functionObj: unknown): Promise<FunctionIdType>;
|
|
21968
22164
|
}
|
|
@@ -22442,6 +22638,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22442
22638
|
id?: string | undefined;
|
|
22443
22639
|
content?: string | undefined;
|
|
22444
22640
|
}>, "many">>;
|
|
22641
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
22445
22642
|
}, "strip", z.ZodTypeAny, {
|
|
22446
22643
|
role: "assistant";
|
|
22447
22644
|
name?: string | undefined;
|
|
@@ -22468,6 +22665,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22468
22665
|
id?: string | undefined;
|
|
22469
22666
|
content?: string | undefined;
|
|
22470
22667
|
}[] | undefined;
|
|
22668
|
+
reasoning_signature?: string | undefined;
|
|
22471
22669
|
}, {
|
|
22472
22670
|
role: "assistant";
|
|
22473
22671
|
name?: string | undefined;
|
|
@@ -22494,6 +22692,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22494
22692
|
id?: string | undefined;
|
|
22495
22693
|
content?: string | undefined;
|
|
22496
22694
|
}[] | undefined;
|
|
22695
|
+
reasoning_signature?: string | undefined;
|
|
22497
22696
|
}>, z.ZodObject<{
|
|
22498
22697
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
22499
22698
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -22668,6 +22867,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22668
22867
|
id?: string | undefined;
|
|
22669
22868
|
content?: string | undefined;
|
|
22670
22869
|
}[] | undefined;
|
|
22870
|
+
reasoning_signature?: string | undefined;
|
|
22671
22871
|
} | {
|
|
22672
22872
|
role: "tool";
|
|
22673
22873
|
content: string | {
|
|
@@ -22756,6 +22956,7 @@ declare const promptContentsSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
22756
22956
|
id?: string | undefined;
|
|
22757
22957
|
content?: string | undefined;
|
|
22758
22958
|
}[] | undefined;
|
|
22959
|
+
reasoning_signature?: string | undefined;
|
|
22759
22960
|
} | {
|
|
22760
22961
|
role: "tool";
|
|
22761
22962
|
content: string | {
|
|
@@ -23038,6 +23239,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23038
23239
|
id?: string | undefined;
|
|
23039
23240
|
content?: string | undefined;
|
|
23040
23241
|
}>, "many">>;
|
|
23242
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
23041
23243
|
}, "strip", z.ZodTypeAny, {
|
|
23042
23244
|
role: "assistant";
|
|
23043
23245
|
name?: string | undefined;
|
|
@@ -23064,6 +23266,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23064
23266
|
id?: string | undefined;
|
|
23065
23267
|
content?: string | undefined;
|
|
23066
23268
|
}[] | undefined;
|
|
23269
|
+
reasoning_signature?: string | undefined;
|
|
23067
23270
|
}, {
|
|
23068
23271
|
role: "assistant";
|
|
23069
23272
|
name?: string | undefined;
|
|
@@ -23090,6 +23293,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23090
23293
|
id?: string | undefined;
|
|
23091
23294
|
content?: string | undefined;
|
|
23092
23295
|
}[] | undefined;
|
|
23296
|
+
reasoning_signature?: string | undefined;
|
|
23093
23297
|
}>, z.ZodObject<{
|
|
23094
23298
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
23095
23299
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -23264,6 +23468,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23264
23468
|
id?: string | undefined;
|
|
23265
23469
|
content?: string | undefined;
|
|
23266
23470
|
}[] | undefined;
|
|
23471
|
+
reasoning_signature?: string | undefined;
|
|
23267
23472
|
} | {
|
|
23268
23473
|
role: "tool";
|
|
23269
23474
|
content: string | {
|
|
@@ -23352,6 +23557,7 @@ declare const promptDefinitionSchema: z.ZodIntersection<z.ZodUnion<[z.ZodObject<
|
|
|
23352
23557
|
id?: string | undefined;
|
|
23353
23558
|
content?: string | undefined;
|
|
23354
23559
|
}[] | undefined;
|
|
23560
|
+
reasoning_signature?: string | undefined;
|
|
23355
23561
|
} | {
|
|
23356
23562
|
role: "tool";
|
|
23357
23563
|
content: string | {
|
|
@@ -24229,6 +24435,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24229
24435
|
id?: string | undefined;
|
|
24230
24436
|
content?: string | undefined;
|
|
24231
24437
|
}>, "many">>;
|
|
24438
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
24232
24439
|
}, "strip", z.ZodTypeAny, {
|
|
24233
24440
|
role: "assistant";
|
|
24234
24441
|
name?: string | undefined;
|
|
@@ -24255,6 +24462,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24255
24462
|
id?: string | undefined;
|
|
24256
24463
|
content?: string | undefined;
|
|
24257
24464
|
}[] | undefined;
|
|
24465
|
+
reasoning_signature?: string | undefined;
|
|
24258
24466
|
}, {
|
|
24259
24467
|
role: "assistant";
|
|
24260
24468
|
name?: string | undefined;
|
|
@@ -24281,6 +24489,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24281
24489
|
id?: string | undefined;
|
|
24282
24490
|
content?: string | undefined;
|
|
24283
24491
|
}[] | undefined;
|
|
24492
|
+
reasoning_signature?: string | undefined;
|
|
24284
24493
|
}>, z.ZodObject<{
|
|
24285
24494
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
24286
24495
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -24455,6 +24664,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24455
24664
|
id?: string | undefined;
|
|
24456
24665
|
content?: string | undefined;
|
|
24457
24666
|
}[] | undefined;
|
|
24667
|
+
reasoning_signature?: string | undefined;
|
|
24458
24668
|
} | {
|
|
24459
24669
|
role: "tool";
|
|
24460
24670
|
content: string | {
|
|
@@ -24543,6 +24753,7 @@ declare const promptDefinitionWithToolsSchema: z.ZodIntersection<z.ZodIntersecti
|
|
|
24543
24753
|
id?: string | undefined;
|
|
24544
24754
|
content?: string | undefined;
|
|
24545
24755
|
}[] | undefined;
|
|
24756
|
+
reasoning_signature?: string | undefined;
|
|
24546
24757
|
} | {
|
|
24547
24758
|
role: "tool";
|
|
24548
24759
|
content: string | {
|
|
@@ -25477,6 +25688,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25477
25688
|
id?: string | undefined;
|
|
25478
25689
|
content?: string | undefined;
|
|
25479
25690
|
}>, "many">>;
|
|
25691
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
25480
25692
|
}, "strip", z.ZodTypeAny, {
|
|
25481
25693
|
role: "assistant";
|
|
25482
25694
|
name?: string | undefined;
|
|
@@ -25503,6 +25715,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25503
25715
|
id?: string | undefined;
|
|
25504
25716
|
content?: string | undefined;
|
|
25505
25717
|
}[] | undefined;
|
|
25718
|
+
reasoning_signature?: string | undefined;
|
|
25506
25719
|
}, {
|
|
25507
25720
|
role: "assistant";
|
|
25508
25721
|
name?: string | undefined;
|
|
@@ -25529,6 +25742,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25529
25742
|
id?: string | undefined;
|
|
25530
25743
|
content?: string | undefined;
|
|
25531
25744
|
}[] | undefined;
|
|
25745
|
+
reasoning_signature?: string | undefined;
|
|
25532
25746
|
}>, z.ZodObject<{
|
|
25533
25747
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
25534
25748
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -25705,6 +25919,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25705
25919
|
id?: string | undefined;
|
|
25706
25920
|
content?: string | undefined;
|
|
25707
25921
|
}[] | undefined;
|
|
25922
|
+
reasoning_signature?: string | undefined;
|
|
25708
25923
|
} | {
|
|
25709
25924
|
role: "tool";
|
|
25710
25925
|
content: string | {
|
|
@@ -25795,6 +26010,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
25795
26010
|
id?: string | undefined;
|
|
25796
26011
|
content?: string | undefined;
|
|
25797
26012
|
}[] | undefined;
|
|
26013
|
+
reasoning_signature?: string | undefined;
|
|
25798
26014
|
} | {
|
|
25799
26015
|
role: "tool";
|
|
25800
26016
|
content: string | {
|
|
@@ -26699,6 +26915,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
26699
26915
|
id?: string | undefined;
|
|
26700
26916
|
content?: string | undefined;
|
|
26701
26917
|
}[] | undefined;
|
|
26918
|
+
reasoning_signature?: string | undefined;
|
|
26702
26919
|
} | {
|
|
26703
26920
|
role: "tool";
|
|
26704
26921
|
content: string | {
|
|
@@ -26948,6 +27165,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
26948
27165
|
id?: string | undefined;
|
|
26949
27166
|
content?: string | undefined;
|
|
26950
27167
|
}[] | undefined;
|
|
27168
|
+
reasoning_signature?: string | undefined;
|
|
26951
27169
|
} | {
|
|
26952
27170
|
role: "tool";
|
|
26953
27171
|
content: string | {
|
|
@@ -27202,6 +27420,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
27202
27420
|
id?: string | undefined;
|
|
27203
27421
|
content?: string | undefined;
|
|
27204
27422
|
}[] | undefined;
|
|
27423
|
+
reasoning_signature?: string | undefined;
|
|
27205
27424
|
} | {
|
|
27206
27425
|
role: "tool";
|
|
27207
27426
|
content: string | {
|
|
@@ -27455,6 +27674,7 @@ declare const evalParametersSerializedSchema: z.ZodRecord<z.ZodString, z.ZodUnio
|
|
|
27455
27674
|
id?: string | undefined;
|
|
27456
27675
|
content?: string | undefined;
|
|
27457
27676
|
}[] | undefined;
|
|
27677
|
+
reasoning_signature?: string | undefined;
|
|
27458
27678
|
} | {
|
|
27459
27679
|
role: "tool";
|
|
27460
27680
|
content: string | {
|
|
@@ -27891,6 +28111,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27891
28111
|
id?: string | undefined;
|
|
27892
28112
|
content?: string | undefined;
|
|
27893
28113
|
}>, "many">>;
|
|
28114
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
27894
28115
|
}, "strip", z.ZodTypeAny, {
|
|
27895
28116
|
role: "assistant";
|
|
27896
28117
|
name?: string | undefined;
|
|
@@ -27917,6 +28138,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27917
28138
|
id?: string | undefined;
|
|
27918
28139
|
content?: string | undefined;
|
|
27919
28140
|
}[] | undefined;
|
|
28141
|
+
reasoning_signature?: string | undefined;
|
|
27920
28142
|
}, {
|
|
27921
28143
|
role: "assistant";
|
|
27922
28144
|
name?: string | undefined;
|
|
@@ -27943,6 +28165,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
27943
28165
|
id?: string | undefined;
|
|
27944
28166
|
content?: string | undefined;
|
|
27945
28167
|
}[] | undefined;
|
|
28168
|
+
reasoning_signature?: string | undefined;
|
|
27946
28169
|
}>, z.ZodObject<{
|
|
27947
28170
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
27948
28171
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -28119,6 +28342,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
28119
28342
|
id?: string | undefined;
|
|
28120
28343
|
content?: string | undefined;
|
|
28121
28344
|
}[] | undefined;
|
|
28345
|
+
reasoning_signature?: string | undefined;
|
|
28122
28346
|
} | {
|
|
28123
28347
|
role: "tool";
|
|
28124
28348
|
content: string | {
|
|
@@ -28209,6 +28433,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
28209
28433
|
id?: string | undefined;
|
|
28210
28434
|
content?: string | undefined;
|
|
28211
28435
|
}[] | undefined;
|
|
28436
|
+
reasoning_signature?: string | undefined;
|
|
28212
28437
|
} | {
|
|
28213
28438
|
role: "tool";
|
|
28214
28439
|
content: string | {
|
|
@@ -29113,6 +29338,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29113
29338
|
id?: string | undefined;
|
|
29114
29339
|
content?: string | undefined;
|
|
29115
29340
|
}[] | undefined;
|
|
29341
|
+
reasoning_signature?: string | undefined;
|
|
29116
29342
|
} | {
|
|
29117
29343
|
role: "tool";
|
|
29118
29344
|
content: string | {
|
|
@@ -29362,6 +29588,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29362
29588
|
id?: string | undefined;
|
|
29363
29589
|
content?: string | undefined;
|
|
29364
29590
|
}[] | undefined;
|
|
29591
|
+
reasoning_signature?: string | undefined;
|
|
29365
29592
|
} | {
|
|
29366
29593
|
role: "tool";
|
|
29367
29594
|
content: string | {
|
|
@@ -29616,6 +29843,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29616
29843
|
id?: string | undefined;
|
|
29617
29844
|
content?: string | undefined;
|
|
29618
29845
|
}[] | undefined;
|
|
29846
|
+
reasoning_signature?: string | undefined;
|
|
29619
29847
|
} | {
|
|
29620
29848
|
role: "tool";
|
|
29621
29849
|
content: string | {
|
|
@@ -29869,6 +30097,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
29869
30097
|
id?: string | undefined;
|
|
29870
30098
|
content?: string | undefined;
|
|
29871
30099
|
}[] | undefined;
|
|
30100
|
+
reasoning_signature?: string | undefined;
|
|
29872
30101
|
} | {
|
|
29873
30102
|
role: "tool";
|
|
29874
30103
|
content: string | {
|
|
@@ -30153,6 +30382,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30153
30382
|
id?: string | undefined;
|
|
30154
30383
|
content?: string | undefined;
|
|
30155
30384
|
}[] | undefined;
|
|
30385
|
+
reasoning_signature?: string | undefined;
|
|
30156
30386
|
} | {
|
|
30157
30387
|
role: "tool";
|
|
30158
30388
|
content: string | {
|
|
@@ -30419,6 +30649,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30419
30649
|
id?: string | undefined;
|
|
30420
30650
|
content?: string | undefined;
|
|
30421
30651
|
}[] | undefined;
|
|
30652
|
+
reasoning_signature?: string | undefined;
|
|
30422
30653
|
} | {
|
|
30423
30654
|
role: "tool";
|
|
30424
30655
|
content: string | {
|
|
@@ -30747,6 +30978,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30747
30978
|
id?: string | undefined;
|
|
30748
30979
|
content?: string | undefined;
|
|
30749
30980
|
}>, "many">>;
|
|
30981
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
30750
30982
|
}, "strip", z.ZodTypeAny, {
|
|
30751
30983
|
role: "assistant";
|
|
30752
30984
|
name?: string | undefined;
|
|
@@ -30773,6 +31005,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30773
31005
|
id?: string | undefined;
|
|
30774
31006
|
content?: string | undefined;
|
|
30775
31007
|
}[] | undefined;
|
|
31008
|
+
reasoning_signature?: string | undefined;
|
|
30776
31009
|
}, {
|
|
30777
31010
|
role: "assistant";
|
|
30778
31011
|
name?: string | undefined;
|
|
@@ -30799,6 +31032,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30799
31032
|
id?: string | undefined;
|
|
30800
31033
|
content?: string | undefined;
|
|
30801
31034
|
}[] | undefined;
|
|
31035
|
+
reasoning_signature?: string | undefined;
|
|
30802
31036
|
}>, z.ZodObject<{
|
|
30803
31037
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
30804
31038
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -30975,6 +31209,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
30975
31209
|
id?: string | undefined;
|
|
30976
31210
|
content?: string | undefined;
|
|
30977
31211
|
}[] | undefined;
|
|
31212
|
+
reasoning_signature?: string | undefined;
|
|
30978
31213
|
} | {
|
|
30979
31214
|
role: "tool";
|
|
30980
31215
|
content: string | {
|
|
@@ -31065,6 +31300,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
31065
31300
|
id?: string | undefined;
|
|
31066
31301
|
content?: string | undefined;
|
|
31067
31302
|
}[] | undefined;
|
|
31303
|
+
reasoning_signature?: string | undefined;
|
|
31068
31304
|
} | {
|
|
31069
31305
|
role: "tool";
|
|
31070
31306
|
content: string | {
|
|
@@ -31969,6 +32205,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
31969
32205
|
id?: string | undefined;
|
|
31970
32206
|
content?: string | undefined;
|
|
31971
32207
|
}[] | undefined;
|
|
32208
|
+
reasoning_signature?: string | undefined;
|
|
31972
32209
|
} | {
|
|
31973
32210
|
role: "tool";
|
|
31974
32211
|
content: string | {
|
|
@@ -32218,6 +32455,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32218
32455
|
id?: string | undefined;
|
|
32219
32456
|
content?: string | undefined;
|
|
32220
32457
|
}[] | undefined;
|
|
32458
|
+
reasoning_signature?: string | undefined;
|
|
32221
32459
|
} | {
|
|
32222
32460
|
role: "tool";
|
|
32223
32461
|
content: string | {
|
|
@@ -32472,6 +32710,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32472
32710
|
id?: string | undefined;
|
|
32473
32711
|
content?: string | undefined;
|
|
32474
32712
|
}[] | undefined;
|
|
32713
|
+
reasoning_signature?: string | undefined;
|
|
32475
32714
|
} | {
|
|
32476
32715
|
role: "tool";
|
|
32477
32716
|
content: string | {
|
|
@@ -32725,6 +32964,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
32725
32964
|
id?: string | undefined;
|
|
32726
32965
|
content?: string | undefined;
|
|
32727
32966
|
}[] | undefined;
|
|
32967
|
+
reasoning_signature?: string | undefined;
|
|
32728
32968
|
} | {
|
|
32729
32969
|
role: "tool";
|
|
32730
32970
|
content: string | {
|
|
@@ -33021,6 +33261,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33021
33261
|
id?: string | undefined;
|
|
33022
33262
|
content?: string | undefined;
|
|
33023
33263
|
}[] | undefined;
|
|
33264
|
+
reasoning_signature?: string | undefined;
|
|
33024
33265
|
} | {
|
|
33025
33266
|
role: "tool";
|
|
33026
33267
|
content: string | {
|
|
@@ -33300,6 +33541,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33300
33541
|
id?: string | undefined;
|
|
33301
33542
|
content?: string | undefined;
|
|
33302
33543
|
}[] | undefined;
|
|
33544
|
+
reasoning_signature?: string | undefined;
|
|
33303
33545
|
} | {
|
|
33304
33546
|
role: "tool";
|
|
33305
33547
|
content: string | {
|
|
@@ -33572,6 +33814,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33572
33814
|
id?: string | undefined;
|
|
33573
33815
|
content?: string | undefined;
|
|
33574
33816
|
}[] | undefined;
|
|
33817
|
+
reasoning_signature?: string | undefined;
|
|
33575
33818
|
} | {
|
|
33576
33819
|
role: "tool";
|
|
33577
33820
|
content: string | {
|
|
@@ -33851,6 +34094,7 @@ declare const evaluatorDefinitionSchema: z.ZodObject<{
|
|
|
33851
34094
|
id?: string | undefined;
|
|
33852
34095
|
content?: string | undefined;
|
|
33853
34096
|
}[] | undefined;
|
|
34097
|
+
reasoning_signature?: string | undefined;
|
|
33854
34098
|
} | {
|
|
33855
34099
|
role: "tool";
|
|
33856
34100
|
content: string | {
|
|
@@ -34258,6 +34502,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34258
34502
|
id?: string | undefined;
|
|
34259
34503
|
content?: string | undefined;
|
|
34260
34504
|
}>, "many">>;
|
|
34505
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
34261
34506
|
}, "strip", z.ZodTypeAny, {
|
|
34262
34507
|
role: "assistant";
|
|
34263
34508
|
name?: string | undefined;
|
|
@@ -34284,6 +34529,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34284
34529
|
id?: string | undefined;
|
|
34285
34530
|
content?: string | undefined;
|
|
34286
34531
|
}[] | undefined;
|
|
34532
|
+
reasoning_signature?: string | undefined;
|
|
34287
34533
|
}, {
|
|
34288
34534
|
role: "assistant";
|
|
34289
34535
|
name?: string | undefined;
|
|
@@ -34310,6 +34556,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34310
34556
|
id?: string | undefined;
|
|
34311
34557
|
content?: string | undefined;
|
|
34312
34558
|
}[] | undefined;
|
|
34559
|
+
reasoning_signature?: string | undefined;
|
|
34313
34560
|
}>, z.ZodObject<{
|
|
34314
34561
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
34315
34562
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -34486,6 +34733,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34486
34733
|
id?: string | undefined;
|
|
34487
34734
|
content?: string | undefined;
|
|
34488
34735
|
}[] | undefined;
|
|
34736
|
+
reasoning_signature?: string | undefined;
|
|
34489
34737
|
} | {
|
|
34490
34738
|
role: "tool";
|
|
34491
34739
|
content: string | {
|
|
@@ -34576,6 +34824,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
34576
34824
|
id?: string | undefined;
|
|
34577
34825
|
content?: string | undefined;
|
|
34578
34826
|
}[] | undefined;
|
|
34827
|
+
reasoning_signature?: string | undefined;
|
|
34579
34828
|
} | {
|
|
34580
34829
|
role: "tool";
|
|
34581
34830
|
content: string | {
|
|
@@ -35480,6 +35729,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35480
35729
|
id?: string | undefined;
|
|
35481
35730
|
content?: string | undefined;
|
|
35482
35731
|
}[] | undefined;
|
|
35732
|
+
reasoning_signature?: string | undefined;
|
|
35483
35733
|
} | {
|
|
35484
35734
|
role: "tool";
|
|
35485
35735
|
content: string | {
|
|
@@ -35729,6 +35979,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35729
35979
|
id?: string | undefined;
|
|
35730
35980
|
content?: string | undefined;
|
|
35731
35981
|
}[] | undefined;
|
|
35982
|
+
reasoning_signature?: string | undefined;
|
|
35732
35983
|
} | {
|
|
35733
35984
|
role: "tool";
|
|
35734
35985
|
content: string | {
|
|
@@ -35983,6 +36234,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
35983
36234
|
id?: string | undefined;
|
|
35984
36235
|
content?: string | undefined;
|
|
35985
36236
|
}[] | undefined;
|
|
36237
|
+
reasoning_signature?: string | undefined;
|
|
35986
36238
|
} | {
|
|
35987
36239
|
role: "tool";
|
|
35988
36240
|
content: string | {
|
|
@@ -36236,6 +36488,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36236
36488
|
id?: string | undefined;
|
|
36237
36489
|
content?: string | undefined;
|
|
36238
36490
|
}[] | undefined;
|
|
36491
|
+
reasoning_signature?: string | undefined;
|
|
36239
36492
|
} | {
|
|
36240
36493
|
role: "tool";
|
|
36241
36494
|
content: string | {
|
|
@@ -36520,6 +36773,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36520
36773
|
id?: string | undefined;
|
|
36521
36774
|
content?: string | undefined;
|
|
36522
36775
|
}[] | undefined;
|
|
36776
|
+
reasoning_signature?: string | undefined;
|
|
36523
36777
|
} | {
|
|
36524
36778
|
role: "tool";
|
|
36525
36779
|
content: string | {
|
|
@@ -36786,6 +37040,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
36786
37040
|
id?: string | undefined;
|
|
36787
37041
|
content?: string | undefined;
|
|
36788
37042
|
}[] | undefined;
|
|
37043
|
+
reasoning_signature?: string | undefined;
|
|
36789
37044
|
} | {
|
|
36790
37045
|
role: "tool";
|
|
36791
37046
|
content: string | {
|
|
@@ -37114,6 +37369,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37114
37369
|
id?: string | undefined;
|
|
37115
37370
|
content?: string | undefined;
|
|
37116
37371
|
}>, "many">>;
|
|
37372
|
+
reasoning_signature: z.ZodOptional<z.ZodString>;
|
|
37117
37373
|
}, "strip", z.ZodTypeAny, {
|
|
37118
37374
|
role: "assistant";
|
|
37119
37375
|
name?: string | undefined;
|
|
@@ -37140,6 +37396,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37140
37396
|
id?: string | undefined;
|
|
37141
37397
|
content?: string | undefined;
|
|
37142
37398
|
}[] | undefined;
|
|
37399
|
+
reasoning_signature?: string | undefined;
|
|
37143
37400
|
}, {
|
|
37144
37401
|
role: "assistant";
|
|
37145
37402
|
name?: string | undefined;
|
|
@@ -37166,6 +37423,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37166
37423
|
id?: string | undefined;
|
|
37167
37424
|
content?: string | undefined;
|
|
37168
37425
|
}[] | undefined;
|
|
37426
|
+
reasoning_signature?: string | undefined;
|
|
37169
37427
|
}>, z.ZodObject<{
|
|
37170
37428
|
content: z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodObject<{
|
|
37171
37429
|
text: z.ZodDefault<z.ZodString>;
|
|
@@ -37342,6 +37600,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37342
37600
|
id?: string | undefined;
|
|
37343
37601
|
content?: string | undefined;
|
|
37344
37602
|
}[] | undefined;
|
|
37603
|
+
reasoning_signature?: string | undefined;
|
|
37345
37604
|
} | {
|
|
37346
37605
|
role: "tool";
|
|
37347
37606
|
content: string | {
|
|
@@ -37432,6 +37691,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
37432
37691
|
id?: string | undefined;
|
|
37433
37692
|
content?: string | undefined;
|
|
37434
37693
|
}[] | undefined;
|
|
37694
|
+
reasoning_signature?: string | undefined;
|
|
37435
37695
|
} | {
|
|
37436
37696
|
role: "tool";
|
|
37437
37697
|
content: string | {
|
|
@@ -38336,6 +38596,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38336
38596
|
id?: string | undefined;
|
|
38337
38597
|
content?: string | undefined;
|
|
38338
38598
|
}[] | undefined;
|
|
38599
|
+
reasoning_signature?: string | undefined;
|
|
38339
38600
|
} | {
|
|
38340
38601
|
role: "tool";
|
|
38341
38602
|
content: string | {
|
|
@@ -38585,6 +38846,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38585
38846
|
id?: string | undefined;
|
|
38586
38847
|
content?: string | undefined;
|
|
38587
38848
|
}[] | undefined;
|
|
38849
|
+
reasoning_signature?: string | undefined;
|
|
38588
38850
|
} | {
|
|
38589
38851
|
role: "tool";
|
|
38590
38852
|
content: string | {
|
|
@@ -38839,6 +39101,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
38839
39101
|
id?: string | undefined;
|
|
38840
39102
|
content?: string | undefined;
|
|
38841
39103
|
}[] | undefined;
|
|
39104
|
+
reasoning_signature?: string | undefined;
|
|
38842
39105
|
} | {
|
|
38843
39106
|
role: "tool";
|
|
38844
39107
|
content: string | {
|
|
@@ -39092,6 +39355,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39092
39355
|
id?: string | undefined;
|
|
39093
39356
|
content?: string | undefined;
|
|
39094
39357
|
}[] | undefined;
|
|
39358
|
+
reasoning_signature?: string | undefined;
|
|
39095
39359
|
} | {
|
|
39096
39360
|
role: "tool";
|
|
39097
39361
|
content: string | {
|
|
@@ -39388,6 +39652,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39388
39652
|
id?: string | undefined;
|
|
39389
39653
|
content?: string | undefined;
|
|
39390
39654
|
}[] | undefined;
|
|
39655
|
+
reasoning_signature?: string | undefined;
|
|
39391
39656
|
} | {
|
|
39392
39657
|
role: "tool";
|
|
39393
39658
|
content: string | {
|
|
@@ -39667,6 +39932,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39667
39932
|
id?: string | undefined;
|
|
39668
39933
|
content?: string | undefined;
|
|
39669
39934
|
}[] | undefined;
|
|
39935
|
+
reasoning_signature?: string | undefined;
|
|
39670
39936
|
} | {
|
|
39671
39937
|
role: "tool";
|
|
39672
39938
|
content: string | {
|
|
@@ -39939,6 +40205,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
39939
40205
|
id?: string | undefined;
|
|
39940
40206
|
content?: string | undefined;
|
|
39941
40207
|
}[] | undefined;
|
|
40208
|
+
reasoning_signature?: string | undefined;
|
|
39942
40209
|
} | {
|
|
39943
40210
|
role: "tool";
|
|
39944
40211
|
content: string | {
|
|
@@ -40218,6 +40485,7 @@ declare const evaluatorDefinitionsSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
40218
40485
|
id?: string | undefined;
|
|
40219
40486
|
content?: string | undefined;
|
|
40220
40487
|
}[] | undefined;
|
|
40488
|
+
reasoning_signature?: string | undefined;
|
|
40221
40489
|
} | {
|
|
40222
40490
|
role: "tool";
|
|
40223
40491
|
content: string | {
|
|
@@ -40702,7 +40970,7 @@ interface Evaluator<Input, Output, Expected, Metadata extends BaseMetadata = Def
|
|
|
40702
40970
|
*/
|
|
40703
40971
|
baseExperimentId?: string;
|
|
40704
40972
|
/**
|
|
40705
|
-
* Optional settings for collecting git metadata. By default,
|
|
40973
|
+
* Optional settings for collecting git metadata. By default, Braintrust collects the git metadata fields allowed by your organization's git metadata settings. If those settings are absent, git metadata is not collected unless this option is set.
|
|
40706
40974
|
*/
|
|
40707
40975
|
gitMetadataSettings?: GitMetadataSettingsType;
|
|
40708
40976
|
/**
|
|
@@ -40861,33 +41129,46 @@ type ScoreAccumulator = {
|
|
|
40861
41129
|
declare function buildLocalSummary(evaluator: EvaluatorDef<any, any, any, any>, results: EvalResult<any, any, any, any>[], precomputedScores?: ScoreAccumulator): ExperimentSummary;
|
|
40862
41130
|
declare function reportFailures<Input, Output, Expected, Metadata extends BaseMetadata>(evaluator: EvaluatorDef<Input, Output, Expected, Metadata>, failingResults: EvalResult<Input, Output, Expected, Metadata>[], { verbose, jsonl }: ReporterOpts): void;
|
|
40863
41131
|
|
|
40864
|
-
|
|
40865
|
-
|
|
40866
|
-
|
|
40867
|
-
|
|
40868
|
-
|
|
40869
|
-
|
|
41132
|
+
interface InstrumentationIntegrationsConfig {
|
|
41133
|
+
openai?: boolean;
|
|
41134
|
+
anthropic?: boolean;
|
|
41135
|
+
vercel?: boolean;
|
|
41136
|
+
aisdk?: boolean;
|
|
41137
|
+
google?: boolean;
|
|
41138
|
+
googleGenAI?: boolean;
|
|
41139
|
+
googleADK?: boolean;
|
|
41140
|
+
huggingface?: boolean;
|
|
41141
|
+
claudeAgentSDK?: boolean;
|
|
41142
|
+
cursor?: boolean;
|
|
41143
|
+
cursorSDK?: boolean;
|
|
41144
|
+
flue?: boolean;
|
|
41145
|
+
openAIAgents?: boolean;
|
|
41146
|
+
openrouter?: boolean;
|
|
41147
|
+
openrouterAgent?: boolean;
|
|
41148
|
+
mistral?: boolean;
|
|
41149
|
+
cohere?: boolean;
|
|
41150
|
+
groq?: boolean;
|
|
41151
|
+
genkit?: boolean;
|
|
41152
|
+
gitHubCopilot?: boolean;
|
|
41153
|
+
openaiCodexSDK?: boolean;
|
|
41154
|
+
langchain?: boolean;
|
|
41155
|
+
langgraph?: boolean;
|
|
41156
|
+
}
|
|
40870
41157
|
interface InstrumentationConfig {
|
|
40871
41158
|
/**
|
|
40872
41159
|
* Configuration for individual SDK integrations.
|
|
40873
41160
|
* Set to false to disable instrumentation for that SDK.
|
|
40874
41161
|
*/
|
|
40875
|
-
integrations?:
|
|
40876
|
-
openai?: boolean;
|
|
40877
|
-
anthropic?: boolean;
|
|
40878
|
-
vercel?: boolean;
|
|
40879
|
-
aisdk?: boolean;
|
|
40880
|
-
google?: boolean;
|
|
40881
|
-
huggingface?: boolean;
|
|
40882
|
-
claudeAgentSDK?: boolean;
|
|
40883
|
-
cursor?: boolean;
|
|
40884
|
-
cursorSDK?: boolean;
|
|
40885
|
-
openrouter?: boolean;
|
|
40886
|
-
openrouterAgent?: boolean;
|
|
40887
|
-
mistral?: boolean;
|
|
40888
|
-
cohere?: boolean;
|
|
40889
|
-
};
|
|
41162
|
+
integrations?: InstrumentationIntegrationsConfig;
|
|
40890
41163
|
}
|
|
41164
|
+
|
|
41165
|
+
/**
|
|
41166
|
+
* Plugin registry and configuration for auto-instrumentation.
|
|
41167
|
+
*
|
|
41168
|
+
* Plugins are automatically enabled when the Braintrust library is loaded.
|
|
41169
|
+
* Users can disable specific integrations programmatically or via environment variables.
|
|
41170
|
+
*/
|
|
41171
|
+
|
|
40891
41172
|
/**
|
|
40892
41173
|
* Configure auto-instrumentation.
|
|
40893
41174
|
*
|
|
@@ -40917,269 +41198,278 @@ interface InstrumentationConfig {
|
|
|
40917
41198
|
*/
|
|
40918
41199
|
declare function configureInstrumentation(config: InstrumentationConfig): void;
|
|
40919
41200
|
|
|
40920
|
-
type
|
|
40921
|
-
type
|
|
40922
|
-
declare const
|
|
40923
|
-
type
|
|
40924
|
-
declare const
|
|
40925
|
-
declare const
|
|
40926
|
-
|
|
40927
|
-
type
|
|
40928
|
-
|
|
40929
|
-
declare const
|
|
40930
|
-
|
|
40931
|
-
|
|
40932
|
-
type
|
|
40933
|
-
declare const
|
|
40934
|
-
|
|
40935
|
-
|
|
40936
|
-
|
|
40937
|
-
type
|
|
40938
|
-
declare const
|
|
40939
|
-
type
|
|
40940
|
-
type
|
|
40941
|
-
declare const
|
|
40942
|
-
type
|
|
40943
|
-
type
|
|
40944
|
-
declare const
|
|
40945
|
-
type
|
|
40946
|
-
type
|
|
40947
|
-
|
|
40948
|
-
type
|
|
40949
|
-
type
|
|
40950
|
-
|
|
40951
|
-
type
|
|
40952
|
-
type
|
|
40953
|
-
|
|
40954
|
-
|
|
40955
|
-
|
|
40956
|
-
type
|
|
40957
|
-
|
|
40958
|
-
declare const
|
|
40959
|
-
type
|
|
40960
|
-
type
|
|
40961
|
-
|
|
40962
|
-
type
|
|
40963
|
-
type
|
|
40964
|
-
type
|
|
40965
|
-
|
|
40966
|
-
type
|
|
40967
|
-
|
|
40968
|
-
|
|
40969
|
-
type
|
|
40970
|
-
|
|
40971
|
-
type
|
|
40972
|
-
type
|
|
40973
|
-
type
|
|
40974
|
-
type
|
|
40975
|
-
|
|
40976
|
-
type
|
|
40977
|
-
type
|
|
40978
|
-
|
|
40979
|
-
type
|
|
40980
|
-
type
|
|
40981
|
-
type
|
|
40982
|
-
type
|
|
40983
|
-
type
|
|
40984
|
-
type
|
|
40985
|
-
type
|
|
40986
|
-
|
|
40987
|
-
type
|
|
40988
|
-
type
|
|
40989
|
-
|
|
40990
|
-
type
|
|
40991
|
-
type
|
|
40992
|
-
|
|
40993
|
-
type
|
|
40994
|
-
type
|
|
40995
|
-
declare const
|
|
40996
|
-
type
|
|
40997
|
-
type
|
|
40998
|
-
|
|
40999
|
-
type
|
|
41000
|
-
type
|
|
41001
|
-
type
|
|
41002
|
-
|
|
41003
|
-
type
|
|
41004
|
-
type
|
|
41005
|
-
|
|
41006
|
-
type
|
|
41007
|
-
type
|
|
41008
|
-
type
|
|
41009
|
-
type
|
|
41010
|
-
type
|
|
41011
|
-
type
|
|
41012
|
-
|
|
41013
|
-
|
|
41014
|
-
|
|
41015
|
-
|
|
41016
|
-
declare const
|
|
41017
|
-
|
|
41018
|
-
type
|
|
41019
|
-
type
|
|
41020
|
-
|
|
41021
|
-
type
|
|
41022
|
-
|
|
41023
|
-
type
|
|
41024
|
-
|
|
41025
|
-
type
|
|
41026
|
-
|
|
41027
|
-
type
|
|
41028
|
-
|
|
41029
|
-
|
|
41030
|
-
|
|
41031
|
-
type
|
|
41032
|
-
|
|
41033
|
-
|
|
41034
|
-
declare const
|
|
41035
|
-
type
|
|
41036
|
-
|
|
41037
|
-
type
|
|
41038
|
-
|
|
41039
|
-
type
|
|
41040
|
-
type
|
|
41041
|
-
|
|
41042
|
-
type
|
|
41043
|
-
|
|
41044
|
-
type
|
|
41045
|
-
|
|
41046
|
-
|
|
41047
|
-
|
|
41048
|
-
|
|
41049
|
-
type
|
|
41050
|
-
|
|
41051
|
-
type
|
|
41052
|
-
|
|
41053
|
-
type
|
|
41054
|
-
type
|
|
41055
|
-
|
|
41056
|
-
type
|
|
41057
|
-
|
|
41058
|
-
type
|
|
41059
|
-
|
|
41060
|
-
|
|
41061
|
-
|
|
41062
|
-
type
|
|
41063
|
-
type
|
|
41064
|
-
|
|
41065
|
-
|
|
41066
|
-
type
|
|
41067
|
-
type
|
|
41068
|
-
type
|
|
41069
|
-
|
|
41070
|
-
type
|
|
41071
|
-
type
|
|
41072
|
-
type
|
|
41073
|
-
|
|
41074
|
-
type
|
|
41075
|
-
|
|
41076
|
-
type
|
|
41077
|
-
|
|
41078
|
-
type
|
|
41079
|
-
|
|
41080
|
-
type
|
|
41081
|
-
|
|
41082
|
-
type
|
|
41083
|
-
|
|
41084
|
-
type
|
|
41085
|
-
|
|
41086
|
-
|
|
41087
|
-
|
|
41088
|
-
|
|
41089
|
-
|
|
41090
|
-
declare const
|
|
41091
|
-
|
|
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 };
|
|
41201
|
+
type exports$1_AnyDataset = AnyDataset;
|
|
41202
|
+
type exports$1_Attachment = Attachment;
|
|
41203
|
+
declare const exports$1_Attachment: typeof Attachment;
|
|
41204
|
+
type exports$1_AttachmentParams = AttachmentParams;
|
|
41205
|
+
declare const exports$1_AttachmentReference: typeof AttachmentReference;
|
|
41206
|
+
declare const exports$1_BRAINTRUST_CURRENT_SPAN_STORE: typeof BRAINTRUST_CURRENT_SPAN_STORE;
|
|
41207
|
+
declare const exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME: typeof BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME;
|
|
41208
|
+
type exports$1_BackgroundLoggerOpts = BackgroundLoggerOpts;
|
|
41209
|
+
type exports$1_BaseAttachment = BaseAttachment;
|
|
41210
|
+
declare const exports$1_BaseAttachment: typeof BaseAttachment;
|
|
41211
|
+
declare const exports$1_BaseExperiment: typeof BaseExperiment;
|
|
41212
|
+
type exports$1_BaseMetadata = BaseMetadata;
|
|
41213
|
+
type exports$1_BraintrustLangChainCallbackHandler<IsAsyncFlush extends boolean = true> = BraintrustLangChainCallbackHandler<IsAsyncFlush>;
|
|
41214
|
+
declare const exports$1_BraintrustLangChainCallbackHandler: typeof BraintrustLangChainCallbackHandler;
|
|
41215
|
+
declare const exports$1_BraintrustMiddleware: typeof BraintrustMiddleware;
|
|
41216
|
+
type exports$1_BraintrustState = BraintrustState;
|
|
41217
|
+
declare const exports$1_BraintrustState: typeof BraintrustState;
|
|
41218
|
+
type exports$1_BraintrustStream = BraintrustStream;
|
|
41219
|
+
declare const exports$1_BraintrustStream: typeof BraintrustStream;
|
|
41220
|
+
type exports$1_BraintrustStreamChunk = BraintrustStreamChunk;
|
|
41221
|
+
type exports$1_CachedSpanFetcher = CachedSpanFetcher;
|
|
41222
|
+
declare const exports$1_CachedSpanFetcher: typeof CachedSpanFetcher;
|
|
41223
|
+
type exports$1_ChatPrompt = ChatPrompt;
|
|
41224
|
+
type exports$1_CodeFunction<Input, Output, Fn extends GenericFunction<Input, Output>> = CodeFunction<Input, Output, Fn>;
|
|
41225
|
+
declare const exports$1_CodeFunction: typeof CodeFunction;
|
|
41226
|
+
type exports$1_CodeOpts<Params, Returns, Fn extends GenericFunction<Params, Returns>> = CodeOpts<Params, Returns, Fn>;
|
|
41227
|
+
type exports$1_CodePrompt = CodePrompt;
|
|
41228
|
+
declare const exports$1_CodePrompt: typeof CodePrompt;
|
|
41229
|
+
type exports$1_CommentEvent = CommentEvent;
|
|
41230
|
+
type exports$1_CompiledPrompt<Flavor extends "chat" | "completion"> = CompiledPrompt<Flavor>;
|
|
41231
|
+
type exports$1_CompiledPromptParams = CompiledPromptParams;
|
|
41232
|
+
type exports$1_CompletionPrompt = CompletionPrompt;
|
|
41233
|
+
type exports$1_ContextManager = ContextManager;
|
|
41234
|
+
declare const exports$1_ContextManager: typeof ContextManager;
|
|
41235
|
+
type exports$1_ContextParentSpanIds = ContextParentSpanIds;
|
|
41236
|
+
type exports$1_CreateProjectOpts = CreateProjectOpts;
|
|
41237
|
+
type exports$1_CurrentSpanStore = CurrentSpanStore;
|
|
41238
|
+
declare const exports$1_DEFAULT_FETCH_BATCH_SIZE: typeof DEFAULT_FETCH_BATCH_SIZE;
|
|
41239
|
+
declare const exports$1_DEFAULT_MAX_REQUEST_SIZE: typeof DEFAULT_MAX_REQUEST_SIZE;
|
|
41240
|
+
type exports$1_DataSummary = DataSummary;
|
|
41241
|
+
type exports$1_Dataset<IsLegacyDataset extends boolean = typeof DEFAULT_IS_LEGACY_DATASET> = Dataset<IsLegacyDataset>;
|
|
41242
|
+
declare const exports$1_Dataset: typeof Dataset;
|
|
41243
|
+
type exports$1_DatasetRecord<IsLegacyDataset extends boolean = typeof DEFAULT_IS_LEGACY_DATASET> = DatasetRecord<IsLegacyDataset>;
|
|
41244
|
+
type exports$1_DatasetRestorePreviewResult = DatasetRestorePreviewResult;
|
|
41245
|
+
type exports$1_DatasetRestoreResult = DatasetRestoreResult;
|
|
41246
|
+
type exports$1_DatasetSummary = DatasetSummary;
|
|
41247
|
+
type exports$1_DefaultMetadataType = DefaultMetadataType;
|
|
41248
|
+
type exports$1_DefaultPromptArgs = DefaultPromptArgs;
|
|
41249
|
+
declare const exports$1_ERR_PERMALINK: typeof ERR_PERMALINK;
|
|
41250
|
+
type exports$1_EndSpanArgs = EndSpanArgs;
|
|
41251
|
+
declare const exports$1_Eval: typeof Eval;
|
|
41252
|
+
type exports$1_EvalCase<Input, Expected, Metadata> = EvalCase<Input, Expected, Metadata>;
|
|
41253
|
+
type exports$1_EvalClassifier<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalClassifier<Input, Output, Expected, Metadata>;
|
|
41254
|
+
type exports$1_EvalHooks<Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters> = EvalHooks<Expected, Metadata, Parameters>;
|
|
41255
|
+
type exports$1_EvalParameterSerializedSchema = EvalParameterSerializedSchema;
|
|
41256
|
+
type exports$1_EvalParameters = EvalParameters;
|
|
41257
|
+
type exports$1_EvalResult<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalResult<Input, Output, Expected, Metadata>;
|
|
41258
|
+
type exports$1_EvalResultWithSummary<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalResultWithSummary<Input, Output, Expected, Metadata>;
|
|
41259
|
+
declare const exports$1_EvalResultWithSummary: typeof EvalResultWithSummary;
|
|
41260
|
+
type exports$1_EvalScorer<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalScorer<Input, Output, Expected, Metadata>;
|
|
41261
|
+
type exports$1_EvalScorerArgs<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType> = EvalScorerArgs<Input, Output, Expected, Metadata>;
|
|
41262
|
+
type exports$1_EvalTask<Input, Output, Expected, Metadata extends BaseMetadata, Parameters extends EvalParameters> = EvalTask<Input, Output, Expected, Metadata, Parameters>;
|
|
41263
|
+
type exports$1_Evaluator<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters> = Evaluator<Input, Output, Expected, Metadata, Parameters>;
|
|
41264
|
+
type exports$1_EvaluatorDef<Input, Output, Expected, Metadata extends BaseMetadata = DefaultMetadataType, Parameters extends EvalParameters = EvalParameters> = EvaluatorDef<Input, Output, Expected, Metadata, Parameters>;
|
|
41265
|
+
type exports$1_EvaluatorDefinition = EvaluatorDefinition;
|
|
41266
|
+
type exports$1_EvaluatorDefinitions = EvaluatorDefinitions;
|
|
41267
|
+
type exports$1_EvaluatorFile = EvaluatorFile;
|
|
41268
|
+
type exports$1_EvaluatorManifest = EvaluatorManifest;
|
|
41269
|
+
type exports$1_Experiment = Experiment;
|
|
41270
|
+
declare const exports$1_Experiment: typeof Experiment;
|
|
41271
|
+
type exports$1_ExperimentLogFullArgs = ExperimentLogFullArgs;
|
|
41272
|
+
type exports$1_ExperimentLogPartialArgs = ExperimentLogPartialArgs;
|
|
41273
|
+
type exports$1_ExperimentSummary = ExperimentSummary;
|
|
41274
|
+
type exports$1_Exportable = Exportable;
|
|
41275
|
+
type exports$1_ExternalAttachment = ExternalAttachment;
|
|
41276
|
+
declare const exports$1_ExternalAttachment: typeof ExternalAttachment;
|
|
41277
|
+
type exports$1_ExternalAttachmentParams = ExternalAttachmentParams;
|
|
41278
|
+
type exports$1_FailedHTTPResponse = FailedHTTPResponse;
|
|
41279
|
+
declare const exports$1_FailedHTTPResponse: typeof FailedHTTPResponse;
|
|
41280
|
+
type exports$1_FullInitDatasetOptions<IsLegacyDataset extends boolean> = FullInitDatasetOptions<IsLegacyDataset>;
|
|
41281
|
+
type exports$1_FullInitOptions<IsOpen extends boolean> = FullInitOptions<IsOpen>;
|
|
41282
|
+
type exports$1_FullLoginOptions = FullLoginOptions;
|
|
41283
|
+
type exports$1_FunctionEvent = FunctionEvent;
|
|
41284
|
+
type exports$1_GetThreadOptions = GetThreadOptions;
|
|
41285
|
+
type exports$1_IDGenerator = IDGenerator;
|
|
41286
|
+
declare const exports$1_IDGenerator: typeof IDGenerator;
|
|
41287
|
+
type exports$1_IdField = IdField;
|
|
41288
|
+
type exports$1_InitDatasetOptions<IsLegacyDataset extends boolean> = InitDatasetOptions<IsLegacyDataset>;
|
|
41289
|
+
type exports$1_InitLoggerOptions<IsAsyncFlush> = InitLoggerOptions<IsAsyncFlush>;
|
|
41290
|
+
type exports$1_InitOptions<IsOpen extends boolean> = InitOptions<IsOpen>;
|
|
41291
|
+
type exports$1_InputField = InputField;
|
|
41292
|
+
type exports$1_InstrumentationConfig = InstrumentationConfig;
|
|
41293
|
+
type exports$1_InvokeFunctionArgs<Input, Output, Stream extends boolean = false> = InvokeFunctionArgs<Input, Output, Stream>;
|
|
41294
|
+
type exports$1_InvokeReturn<Stream extends boolean, Output> = InvokeReturn<Stream, Output>;
|
|
41295
|
+
type exports$1_JSONAttachment = JSONAttachment;
|
|
41296
|
+
declare const exports$1_JSONAttachment: typeof JSONAttachment;
|
|
41297
|
+
declare const exports$1_LEGACY_CACHED_HEADER: typeof LEGACY_CACHED_HEADER;
|
|
41298
|
+
declare const exports$1_LOGS3_OVERFLOW_REFERENCE_TYPE: typeof LOGS3_OVERFLOW_REFERENCE_TYPE;
|
|
41299
|
+
type exports$1_LangChainCallbackHandlerOptions<IsAsyncFlush extends boolean> = LangChainCallbackHandlerOptions<IsAsyncFlush>;
|
|
41300
|
+
type exports$1_LazyValue<T> = LazyValue<T>;
|
|
41301
|
+
declare const exports$1_LazyValue: typeof LazyValue;
|
|
41302
|
+
type exports$1_LoadPromptOptions = LoadPromptOptions;
|
|
41303
|
+
type exports$1_LogCommentFullArgs = LogCommentFullArgs;
|
|
41304
|
+
type exports$1_LogFeedbackFullArgs = LogFeedbackFullArgs;
|
|
41305
|
+
type exports$1_LogOptions<IsAsyncFlush> = LogOptions<IsAsyncFlush>;
|
|
41306
|
+
type exports$1_Logger<IsAsyncFlush extends boolean> = Logger<IsAsyncFlush>;
|
|
41307
|
+
declare const exports$1_Logger: typeof Logger;
|
|
41308
|
+
type exports$1_LoginInvalidOrgError = LoginInvalidOrgError;
|
|
41309
|
+
declare const exports$1_LoginInvalidOrgError: typeof LoginInvalidOrgError;
|
|
41310
|
+
type exports$1_LoginOptions = LoginOptions;
|
|
41311
|
+
type exports$1_Logs3OverflowInputRow = Logs3OverflowInputRow;
|
|
41312
|
+
type exports$1_Logs3OverflowUpload = Logs3OverflowUpload;
|
|
41313
|
+
type exports$1_MetricSummary = MetricSummary;
|
|
41314
|
+
declare const exports$1_NOOP_SPAN: typeof NOOP_SPAN;
|
|
41315
|
+
declare const exports$1_NOOP_SPAN_PERMALINK: typeof NOOP_SPAN_PERMALINK;
|
|
41316
|
+
type exports$1_NoopSpan = NoopSpan;
|
|
41317
|
+
declare const exports$1_NoopSpan: typeof NoopSpan;
|
|
41318
|
+
type exports$1_ObjectFetcher<RecordType> = ObjectFetcher<RecordType>;
|
|
41319
|
+
declare const exports$1_ObjectFetcher: typeof ObjectFetcher;
|
|
41320
|
+
type exports$1_ObjectMetadata = ObjectMetadata;
|
|
41321
|
+
type exports$1_OtherExperimentLogFields = OtherExperimentLogFields;
|
|
41322
|
+
type exports$1_ParametersSource = ParametersSource;
|
|
41323
|
+
type exports$1_ParentExperimentIds = ParentExperimentIds;
|
|
41324
|
+
type exports$1_ParentProjectLogIds = ParentProjectLogIds;
|
|
41325
|
+
type exports$1_Project = Project;
|
|
41326
|
+
declare const exports$1_Project: typeof Project;
|
|
41327
|
+
type exports$1_ProjectNameIdMap = ProjectNameIdMap;
|
|
41328
|
+
declare const exports$1_ProjectNameIdMap: typeof ProjectNameIdMap;
|
|
41329
|
+
type exports$1_PromiseUnless<B, R> = PromiseUnless<B, R>;
|
|
41330
|
+
type exports$1_Prompt<HasId extends boolean = true, HasVersion extends boolean = true> = Prompt<HasId, HasVersion>;
|
|
41331
|
+
declare const exports$1_Prompt: typeof Prompt;
|
|
41332
|
+
type exports$1_PromptBuilder = PromptBuilder;
|
|
41333
|
+
declare const exports$1_PromptBuilder: typeof PromptBuilder;
|
|
41334
|
+
type exports$1_PromptContents = PromptContents;
|
|
41335
|
+
type exports$1_PromptDefinition = PromptDefinition;
|
|
41336
|
+
type exports$1_PromptDefinitionWithTools = PromptDefinitionWithTools;
|
|
41337
|
+
type exports$1_PromptOpts<HasId extends boolean, HasVersion extends boolean, HasTools extends boolean = true, HasNoTrace extends boolean = true> = PromptOpts<HasId, HasVersion, HasTools, HasNoTrace>;
|
|
41338
|
+
type exports$1_PromptRowWithId<HasId extends boolean = true, HasVersion extends boolean = true> = PromptRowWithId<HasId, HasVersion>;
|
|
41339
|
+
type exports$1_ReadonlyAttachment = ReadonlyAttachment;
|
|
41340
|
+
declare const exports$1_ReadonlyAttachment: typeof ReadonlyAttachment;
|
|
41341
|
+
type exports$1_ReadonlyExperiment = ReadonlyExperiment;
|
|
41342
|
+
declare const exports$1_ReadonlyExperiment: typeof ReadonlyExperiment;
|
|
41343
|
+
type exports$1_RegisterSandboxOptions = RegisterSandboxOptions;
|
|
41344
|
+
type exports$1_RegisterSandboxResult = RegisterSandboxResult;
|
|
41345
|
+
declare const exports$1_Reporter: typeof Reporter;
|
|
41346
|
+
type exports$1_ReporterBody<EvalReport> = ReporterBody<EvalReport>;
|
|
41347
|
+
type exports$1_SandboxConfig = SandboxConfig;
|
|
41348
|
+
type exports$1_ScoreSummary = ScoreSummary;
|
|
41349
|
+
type exports$1_ScorerBuilder = ScorerBuilder;
|
|
41350
|
+
declare const exports$1_ScorerBuilder: typeof ScorerBuilder;
|
|
41351
|
+
type exports$1_ScorerOpts<Output, Input, Params, Returns, Fn extends GenericFunction<Exact<Params, ScorerArgs<Output, Input>>, Returns>> = ScorerOpts<Output, Input, Params, Returns, Fn>;
|
|
41352
|
+
type exports$1_SerializedBraintrustState = SerializedBraintrustState;
|
|
41353
|
+
type exports$1_SetCurrentArg = SetCurrentArg;
|
|
41354
|
+
type exports$1_Span = Span;
|
|
41355
|
+
type exports$1_SpanContext = SpanContext;
|
|
41356
|
+
type exports$1_SpanData = SpanData;
|
|
41357
|
+
type exports$1_SpanFetcher = SpanFetcher;
|
|
41358
|
+
declare const exports$1_SpanFetcher: typeof SpanFetcher;
|
|
41359
|
+
type exports$1_SpanImpl = SpanImpl;
|
|
41360
|
+
declare const exports$1_SpanImpl: typeof SpanImpl;
|
|
41361
|
+
type exports$1_StartSpanArgs = StartSpanArgs;
|
|
41362
|
+
type exports$1_TemplateFormat = TemplateFormat;
|
|
41363
|
+
type exports$1_TemplateRenderer = TemplateRenderer;
|
|
41364
|
+
type exports$1_TemplateRendererPlugin = TemplateRendererPlugin;
|
|
41365
|
+
type exports$1_TestBackgroundLogger = TestBackgroundLogger;
|
|
41366
|
+
declare const exports$1_TestBackgroundLogger: typeof TestBackgroundLogger;
|
|
41367
|
+
type exports$1_ToolBuilder = ToolBuilder;
|
|
41368
|
+
declare const exports$1_ToolBuilder: typeof ToolBuilder;
|
|
41369
|
+
type exports$1_Trace = Trace;
|
|
41370
|
+
type exports$1_UUIDGenerator = UUIDGenerator;
|
|
41371
|
+
declare const exports$1_UUIDGenerator: typeof UUIDGenerator;
|
|
41372
|
+
type exports$1_WithTransactionId<R> = WithTransactionId<R>;
|
|
41373
|
+
declare const exports$1_X_CACHED_HEADER: typeof X_CACHED_HEADER;
|
|
41374
|
+
declare const exports$1__exportsForTestingOnly: typeof _exportsForTestingOnly;
|
|
41375
|
+
declare const exports$1__internalGetGlobalState: typeof _internalGetGlobalState;
|
|
41376
|
+
declare const exports$1__internalSetInitialState: typeof _internalSetInitialState;
|
|
41377
|
+
declare const exports$1_addAzureBlobHeaders: typeof addAzureBlobHeaders;
|
|
41378
|
+
declare const exports$1_braintrustStreamChunkSchema: typeof braintrustStreamChunkSchema;
|
|
41379
|
+
declare const exports$1_buildLocalSummary: typeof buildLocalSummary;
|
|
41380
|
+
declare const exports$1_configureInstrumentation: typeof configureInstrumentation;
|
|
41381
|
+
declare const exports$1_constructLogs3OverflowRequest: typeof constructLogs3OverflowRequest;
|
|
41382
|
+
declare const exports$1_createFinalValuePassThroughStream: typeof createFinalValuePassThroughStream;
|
|
41383
|
+
declare const exports$1_currentExperiment: typeof currentExperiment;
|
|
41384
|
+
declare const exports$1_currentLogger: typeof currentLogger;
|
|
41385
|
+
declare const exports$1_currentSpan: typeof currentSpan;
|
|
41386
|
+
declare const exports$1_deepCopyEvent: typeof deepCopyEvent;
|
|
41387
|
+
declare const exports$1_defaultErrorScoreHandler: typeof defaultErrorScoreHandler;
|
|
41388
|
+
declare const exports$1_deserializePlainStringAsJSON: typeof deserializePlainStringAsJSON;
|
|
41389
|
+
declare const exports$1_devNullWritableStream: typeof devNullWritableStream;
|
|
41390
|
+
declare const exports$1_evaluatorDefinitionSchema: typeof evaluatorDefinitionSchema;
|
|
41391
|
+
declare const exports$1_evaluatorDefinitionsSchema: typeof evaluatorDefinitionsSchema;
|
|
41392
|
+
declare const exports$1_flush: typeof flush;
|
|
41393
|
+
declare const exports$1_getContextManager: typeof getContextManager;
|
|
41394
|
+
declare const exports$1_getIdGenerator: typeof getIdGenerator;
|
|
41395
|
+
declare const exports$1_getPromptVersions: typeof getPromptVersions;
|
|
41396
|
+
declare const exports$1_getSpanParentObject: typeof getSpanParentObject;
|
|
41397
|
+
declare const exports$1_getTemplateRenderer: typeof getTemplateRenderer;
|
|
41398
|
+
declare const exports$1_init: typeof init;
|
|
41399
|
+
declare const exports$1_initDataset: typeof initDataset;
|
|
41400
|
+
declare const exports$1_initExperiment: typeof initExperiment;
|
|
41401
|
+
declare const exports$1_initFunction: typeof initFunction;
|
|
41402
|
+
declare const exports$1_initLogger: typeof initLogger;
|
|
41403
|
+
declare const exports$1_initNodeTestSuite: typeof initNodeTestSuite;
|
|
41404
|
+
declare const exports$1_invoke: typeof invoke;
|
|
41405
|
+
declare const exports$1_isTemplateFormat: typeof isTemplateFormat;
|
|
41406
|
+
declare const exports$1_loadParameters: typeof loadParameters;
|
|
41407
|
+
declare const exports$1_loadPrompt: typeof loadPrompt;
|
|
41408
|
+
declare const exports$1_log: typeof log;
|
|
41409
|
+
declare const exports$1_logError: typeof logError;
|
|
41410
|
+
declare const exports$1_login: typeof login;
|
|
41411
|
+
declare const exports$1_loginToState: typeof loginToState;
|
|
41412
|
+
declare const exports$1_logs3OverflowUploadSchema: typeof logs3OverflowUploadSchema;
|
|
41413
|
+
declare const exports$1_newId: typeof newId;
|
|
41414
|
+
declare const exports$1_parseCachedHeader: typeof parseCachedHeader;
|
|
41415
|
+
declare const exports$1_parseTemplateFormat: typeof parseTemplateFormat;
|
|
41416
|
+
declare const exports$1_permalink: typeof permalink;
|
|
41417
|
+
declare const exports$1_pickLogs3OverflowObjectIds: typeof pickLogs3OverflowObjectIds;
|
|
41418
|
+
declare const exports$1_projects: typeof projects;
|
|
41419
|
+
declare const exports$1_promptContentsSchema: typeof promptContentsSchema;
|
|
41420
|
+
declare const exports$1_promptDefinitionSchema: typeof promptDefinitionSchema;
|
|
41421
|
+
declare const exports$1_promptDefinitionToPromptData: typeof promptDefinitionToPromptData;
|
|
41422
|
+
declare const exports$1_promptDefinitionWithToolsSchema: typeof promptDefinitionWithToolsSchema;
|
|
41423
|
+
declare const exports$1_registerOtelFlush: typeof registerOtelFlush;
|
|
41424
|
+
declare const exports$1_registerSandbox: typeof registerSandbox;
|
|
41425
|
+
declare const exports$1_registerTemplatePlugin: typeof registerTemplatePlugin;
|
|
41426
|
+
declare const exports$1_renderMessage: typeof renderMessage;
|
|
41427
|
+
declare const exports$1_renderPromptParams: typeof renderPromptParams;
|
|
41428
|
+
declare const exports$1_renderTemplateContent: typeof renderTemplateContent;
|
|
41429
|
+
declare const exports$1_reportFailures: typeof reportFailures;
|
|
41430
|
+
declare const exports$1_runEvaluator: typeof runEvaluator;
|
|
41431
|
+
declare const exports$1_setFetch: typeof setFetch;
|
|
41432
|
+
declare const exports$1_setMaskingFunction: typeof setMaskingFunction;
|
|
41433
|
+
declare const exports$1_spanComponentsToObjectId: typeof spanComponentsToObjectId;
|
|
41434
|
+
declare const exports$1_startSpan: typeof startSpan;
|
|
41435
|
+
declare const exports$1_summarize: typeof summarize;
|
|
41436
|
+
declare const exports$1_templateRegistry: typeof templateRegistry;
|
|
41437
|
+
declare const exports$1_traceable: typeof traceable;
|
|
41438
|
+
declare const exports$1_traced: typeof traced;
|
|
41439
|
+
declare const exports$1_updateSpan: typeof updateSpan;
|
|
41440
|
+
declare const exports$1_uploadLogs3OverflowPayload: typeof uploadLogs3OverflowPayload;
|
|
41441
|
+
declare const exports$1_utf8ByteLength: typeof utf8ByteLength;
|
|
41442
|
+
declare const exports$1_withCurrent: typeof withCurrent;
|
|
41443
|
+
declare const exports$1_withDataset: typeof withDataset;
|
|
41444
|
+
declare const exports$1_withExperiment: typeof withExperiment;
|
|
41445
|
+
declare const exports$1_withLogger: typeof withLogger;
|
|
41446
|
+
declare const exports$1_withParent: typeof withParent;
|
|
41447
|
+
declare const exports$1_wrapAISDK: typeof wrapAISDK;
|
|
41448
|
+
declare const exports$1_wrapAISDKModel: typeof wrapAISDKModel;
|
|
41449
|
+
declare const exports$1_wrapAgentClass: typeof wrapAgentClass;
|
|
41450
|
+
declare const exports$1_wrapAnthropic: typeof wrapAnthropic;
|
|
41451
|
+
declare const exports$1_wrapClaudeAgentSDK: typeof wrapClaudeAgentSDK;
|
|
41452
|
+
declare const exports$1_wrapCohere: typeof wrapCohere;
|
|
41453
|
+
declare const exports$1_wrapCopilotClient: typeof wrapCopilotClient;
|
|
41454
|
+
declare const exports$1_wrapCursorSDK: typeof wrapCursorSDK;
|
|
41455
|
+
declare const exports$1_wrapFlueContext: typeof wrapFlueContext;
|
|
41456
|
+
declare const exports$1_wrapFlueSession: typeof wrapFlueSession;
|
|
41457
|
+
declare const exports$1_wrapGenkit: typeof wrapGenkit;
|
|
41458
|
+
declare const exports$1_wrapGoogleADK: typeof wrapGoogleADK;
|
|
41459
|
+
declare const exports$1_wrapGoogleGenAI: typeof wrapGoogleGenAI;
|
|
41460
|
+
declare const exports$1_wrapGroq: typeof wrapGroq;
|
|
41461
|
+
declare const exports$1_wrapHuggingFace: typeof wrapHuggingFace;
|
|
41462
|
+
declare const exports$1_wrapMastraAgent: typeof wrapMastraAgent;
|
|
41463
|
+
declare const exports$1_wrapMistral: typeof wrapMistral;
|
|
41464
|
+
declare const exports$1_wrapOpenAI: typeof wrapOpenAI;
|
|
41465
|
+
declare const exports$1_wrapOpenAICodexSDK: typeof wrapOpenAICodexSDK;
|
|
41466
|
+
declare const exports$1_wrapOpenAIv4: typeof wrapOpenAIv4;
|
|
41467
|
+
declare const exports$1_wrapOpenRouter: typeof wrapOpenRouter;
|
|
41468
|
+
declare const exports$1_wrapOpenRouterAgent: typeof wrapOpenRouterAgent;
|
|
41469
|
+
declare const exports$1_wrapTraced: typeof wrapTraced;
|
|
41470
|
+
declare const exports$1_wrapVitest: typeof wrapVitest;
|
|
41471
|
+
declare namespace exports$1 {
|
|
41472
|
+
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, exports$1_BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME as BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, type exports$1_BackgroundLoggerOpts as BackgroundLoggerOpts, exports$1_BaseAttachment as BaseAttachment, exports$1_BaseExperiment as BaseExperiment, type exports$1_BaseMetadata as BaseMetadata, exports$1_BraintrustLangChainCallbackHandler as BraintrustLangChainCallbackHandler, 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, type exports$1_LangChainCallbackHandlerOptions as LangChainCallbackHandlerOptions, 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_wrapFlueContext as wrapFlueContext, exports$1_wrapFlueSession as wrapFlueSession, 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
41473
|
}
|
|
41184
41474
|
|
|
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 };
|
|
41475
|
+
export { type AnyDataset, Attachment, type AttachmentParams, AttachmentReference, BRAINTRUST_CURRENT_SPAN_STORE, BRAINTRUST_LANGCHAIN_CALLBACK_HANDLER_NAME, type BackgroundLoggerOpts, BaseAttachment, BaseExperiment, type BaseMetadata, BraintrustLangChainCallbackHandler, 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, type LangChainCallbackHandlerOptions, 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, wrapFlueContext, wrapFlueSession, wrapGenkit, wrapGoogleADK, wrapGoogleGenAI, wrapGroq, wrapHuggingFace, wrapMastraAgent, wrapMistral, wrapOpenAI, wrapOpenAICodexSDK, wrapOpenAIv4, wrapOpenRouter, wrapOpenRouterAgent, wrapTraced, wrapVitest };
|