braintrust 3.25.0 → 3.26.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/NOTICE +6 -0
- package/dev/dist/index.d.mts +130 -2
- package/dev/dist/index.d.ts +130 -2
- package/dev/dist/index.js +2455 -1116
- package/dev/dist/index.mjs +1599 -260
- package/dist/apply-auto-instrumentation.js +439 -398
- package/dist/apply-auto-instrumentation.mjs +242 -201
- package/dist/auto-instrumentations/bundler/esbuild.cjs +853 -337
- package/dist/auto-instrumentations/bundler/esbuild.d.mts +4 -4
- package/dist/auto-instrumentations/bundler/esbuild.d.ts +4 -4
- package/dist/auto-instrumentations/bundler/esbuild.mjs +5 -8
- package/dist/auto-instrumentations/bundler/next.cjs +852 -356
- package/dist/auto-instrumentations/bundler/next.mjs +6 -29
- package/dist/auto-instrumentations/bundler/rollup.cjs +853 -337
- package/dist/auto-instrumentations/bundler/rollup.d.mts +4 -4
- package/dist/auto-instrumentations/bundler/rollup.d.ts +4 -4
- package/dist/auto-instrumentations/bundler/rollup.mjs +5 -8
- package/dist/auto-instrumentations/bundler/vite.cjs +853 -337
- package/dist/auto-instrumentations/bundler/vite.d.mts +4 -4
- package/dist/auto-instrumentations/bundler/vite.d.ts +4 -4
- package/dist/auto-instrumentations/bundler/vite.mjs +5 -8
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +1006 -266
- package/dist/auto-instrumentations/bundler/webpack-loader.d.ts +20 -12
- package/dist/auto-instrumentations/bundler/webpack.cjs +853 -337
- package/dist/auto-instrumentations/bundler/webpack.d.mts +4 -4
- package/dist/auto-instrumentations/bundler/webpack.d.ts +4 -4
- package/dist/auto-instrumentations/bundler/webpack.mjs +5 -4
- package/dist/auto-instrumentations/{chunk-JPVCUKTY.mjs → chunk-6E22MYSW.mjs} +165 -73
- package/dist/auto-instrumentations/{chunk-VT6DDNKM.mjs → chunk-AKKPLXTP.mjs} +631 -194
- package/dist/auto-instrumentations/chunk-NRE4QUQR.mjs +509 -0
- package/dist/auto-instrumentations/{chunk-7P6563SW.mjs → chunk-V5LEODRX.mjs} +2 -6
- package/dist/auto-instrumentations/{chunk-M6DLIJ2Z.mjs → chunk-XYN63IG5.mjs} +124 -194
- package/dist/auto-instrumentations/{chunk-CZ24KNHT.mjs → chunk-XZHHE4Y3.mjs} +77 -68
- package/dist/auto-instrumentations/hook.mjs +247 -182
- package/dist/auto-instrumentations/index.cjs +557 -48
- package/dist/auto-instrumentations/index.d.mts +6 -2
- package/dist/auto-instrumentations/index.d.ts +6 -2
- package/dist/auto-instrumentations/index.mjs +6 -1
- package/dist/auto-instrumentations/loader/cjs-patch.cjs +492 -195
- package/dist/auto-instrumentations/loader/cjs-patch.d.mts +2 -2
- package/dist/auto-instrumentations/loader/cjs-patch.d.ts +2 -2
- package/dist/auto-instrumentations/loader/cjs-patch.mjs +3 -2
- package/dist/auto-instrumentations/loader/esm-hook.mjs +1 -1
- package/dist/auto-instrumentations/plugin-B-aZh7EP.d.ts +30 -0
- package/dist/auto-instrumentations/plugin-Bnj4E_6B.d.mts +30 -0
- package/dist/auto-instrumentations/{types-RNPaKi9o.d.mts → types-C1fVeiCp.d.mts} +1 -1
- package/dist/auto-instrumentations/{types-RNPaKi9o.d.ts → types-C1fVeiCp.d.ts} +1 -1
- package/dist/browser.d.mts +817 -197
- package/dist/browser.d.ts +817 -197
- package/dist/browser.js +1883 -265
- package/dist/browser.mjs +1883 -265
- package/dist/{chunk-ABR2QWDP.mjs → chunk-PN7EWK66.mjs} +581 -133
- package/dist/{chunk-GSIDVFE6.js → chunk-VRZZQPAA.js} +1670 -736
- package/dist/{chunk-P25IOOU4.js → chunk-VYNNEKSA.js} +586 -138
- package/dist/{chunk-2SANLSWX.mjs → chunk-XIZOM2HO.mjs} +1052 -118
- package/dist/cli.js +1601 -263
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +1883 -268
- package/dist/edge-light.mjs +1883 -268
- package/dist/index.d.mts +817 -197
- package/dist/index.d.ts +817 -197
- package/dist/index.js +695 -435
- package/dist/index.mjs +264 -4
- package/dist/instrumentation/index.d.mts +130 -6
- package/dist/instrumentation/index.d.ts +130 -6
- package/dist/instrumentation/index.js +1510 -80
- package/dist/instrumentation/index.mjs +1510 -80
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +1883 -268
- package/dist/workerd.mjs +1883 -268
- package/licenses/node-diagnostics-channel/LICENSE +19 -0
- package/package.json +34 -35
- package/dist/auto-instrumentations/plugin-D0KHwSJv.d.mts +0 -44
- package/dist/auto-instrumentations/plugin-G6fgxk1b.d.ts +0 -44
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InstrumentationConfig } from './types-
|
|
1
|
+
import { I as InstrumentationConfig } from './types-C1fVeiCp.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Instrumentation configurations for the OpenAI SDK.
|
|
@@ -56,6 +56,8 @@ declare const aiSDKConfigs: InstrumentationConfig[];
|
|
|
56
56
|
*/
|
|
57
57
|
declare const claudeAgentSDKConfigs: InstrumentationConfig[];
|
|
58
58
|
|
|
59
|
+
declare const cloudflareAgentsConfigs: InstrumentationConfig[];
|
|
60
|
+
|
|
59
61
|
declare const cursorSDKConfigs: InstrumentationConfig[];
|
|
60
62
|
|
|
61
63
|
declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
|
|
@@ -94,6 +96,8 @@ declare const mistralConfigs: InstrumentationConfig[];
|
|
|
94
96
|
*/
|
|
95
97
|
declare const googleADKConfigs: InstrumentationConfig[];
|
|
96
98
|
|
|
99
|
+
declare const cloudflareAIChatConfigs: InstrumentationConfig[];
|
|
100
|
+
|
|
97
101
|
declare const cohereConfigs: InstrumentationConfig[];
|
|
98
102
|
|
|
99
103
|
declare const groqConfigs: InstrumentationConfig[];
|
|
@@ -115,4 +119,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
|
|
|
115
119
|
|
|
116
120
|
declare const piCodingAgentConfigs: InstrumentationConfig[];
|
|
117
121
|
|
|
118
|
-
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
122
|
+
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cloudflareAIChatConfigs, cloudflareAgentsConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { I as InstrumentationConfig } from './types-
|
|
1
|
+
import { I as InstrumentationConfig } from './types-C1fVeiCp.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Instrumentation configurations for the OpenAI SDK.
|
|
@@ -56,6 +56,8 @@ declare const aiSDKConfigs: InstrumentationConfig[];
|
|
|
56
56
|
*/
|
|
57
57
|
declare const claudeAgentSDKConfigs: InstrumentationConfig[];
|
|
58
58
|
|
|
59
|
+
declare const cloudflareAgentsConfigs: InstrumentationConfig[];
|
|
60
|
+
|
|
59
61
|
declare const cursorSDKConfigs: InstrumentationConfig[];
|
|
60
62
|
|
|
61
63
|
declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
|
|
@@ -94,6 +96,8 @@ declare const mistralConfigs: InstrumentationConfig[];
|
|
|
94
96
|
*/
|
|
95
97
|
declare const googleADKConfigs: InstrumentationConfig[];
|
|
96
98
|
|
|
99
|
+
declare const cloudflareAIChatConfigs: InstrumentationConfig[];
|
|
100
|
+
|
|
97
101
|
declare const cohereConfigs: InstrumentationConfig[];
|
|
98
102
|
|
|
99
103
|
declare const groqConfigs: InstrumentationConfig[];
|
|
@@ -115,4 +119,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
|
|
|
115
119
|
|
|
116
120
|
declare const piCodingAgentConfigs: InstrumentationConfig[];
|
|
117
121
|
|
|
118
|
-
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
122
|
+
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cloudflareAIChatConfigs, cloudflareAgentsConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
@@ -3,6 +3,8 @@ import {
|
|
|
3
3
|
anthropicConfigs,
|
|
4
4
|
bedrockRuntimeConfigs,
|
|
5
5
|
claudeAgentSDKConfigs,
|
|
6
|
+
cloudflareAIChatConfigs,
|
|
7
|
+
cloudflareAgentsConfigs,
|
|
6
8
|
cohereConfigs,
|
|
7
9
|
cursorSDKConfigs,
|
|
8
10
|
genkitConfigs,
|
|
@@ -20,12 +22,15 @@ import {
|
|
|
20
22
|
openRouterConfigs,
|
|
21
23
|
openaiConfigs,
|
|
22
24
|
piCodingAgentConfigs
|
|
23
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XZHHE4Y3.mjs";
|
|
26
|
+
import "./chunk-NRE4QUQR.mjs";
|
|
24
27
|
export {
|
|
25
28
|
aiSDKConfigs,
|
|
26
29
|
anthropicConfigs,
|
|
27
30
|
bedrockRuntimeConfigs,
|
|
28
31
|
claudeAgentSDKConfigs,
|
|
32
|
+
cloudflareAIChatConfigs,
|
|
33
|
+
cloudflareAgentsConfigs,
|
|
29
34
|
cohereConfigs,
|
|
30
35
|
cursorSDKConfigs,
|
|
31
36
|
genkitConfigs,
|