braintrust 3.24.0 → 3.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dev/dist/index.d.mts +5 -0
- package/dev/dist/index.d.ts +5 -0
- package/dev/dist/index.js +2614 -1567
- package/dev/dist/index.mjs +2037 -990
- package/dist/apply-auto-instrumentation.js +200 -199
- package/dist/apply-auto-instrumentation.mjs +8 -7
- package/dist/auto-instrumentations/bundler/esbuild.cjs +596 -462
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +596 -462
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +596 -462
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +596 -462
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-BURMPO7L.mjs → chunk-7P6563SW.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-F43DNLPD.mjs → chunk-CZ24KNHT.mjs} +569 -442
- package/dist/auto-instrumentations/{chunk-GSZHTAQW.mjs → chunk-JPVCUKTY.mjs} +30 -21
- package/dist/auto-instrumentations/hook.mjs +648 -476
- package/dist/auto-instrumentations/index.cjs +568 -442
- package/dist/auto-instrumentations/index.mjs +1 -1
- package/dist/browser.d.mts +7 -0
- package/dist/browser.d.ts +7 -0
- package/dist/browser.js +2022 -971
- package/dist/browser.mjs +2022 -971
- package/dist/{chunk-XE5FS7QY.mjs → chunk-2SANLSWX.mjs} +1375 -597
- package/dist/{chunk-7F6GCRHH.mjs → chunk-ABR2QWDP.mjs} +702 -456
- package/dist/{chunk-SU6EHKJV.js → chunk-GSIDVFE6.js} +2176 -1398
- package/dist/{chunk-7AUY2XWX.js → chunk-P25IOOU4.js} +704 -458
- package/dist/cli.js +2005 -958
- package/dist/edge-light.js +2022 -971
- package/dist/edge-light.mjs +2022 -971
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +447 -402
- package/dist/index.mjs +72 -27
- package/dist/instrumentation/index.d.mts +5 -0
- package/dist/instrumentation/index.d.ts +5 -0
- package/dist/instrumentation/index.js +1990 -981
- package/dist/instrumentation/index.mjs +1990 -981
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.js +2022 -971
- package/dist/workerd.mjs +2022 -971
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import {
|
|
2
|
+
INSTRUMENTATION_NAMES,
|
|
2
3
|
aiSDKConfigs,
|
|
3
4
|
anthropicConfigs,
|
|
4
5
|
bedrockRuntimeConfigs,
|
|
@@ -22,7 +23,7 @@ import {
|
|
|
22
23
|
openRouterConfigs,
|
|
23
24
|
openaiConfigs,
|
|
24
25
|
piCodingAgentConfigs
|
|
25
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-CZ24KNHT.mjs";
|
|
26
27
|
import {
|
|
27
28
|
applySpecialCasePatch,
|
|
28
29
|
create
|
|
@@ -117,12 +118,16 @@ function isInstrumentationIntegrationDisabled(integrations, ...names) {
|
|
|
117
118
|
}
|
|
118
119
|
|
|
119
120
|
// src/instrumentation/plugins/flue-channels.ts
|
|
120
|
-
var flueChannels = defineChannels(
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
121
|
+
var flueChannels = defineChannels(
|
|
122
|
+
"@flue/runtime",
|
|
123
|
+
{
|
|
124
|
+
createContext: channel({
|
|
125
|
+
channelName: "createFlueContext",
|
|
126
|
+
kind: "sync-stream"
|
|
127
|
+
})
|
|
128
|
+
},
|
|
129
|
+
{ instrumentationName: INSTRUMENTATION_NAMES.FLUE }
|
|
130
|
+
);
|
|
126
131
|
|
|
127
132
|
// src/auto-instrumentations/configs/flue.ts
|
|
128
133
|
var flueVersionRange = ">=0.8.0 <1.0.0";
|
|
@@ -142,20 +147,24 @@ var flueConfigs = [
|
|
|
142
147
|
];
|
|
143
148
|
|
|
144
149
|
// src/instrumentation/plugins/strands-agent-sdk-channels.ts
|
|
145
|
-
var strandsAgentSDKChannels = defineChannels(
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
150
|
+
var strandsAgentSDKChannels = defineChannels(
|
|
151
|
+
"@strands-agents/sdk",
|
|
152
|
+
{
|
|
153
|
+
agentStream: channel({
|
|
154
|
+
channelName: "Agent.stream",
|
|
155
|
+
kind: "sync-stream"
|
|
156
|
+
}),
|
|
157
|
+
graphStream: channel({
|
|
158
|
+
channelName: "Graph.stream",
|
|
159
|
+
kind: "sync-stream"
|
|
160
|
+
}),
|
|
161
|
+
swarmStream: channel({
|
|
162
|
+
channelName: "Swarm.stream",
|
|
163
|
+
kind: "sync-stream"
|
|
164
|
+
})
|
|
165
|
+
},
|
|
166
|
+
{ instrumentationName: INSTRUMENTATION_NAMES.STRANDS_AGENT_SDK }
|
|
167
|
+
);
|
|
159
168
|
|
|
160
169
|
// src/auto-instrumentations/configs/strands-agent-sdk.ts
|
|
161
170
|
var strandsAgentSDKVersionRange = ">=1.0.0 <2.0.0";
|