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.
Files changed (47) hide show
  1. package/dev/dist/index.d.mts +5 -0
  2. package/dev/dist/index.d.ts +5 -0
  3. package/dev/dist/index.js +2614 -1567
  4. package/dev/dist/index.mjs +2037 -990
  5. package/dist/apply-auto-instrumentation.js +200 -199
  6. package/dist/apply-auto-instrumentation.mjs +8 -7
  7. package/dist/auto-instrumentations/bundler/esbuild.cjs +596 -462
  8. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  9. package/dist/auto-instrumentations/bundler/next.cjs +596 -462
  10. package/dist/auto-instrumentations/bundler/next.mjs +3 -3
  11. package/dist/auto-instrumentations/bundler/rollup.cjs +596 -462
  12. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  13. package/dist/auto-instrumentations/bundler/vite.cjs +596 -462
  14. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  15. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +596 -462
  16. package/dist/auto-instrumentations/bundler/webpack.cjs +596 -462
  17. package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
  18. package/dist/auto-instrumentations/{chunk-BURMPO7L.mjs → chunk-7P6563SW.mjs} +1 -1
  19. package/dist/auto-instrumentations/{chunk-F43DNLPD.mjs → chunk-CZ24KNHT.mjs} +569 -442
  20. package/dist/auto-instrumentations/{chunk-GSZHTAQW.mjs → chunk-JPVCUKTY.mjs} +30 -21
  21. package/dist/auto-instrumentations/hook.mjs +648 -476
  22. package/dist/auto-instrumentations/index.cjs +568 -442
  23. package/dist/auto-instrumentations/index.mjs +1 -1
  24. package/dist/browser.d.mts +7 -0
  25. package/dist/browser.d.ts +7 -0
  26. package/dist/browser.js +2022 -971
  27. package/dist/browser.mjs +2022 -971
  28. package/dist/{chunk-XE5FS7QY.mjs → chunk-2SANLSWX.mjs} +1375 -597
  29. package/dist/{chunk-7F6GCRHH.mjs → chunk-ABR2QWDP.mjs} +702 -456
  30. package/dist/{chunk-SU6EHKJV.js → chunk-GSIDVFE6.js} +2176 -1398
  31. package/dist/{chunk-7AUY2XWX.js → chunk-P25IOOU4.js} +704 -458
  32. package/dist/cli.js +2005 -958
  33. package/dist/edge-light.js +2022 -971
  34. package/dist/edge-light.mjs +2022 -971
  35. package/dist/index.d.mts +7 -0
  36. package/dist/index.d.ts +7 -0
  37. package/dist/index.js +447 -402
  38. package/dist/index.mjs +72 -27
  39. package/dist/instrumentation/index.d.mts +5 -0
  40. package/dist/instrumentation/index.d.ts +5 -0
  41. package/dist/instrumentation/index.js +1990 -981
  42. package/dist/instrumentation/index.mjs +1990 -981
  43. package/dist/vitest-evals-reporter.js +16 -16
  44. package/dist/vitest-evals-reporter.mjs +2 -2
  45. package/dist/workerd.js +2022 -971
  46. package/dist/workerd.mjs +2022 -971
  47. 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-F43DNLPD.mjs";
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("@flue/runtime", {
121
- createContext: channel({
122
- channelName: "createFlueContext",
123
- kind: "sync-stream"
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("@strands-agents/sdk", {
146
- agentStream: channel({
147
- channelName: "Agent.stream",
148
- kind: "sync-stream"
149
- }),
150
- graphStream: channel({
151
- channelName: "Graph.stream",
152
- kind: "sync-stream"
153
- }),
154
- swarmStream: channel({
155
- channelName: "Swarm.stream",
156
- kind: "sync-stream"
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";