braintrust 3.25.0 → 3.27.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 +4133 -1421
- package/dev/dist/index.mjs +3242 -530
- package/dist/apply-auto-instrumentation.js +526 -426
- package/dist/apply-auto-instrumentation.mjs +329 -229
- package/dist/auto-instrumentations/bundler/esbuild.cjs +1198 -364
- 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 +6 -8
- package/dist/auto-instrumentations/bundler/next.cjs +1227 -413
- package/dist/auto-instrumentations/bundler/next.mjs +7 -29
- package/dist/auto-instrumentations/bundler/rollup.cjs +1198 -364
- 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 +6 -8
- package/dist/auto-instrumentations/bundler/vite.cjs +1249 -387
- 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 +34 -8
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +1368 -324
- package/dist/auto-instrumentations/bundler/webpack-loader.d.ts +20 -12
- package/dist/auto-instrumentations/bundler/webpack.cjs +1198 -364
- 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 +6 -4
- package/dist/auto-instrumentations/chunk-2AMDGD65.mjs +1396 -0
- package/dist/auto-instrumentations/{chunk-7P6563SW.mjs → chunk-BW33ULMW.mjs} +2 -6
- package/dist/auto-instrumentations/{chunk-M6DLIJ2Z.mjs → chunk-I55G56ZL.mjs} +114 -221
- package/dist/auto-instrumentations/chunk-JPUFNW7X.mjs +649 -0
- package/dist/auto-instrumentations/{chunk-JPVCUKTY.mjs → chunk-XEYKUBLY.mjs} +191 -73
- package/dist/auto-instrumentations/{chunk-CZ24KNHT.mjs → chunk-ZNHTSSGI.mjs} +231 -69
- package/dist/auto-instrumentations/hook.mjs +406 -183
- package/dist/auto-instrumentations/index.cjs +853 -49
- package/dist/auto-instrumentations/index.d.mts +10 -2
- package/dist/auto-instrumentations/index.d.ts +10 -2
- package/dist/auto-instrumentations/index.mjs +10 -1
- package/dist/auto-instrumentations/loader/cjs-patch.cjs +566 -221
- 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 +871 -199
- package/dist/browser.d.ts +871 -199
- package/dist/browser.js +3737 -549
- package/dist/browser.mjs +3737 -549
- package/dist/{chunk-ABR2QWDP.mjs → chunk-CZM5JIQL.mjs} +788 -132
- package/dist/{chunk-P25IOOU4.js → chunk-MF7NU6BT.js} +795 -139
- package/dist/{chunk-GSIDVFE6.js → chunk-QRHGVBKU.js} +3580 -1463
- package/dist/{chunk-2SANLSWX.mjs → chunk-YKD22IMR.mjs} +2505 -388
- package/dist/cli.js +3244 -533
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +3737 -552
- package/dist/edge-light.mjs +3737 -552
- package/dist/index.d.mts +871 -199
- package/dist/index.d.ts +871 -199
- package/dist/index.js +893 -446
- package/dist/index.mjs +463 -16
- package/dist/instrumentation/index.d.mts +138 -6
- package/dist/instrumentation/index.d.ts +138 -6
- package/dist/instrumentation/index.js +3362 -559
- package/dist/instrumentation/index.mjs +3362 -559
- package/dist/vitest-evals-reporter.js +45 -43
- package/dist/vitest-evals-reporter.mjs +5 -3
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +3737 -552
- package/dist/workerd.mjs +3737 -552
- package/licenses/node-diagnostics-channel/LICENSE +19 -0
- package/package.json +34 -35
- package/dist/auto-instrumentations/chunk-VT6DDNKM.mjs +0 -856
- 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,10 @@ declare const aiSDKConfigs: InstrumentationConfig[];
|
|
|
56
56
|
*/
|
|
57
57
|
declare const claudeAgentSDKConfigs: InstrumentationConfig[];
|
|
58
58
|
|
|
59
|
+
declare const cloudflareAgentsConfigs: InstrumentationConfig[];
|
|
60
|
+
|
|
61
|
+
declare const cloudflareThinkConfigs: InstrumentationConfig[];
|
|
62
|
+
|
|
59
63
|
declare const cursorSDKConfigs: InstrumentationConfig[];
|
|
60
64
|
|
|
61
65
|
declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
|
|
@@ -81,6 +85,8 @@ declare const openRouterConfigs: InstrumentationConfig[];
|
|
|
81
85
|
|
|
82
86
|
declare const mistralConfigs: InstrumentationConfig[];
|
|
83
87
|
|
|
88
|
+
declare const ollamaConfigs: InstrumentationConfig[];
|
|
89
|
+
|
|
84
90
|
/**
|
|
85
91
|
* Instrumentation configurations for the Google ADK (@google/adk).
|
|
86
92
|
*
|
|
@@ -94,6 +100,8 @@ declare const mistralConfigs: InstrumentationConfig[];
|
|
|
94
100
|
*/
|
|
95
101
|
declare const googleADKConfigs: InstrumentationConfig[];
|
|
96
102
|
|
|
103
|
+
declare const cloudflareAIChatConfigs: InstrumentationConfig[];
|
|
104
|
+
|
|
97
105
|
declare const cohereConfigs: InstrumentationConfig[];
|
|
98
106
|
|
|
99
107
|
declare const groqConfigs: InstrumentationConfig[];
|
|
@@ -115,4 +123,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
|
|
|
115
123
|
|
|
116
124
|
declare const piCodingAgentConfigs: InstrumentationConfig[];
|
|
117
125
|
|
|
118
|
-
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
126
|
+
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cloudflareAIChatConfigs, cloudflareAgentsConfigs, cloudflareThinkConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, ollamaConfigs, 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,10 @@ declare const aiSDKConfigs: InstrumentationConfig[];
|
|
|
56
56
|
*/
|
|
57
57
|
declare const claudeAgentSDKConfigs: InstrumentationConfig[];
|
|
58
58
|
|
|
59
|
+
declare const cloudflareAgentsConfigs: InstrumentationConfig[];
|
|
60
|
+
|
|
61
|
+
declare const cloudflareThinkConfigs: InstrumentationConfig[];
|
|
62
|
+
|
|
59
63
|
declare const cursorSDKConfigs: InstrumentationConfig[];
|
|
60
64
|
|
|
61
65
|
declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
|
|
@@ -81,6 +85,8 @@ declare const openRouterConfigs: InstrumentationConfig[];
|
|
|
81
85
|
|
|
82
86
|
declare const mistralConfigs: InstrumentationConfig[];
|
|
83
87
|
|
|
88
|
+
declare const ollamaConfigs: InstrumentationConfig[];
|
|
89
|
+
|
|
84
90
|
/**
|
|
85
91
|
* Instrumentation configurations for the Google ADK (@google/adk).
|
|
86
92
|
*
|
|
@@ -94,6 +100,8 @@ declare const mistralConfigs: InstrumentationConfig[];
|
|
|
94
100
|
*/
|
|
95
101
|
declare const googleADKConfigs: InstrumentationConfig[];
|
|
96
102
|
|
|
103
|
+
declare const cloudflareAIChatConfigs: InstrumentationConfig[];
|
|
104
|
+
|
|
97
105
|
declare const cohereConfigs: InstrumentationConfig[];
|
|
98
106
|
|
|
99
107
|
declare const groqConfigs: InstrumentationConfig[];
|
|
@@ -115,4 +123,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
|
|
|
115
123
|
|
|
116
124
|
declare const piCodingAgentConfigs: InstrumentationConfig[];
|
|
117
125
|
|
|
118
|
-
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
126
|
+
export { InstrumentationConfig, aiSDKConfigs, anthropicConfigs, bedrockRuntimeConfigs, claudeAgentSDKConfigs, cloudflareAIChatConfigs, cloudflareAgentsConfigs, cloudflareThinkConfigs, cohereConfigs, cursorSDKConfigs, genkitConfigs, gitHubCopilotConfigs, googleADKConfigs, googleGenAIConfigs, groqConfigs, huggingFaceConfigs, langSmithConfigs, langchainConfigs, mistralConfigs, ollamaConfigs, openAIAgentsCoreConfigs, openAICodexConfigs, openRouterAgentConfigs, openRouterConfigs, openaiConfigs, piCodingAgentConfigs };
|
|
@@ -3,6 +3,9 @@ import {
|
|
|
3
3
|
anthropicConfigs,
|
|
4
4
|
bedrockRuntimeConfigs,
|
|
5
5
|
claudeAgentSDKConfigs,
|
|
6
|
+
cloudflareAIChatConfigs,
|
|
7
|
+
cloudflareAgentsConfigs,
|
|
8
|
+
cloudflareThinkConfigs,
|
|
6
9
|
cohereConfigs,
|
|
7
10
|
cursorSDKConfigs,
|
|
8
11
|
genkitConfigs,
|
|
@@ -14,18 +17,23 @@ import {
|
|
|
14
17
|
langSmithConfigs,
|
|
15
18
|
langchainConfigs,
|
|
16
19
|
mistralConfigs,
|
|
20
|
+
ollamaConfigs,
|
|
17
21
|
openAIAgentsCoreConfigs,
|
|
18
22
|
openAICodexConfigs,
|
|
19
23
|
openRouterAgentConfigs,
|
|
20
24
|
openRouterConfigs,
|
|
21
25
|
openaiConfigs,
|
|
22
26
|
piCodingAgentConfigs
|
|
23
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ZNHTSSGI.mjs";
|
|
28
|
+
import "./chunk-JPUFNW7X.mjs";
|
|
24
29
|
export {
|
|
25
30
|
aiSDKConfigs,
|
|
26
31
|
anthropicConfigs,
|
|
27
32
|
bedrockRuntimeConfigs,
|
|
28
33
|
claudeAgentSDKConfigs,
|
|
34
|
+
cloudflareAIChatConfigs,
|
|
35
|
+
cloudflareAgentsConfigs,
|
|
36
|
+
cloudflareThinkConfigs,
|
|
29
37
|
cohereConfigs,
|
|
30
38
|
cursorSDKConfigs,
|
|
31
39
|
genkitConfigs,
|
|
@@ -37,6 +45,7 @@ export {
|
|
|
37
45
|
langSmithConfigs,
|
|
38
46
|
langchainConfigs,
|
|
39
47
|
mistralConfigs,
|
|
48
|
+
ollamaConfigs,
|
|
40
49
|
openAIAgentsCoreConfigs,
|
|
41
50
|
openAICodexConfigs,
|
|
42
51
|
openRouterAgentConfigs,
|