braintrust 3.26.0 → 3.28.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 (61) hide show
  1. package/dev/dist/index.d.mts +519 -186
  2. package/dev/dist/index.d.ts +519 -186
  3. package/dev/dist/index.js +3727 -1526
  4. package/dev/dist/index.mjs +2815 -614
  5. package/dist/apply-auto-instrumentation.js +372 -261
  6. package/dist/apply-auto-instrumentation.mjs +171 -60
  7. package/dist/auto-instrumentations/bundler/esbuild.cjs +458 -61
  8. package/dist/auto-instrumentations/bundler/esbuild.mjs +5 -4
  9. package/dist/auto-instrumentations/bundler/next.cjs +460 -63
  10. package/dist/auto-instrumentations/bundler/next.mjs +6 -5
  11. package/dist/auto-instrumentations/bundler/rollup.cjs +458 -61
  12. package/dist/auto-instrumentations/bundler/rollup.mjs +5 -4
  13. package/dist/auto-instrumentations/bundler/vite.cjs +487 -62
  14. package/dist/auto-instrumentations/bundler/vite.mjs +34 -5
  15. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +444 -61
  16. package/dist/auto-instrumentations/bundler/webpack.cjs +458 -61
  17. package/dist/auto-instrumentations/bundler/webpack.mjs +6 -5
  18. package/dist/auto-instrumentations/{chunk-6E22MYSW.mjs → chunk-26PKVUKB.mjs} +109 -5
  19. package/dist/auto-instrumentations/{chunk-AKKPLXTP.mjs → chunk-2AMDGD65.mjs} +160 -57
  20. package/dist/auto-instrumentations/{chunk-V5LEODRX.mjs → chunk-HD35AM3M.mjs} +1 -1
  21. package/dist/auto-instrumentations/{chunk-XYN63IG5.mjs → chunk-I55G56ZL.mjs} +21 -58
  22. package/dist/auto-instrumentations/{chunk-NRE4QUQR.mjs → chunk-JPUFNW7X.mjs} +140 -0
  23. package/dist/auto-instrumentations/{chunk-XZHHE4Y3.mjs → chunk-NP7V4XB2.mjs} +157 -3
  24. package/dist/auto-instrumentations/hook.mjs +396 -32
  25. package/dist/auto-instrumentations/index.cjs +298 -2
  26. package/dist/auto-instrumentations/index.d.mts +5 -1
  27. package/dist/auto-instrumentations/index.d.ts +5 -1
  28. package/dist/auto-instrumentations/index.mjs +6 -2
  29. package/dist/auto-instrumentations/loader/cjs-patch.cjs +105 -57
  30. package/dist/auto-instrumentations/loader/cjs-patch.mjs +2 -2
  31. package/dist/auto-instrumentations/loader/esm-hook.mjs +1 -1
  32. package/dist/browser.d.mts +683 -56
  33. package/dist/browser.d.ts +683 -56
  34. package/dist/browser.js +4242 -655
  35. package/dist/browser.mjs +4242 -655
  36. package/dist/{chunk-VYNNEKSA.js → chunk-BBE7SNRV.js} +248 -10
  37. package/dist/{chunk-VRZZQPAA.js → chunk-OBBWQW6K.js} +3351 -1392
  38. package/dist/{chunk-XIZOM2HO.mjs → chunk-UPFNQCGB.mjs} +2419 -460
  39. package/dist/{chunk-PN7EWK66.mjs → chunk-ZHUHZWFY.mjs} +241 -3
  40. package/dist/cli.js +2867 -668
  41. package/dist/edge-light.d.mts +1 -1
  42. package/dist/edge-light.d.ts +1 -1
  43. package/dist/edge-light.js +4242 -655
  44. package/dist/edge-light.mjs +4242 -655
  45. package/dist/index.d.mts +1267 -640
  46. package/dist/index.d.ts +1267 -640
  47. package/dist/index.js +2107 -630
  48. package/dist/index.mjs +1649 -172
  49. package/dist/instrumentation/index.d.mts +198 -6
  50. package/dist/instrumentation/index.d.ts +198 -6
  51. package/dist/instrumentation/index.js +2661 -581
  52. package/dist/instrumentation/index.mjs +2661 -581
  53. package/dist/vitest-evals-reporter.js +45 -43
  54. package/dist/vitest-evals-reporter.mjs +5 -3
  55. package/dist/workerd.d.mts +1 -1
  56. package/dist/workerd.d.ts +1 -1
  57. package/dist/workerd.js +4242 -655
  58. package/dist/workerd.mjs +4242 -655
  59. package/package.json +2 -3
  60. package/util/dist/index.d.mts +1545 -100
  61. package/util/dist/index.d.ts +1545 -100
@@ -26,6 +26,7 @@ __export(index_exports, {
26
26
  claudeAgentSDKConfigs: () => claudeAgentSDKConfigs,
27
27
  cloudflareAIChatConfigs: () => cloudflareAIChatConfigs,
28
28
  cloudflareAgentsConfigs: () => cloudflareAgentsConfigs,
29
+ cloudflareThinkConfigs: () => cloudflareThinkConfigs,
29
30
  cohereConfigs: () => cohereConfigs,
30
31
  cursorSDKConfigs: () => cursorSDKConfigs,
31
32
  genkitConfigs: () => genkitConfigs,
@@ -37,6 +38,7 @@ __export(index_exports, {
37
38
  langSmithConfigs: () => langSmithConfigs,
38
39
  langchainConfigs: () => langchainConfigs,
39
40
  mistralConfigs: () => mistralConfigs,
41
+ ollamaConfigs: () => ollamaConfigs,
40
42
  openAIAgentsCoreConfigs: () => openAIAgentsCoreConfigs,
41
43
  openAICodexConfigs: () => openAICodexConfigs,
42
44
  openRouterAgentConfigs: () => openRouterAgentConfigs,
@@ -51,8 +53,10 @@ var GLOBAL_INSTRUMENTATION_HOOKS_KEY = "__braintrust_instrumentation_hooks";
51
53
  var GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION = 1;
52
54
  var GLOBAL_INSTRUMENTATION_HOOKS_REGISTRY_BRAND = "braintrust.global-instrumentation-hooks.registry";
53
55
  var GLOBAL_INSTRUMENTATION_HOOK_BRAND = "braintrust.global-instrumentation-hooks.hook";
56
+ var GLOBAL_INVOCATION_HOOK_BRAND = "braintrust.global-instrumentation-hooks.invocation-hook";
54
57
  var registryBrand = Symbol.for(GLOBAL_INSTRUMENTATION_HOOKS_REGISTRY_BRAND);
55
58
  var hookBrand = Symbol.for(GLOBAL_INSTRUMENTATION_HOOK_BRAND);
59
+ var invocationHookBrand = Symbol.for(GLOBAL_INVOCATION_HOOK_BRAND);
56
60
  var errorReporter;
57
61
  function reportError(error) {
58
62
  try {
@@ -188,12 +192,69 @@ var traceEvents = [
188
192
  "asyncEnd",
189
193
  "error"
190
194
  ];
195
+ function traceInvocation(hook, operator, target, thisArg, args, additional, callbackIndex = -1) {
196
+ const context = {
197
+ ...additional,
198
+ arguments: args,
199
+ self: thisArg
200
+ };
201
+ const invoke = () => hook.invoke(target, thisArg, args, additional);
202
+ if (operator === "traceCallback") {
203
+ return hook.traceCallback(invoke, callbackIndex, context);
204
+ }
205
+ if (operator === "tracePromise") {
206
+ return hook.tracePromise(invoke, context);
207
+ }
208
+ return hook.traceSync(invoke, context);
209
+ }
210
+ var InvocationHook = class {
211
+ interceptors = [];
212
+ get hasInterceptors() {
213
+ return this.interceptors.length > 0;
214
+ }
215
+ intercept(interceptor) {
216
+ if (typeof interceptor !== "function") {
217
+ throw new TypeError("interceptor must be a function");
218
+ }
219
+ this.interceptors = [...this.interceptors, interceptor];
220
+ let active = true;
221
+ return () => {
222
+ if (!active) {
223
+ return;
224
+ }
225
+ active = false;
226
+ const index = this.interceptors.indexOf(interceptor);
227
+ if (index !== -1) {
228
+ this.interceptors = [
229
+ ...this.interceptors.slice(0, index),
230
+ ...this.interceptors.slice(index + 1)
231
+ ];
232
+ }
233
+ };
234
+ }
235
+ invoke(target, thisArg, args, additional) {
236
+ const interceptors = this.interceptors;
237
+ if (interceptors.length === 0) {
238
+ return Reflect.apply(target, thisArg, args);
239
+ }
240
+ let next = target;
241
+ for (let index = interceptors.length - 1; index >= 0; index -= 1) {
242
+ const interceptor = interceptors[index];
243
+ const downstream = next;
244
+ next = function(...nextArgs) {
245
+ return interceptor(downstream, this, nextArgs, additional);
246
+ };
247
+ }
248
+ return Reflect.apply(next, thisArg, args);
249
+ }
250
+ };
191
251
  var TracingHook = class {
192
252
  start;
193
253
  end;
194
254
  asyncStart;
195
255
  asyncEnd;
196
256
  error;
257
+ invocationHook = new InvocationHook();
197
258
  constructor(nameOrChannels) {
198
259
  Object.defineProperty(this, hookBrand, {
199
260
  configurable: false,
@@ -201,6 +262,12 @@ var TracingHook = class {
201
262
  value: GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION,
202
263
  writable: false
203
264
  });
265
+ Object.defineProperty(this, invocationHookBrand, {
266
+ configurable: false,
267
+ enumerable: false,
268
+ value: GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION,
269
+ writable: false
270
+ });
204
271
  if (typeof nameOrChannels === "string") {
205
272
  this.start = new HookChannel(`tracing:${nameOrChannels}:start`);
206
273
  this.end = new HookChannel(`tracing:${nameOrChannels}:end`);
@@ -218,6 +285,26 @@ var TracingHook = class {
218
285
  get hasSubscribers() {
219
286
  return this.start.hasSubscribers || this.end.hasSubscribers || this.asyncStart.hasSubscribers || this.asyncEnd.hasSubscribers || this.error.hasSubscribers;
220
287
  }
288
+ get hasInterceptors() {
289
+ return this.invocationHook.hasInterceptors;
290
+ }
291
+ intercept(interceptor) {
292
+ return this.invocationHook.intercept(interceptor);
293
+ }
294
+ invoke(target, thisArg, args, additional) {
295
+ return this.invocationHook.invoke(target, thisArg, args, additional);
296
+ }
297
+ traceInvocation(operator, target, thisArg, args, additional, callbackIndex = -1) {
298
+ return traceInvocation(
299
+ this,
300
+ operator,
301
+ target,
302
+ thisArg,
303
+ args,
304
+ additional,
305
+ callbackIndex
306
+ );
307
+ }
221
308
  subscribe(handlers) {
222
309
  for (const eventName of traceEvents) {
223
310
  const handler = handlers[eventName];
@@ -439,6 +526,60 @@ function hasTracingHookShape(value) {
439
526
  return false;
440
527
  }
441
528
  }
529
+ function hasInvocationHookShape(value) {
530
+ if (typeof value !== "object" && typeof value !== "function" || value === null) {
531
+ return false;
532
+ }
533
+ try {
534
+ const hook = value;
535
+ return value[invocationHookBrand] === GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION && typeof hook.hasInterceptors === "boolean" && typeof hook.intercept === "function" && typeof hook.invoke === "function";
536
+ } catch {
537
+ return false;
538
+ }
539
+ }
540
+ function installInvocationHook(value) {
541
+ const hasInvocationHook = hasInvocationHookShape(value);
542
+ const invocationHook = new InvocationHook();
543
+ try {
544
+ if (!hasInvocationHook) {
545
+ Object.defineProperties(value, {
546
+ [invocationHookBrand]: {
547
+ configurable: false,
548
+ enumerable: false,
549
+ value: GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION,
550
+ writable: false
551
+ },
552
+ hasInterceptors: {
553
+ configurable: false,
554
+ enumerable: false,
555
+ get: () => invocationHook.hasInterceptors
556
+ },
557
+ intercept: {
558
+ configurable: false,
559
+ enumerable: false,
560
+ value: invocationHook.intercept.bind(invocationHook),
561
+ writable: false
562
+ },
563
+ invoke: {
564
+ configurable: false,
565
+ enumerable: false,
566
+ value: invocationHook.invoke.bind(invocationHook),
567
+ writable: false
568
+ }
569
+ });
570
+ }
571
+ if (typeof value.traceInvocation !== "function") {
572
+ Object.defineProperty(value, "traceInvocation", {
573
+ configurable: false,
574
+ enumerable: false,
575
+ value: traceInvocation.bind(void 0, value),
576
+ writable: false
577
+ });
578
+ }
579
+ } catch (error) {
580
+ reportError(error);
581
+ }
582
+ }
442
583
  function isCompatibleTracingHook(value) {
443
584
  try {
444
585
  return value[hookBrand] === GLOBAL_INSTRUMENTATION_HOOKS_PROTOCOL_VERSION && hasTracingHookShape(value);
@@ -525,6 +666,7 @@ function newGlobalTracingChannel(nameOrChannels) {
525
666
  return inertTracingHook;
526
667
  }
527
668
  if (isCompatibleTracingHook(existing)) {
669
+ installInvocationHook(existing);
528
670
  return existing;
529
671
  }
530
672
  if (existing !== void 0) {
@@ -594,11 +736,21 @@ function defineChannels(pkg, channels, options) {
594
736
  const tracingChannel2 = () => isomorph_default.newTracingChannel(
595
737
  fullChannelName
596
738
  );
739
+ const intercept2 = (interceptor) => {
740
+ const hook = tracingChannel2();
741
+ return typeof hook.intercept === "function" ? hook.intercept(interceptor) : () => {
742
+ };
743
+ };
597
744
  return [
598
745
  key,
599
746
  {
600
747
  ...asyncSpec,
601
748
  instrumentationName,
749
+ intercept: intercept2,
750
+ invoke: (target, thisArg, args, additional) => {
751
+ const hook = tracingChannel2();
752
+ return typeof hook.invoke === "function" ? hook.invoke(target, thisArg, args, additional) : Reflect.apply(target, thisArg, args);
753
+ },
602
754
  tracingChannel: tracingChannel2,
603
755
  tracePromise: (fn, context) => tracingChannel2().tracePromise(
604
756
  fn,
@@ -612,11 +764,21 @@ function defineChannels(pkg, channels, options) {
612
764
  const tracingChannel = () => isomorph_default.newTracingChannel(
613
765
  fullChannelName
614
766
  );
767
+ const intercept = (interceptor) => {
768
+ const hook = tracingChannel();
769
+ return typeof hook.intercept === "function" ? hook.intercept(interceptor) : () => {
770
+ };
771
+ };
615
772
  return [
616
773
  key,
617
774
  {
618
775
  ...syncSpec,
619
776
  instrumentationName,
777
+ intercept,
778
+ invoke: (target, thisArg, args, additional) => {
779
+ const hook = tracingChannel();
780
+ return typeof hook.invoke === "function" ? hook.invoke(target, thisArg, args, additional) : Reflect.apply(target, thisArg, args);
781
+ },
620
782
  tracingChannel,
621
783
  traceSync: (fn, context) => tracingChannel().traceSync(
622
784
  fn,
@@ -638,6 +800,7 @@ var INSTRUMENTATION_NAMES = {
638
800
  CLAUDE_AGENT_SDK: "claude-agent-sdk",
639
801
  CLOUDFLARE_AI_CHAT: "cloudflare-ai-chat",
640
802
  CLOUDFLARE_AGENTS: "cloudflare-agents",
803
+ CLOUDFLARE_THINK: "cloudflare-think",
641
804
  COHERE: "cohere",
642
805
  CURSOR_SDK: "cursor-sdk",
643
806
  EVE: "eve",
@@ -652,13 +815,15 @@ var INSTRUMENTATION_NAMES = {
652
815
  LANGSMITH: "langsmith",
653
816
  MASTRA: "mastra",
654
817
  MISTRAL: "mistral",
818
+ OLLAMA: "ollama",
655
819
  OPENAI: "openai",
656
820
  OPENAI_AGENTS: "openai-agents",
657
821
  OPENAI_CODEX: "openai-codex",
658
822
  OPENROUTER: "openrouter",
659
823
  OPENROUTER_AGENT: "openrouter-agent",
660
824
  PI_CODING_AGENT: "pi-coding-agent",
661
- STRANDS_AGENT_SDK: "strands-agent-sdk"
825
+ STRANDS_AGENT_SDK: "strands-agent-sdk",
826
+ VOYAGEAI: "voyageai"
662
827
  };
663
828
 
664
829
  // src/instrumentation/plugins/openai-channels.ts
@@ -946,6 +1111,14 @@ var anthropicChannels = defineChannels(
946
1111
  betaMessagesToolRunner: channel({
947
1112
  channelName: "beta.messages.toolRunner",
948
1113
  kind: "sync-stream"
1114
+ }),
1115
+ betaSessionsEventsStream: channel({
1116
+ channelName: "beta.sessions.events.stream",
1117
+ kind: "async"
1118
+ }),
1119
+ betaSessionsThreadsEventsStream: channel({
1120
+ channelName: "beta.sessions.threads.events.stream",
1121
+ kind: "async"
949
1122
  })
950
1123
  },
951
1124
  { instrumentationName: INSTRUMENTATION_NAMES.ANTHROPIC }
@@ -1064,7 +1237,40 @@ var anthropicConfigs = [
1064
1237
  methodName: "toolRunner",
1065
1238
  kind: "Sync"
1066
1239
  }
1067
- }
1240
+ },
1241
+ // Managed Agents Sessions event streams are discovered automatically, but
1242
+ // remain passive until the user calls collectAnthropicSession() on the
1243
+ // returned stream.
1244
+ ...["mjs", "js"].map(
1245
+ (extension) => ({
1246
+ channelName: anthropicChannels.betaSessionsEventsStream.channelName,
1247
+ module: {
1248
+ name: "@anthropic-ai/sdk",
1249
+ versionRange: ">=0.86.0",
1250
+ filePath: `resources/beta/sessions/events.${extension}`
1251
+ },
1252
+ functionQuery: {
1253
+ className: "Events",
1254
+ methodName: "stream",
1255
+ kind: "Async"
1256
+ }
1257
+ })
1258
+ ),
1259
+ ...["mjs", "js"].map(
1260
+ (extension) => ({
1261
+ channelName: anthropicChannels.betaSessionsThreadsEventsStream.channelName,
1262
+ module: {
1263
+ name: "@anthropic-ai/sdk",
1264
+ versionRange: ">=0.86.0",
1265
+ filePath: `resources/beta/sessions/threads/events.${extension}`
1266
+ },
1267
+ functionQuery: {
1268
+ className: "Events",
1269
+ methodName: "stream",
1270
+ kind: "Async"
1271
+ }
1272
+ })
1273
+ )
1068
1274
  ];
1069
1275
 
1070
1276
  // src/instrumentation/plugins/bedrock-runtime-channels.ts
@@ -1715,6 +1921,36 @@ var cloudflareAgentsConfigs = [
1715
1921
  }
1716
1922
  ];
1717
1923
 
1924
+ // src/instrumentation/plugins/cloudflare-think-channels.ts
1925
+ var cloudflareThinkChannels = defineChannels(
1926
+ "@cloudflare/think",
1927
+ {
1928
+ runInferenceLoop: channel({
1929
+ channelName: "Think.runInferenceLoop",
1930
+ kind: "async"
1931
+ })
1932
+ },
1933
+ { instrumentationName: INSTRUMENTATION_NAMES.CLOUDFLARE_THINK }
1934
+ );
1935
+
1936
+ // src/auto-instrumentations/configs/cloudflare-think.ts
1937
+ var cloudflareThinkVersionRange = ">=0.13.0 <0.14.0";
1938
+ var cloudflareThinkConfigs = [
1939
+ {
1940
+ channelName: cloudflareThinkChannels.runInferenceLoop.channelName,
1941
+ module: {
1942
+ name: "@cloudflare/think",
1943
+ versionRange: cloudflareThinkVersionRange,
1944
+ filePath: "dist/think.js"
1945
+ },
1946
+ functionQuery: {
1947
+ className: "Think",
1948
+ methodName: "_runInferenceLoop",
1949
+ kind: "Async"
1950
+ }
1951
+ }
1952
+ ];
1953
+
1718
1954
  // src/instrumentation/plugins/cursor-sdk-channels.ts
1719
1955
  var cursorSDKChannels = defineChannels(
1720
1956
  "@cursor/sdk",
@@ -2332,6 +2568,19 @@ var openRouterConfigs = [
2332
2568
  kind: "Async"
2333
2569
  }
2334
2570
  },
2571
+ {
2572
+ channelName: openRouterChannels.betaResponsesSend.channelName,
2573
+ module: {
2574
+ name: "@openrouter/sdk",
2575
+ versionRange: ">=1.1.2 <2.0.0",
2576
+ filePath: "esm/sdk/betaresponses.js"
2577
+ },
2578
+ functionQuery: {
2579
+ className: "BetaResponses",
2580
+ methodName: "send",
2581
+ kind: "Async"
2582
+ }
2583
+ },
2335
2584
  {
2336
2585
  channelName: openRouterChannels.callModel.channelName,
2337
2586
  module: {
@@ -2689,6 +2938,51 @@ var mistralConfigs = [
2689
2938
  }
2690
2939
  ];
2691
2940
 
2941
+ // src/instrumentation/plugins/ollama-channels.ts
2942
+ var ollamaChannels = defineChannels(
2943
+ "ollama",
2944
+ {
2945
+ chat: channel({
2946
+ channelName: "chat",
2947
+ kind: "async"
2948
+ }),
2949
+ generate: channel({
2950
+ channelName: "generate",
2951
+ kind: "async"
2952
+ }),
2953
+ embed: channel({
2954
+ channelName: "embed",
2955
+ kind: "async"
2956
+ })
2957
+ },
2958
+ { instrumentationName: INSTRUMENTATION_NAMES.OLLAMA }
2959
+ );
2960
+
2961
+ // src/auto-instrumentations/configs/ollama.ts
2962
+ var methods = [
2963
+ ["chat", ollamaChannels.chat.channelName],
2964
+ ["generate", ollamaChannels.generate.channelName],
2965
+ ["embed", ollamaChannels.embed.channelName]
2966
+ ];
2967
+ var implementationFiles = ["dist/browser.mjs", "dist/browser.cjs"];
2968
+ var ollamaConfigs = [
2969
+ ...implementationFiles.flatMap(
2970
+ (filePath) => methods.map(([methodName, channelName]) => ({
2971
+ channelName,
2972
+ module: {
2973
+ name: "ollama",
2974
+ versionRange: ">=0.6.0 <0.7.0",
2975
+ filePath
2976
+ },
2977
+ functionQuery: {
2978
+ className: "Ollama",
2979
+ methodName,
2980
+ kind: "Async"
2981
+ }
2982
+ }))
2983
+ )
2984
+ ];
2985
+
2692
2986
  // src/instrumentation/plugins/google-adk-channels.ts
2693
2987
  var googleADKChannels = defineChannels(
2694
2988
  "@google/adk",
@@ -3757,6 +4051,7 @@ var piCodingAgentConfigs = [
3757
4051
  claudeAgentSDKConfigs,
3758
4052
  cloudflareAIChatConfigs,
3759
4053
  cloudflareAgentsConfigs,
4054
+ cloudflareThinkConfigs,
3760
4055
  cohereConfigs,
3761
4056
  cursorSDKConfigs,
3762
4057
  genkitConfigs,
@@ -3768,6 +4063,7 @@ var piCodingAgentConfigs = [
3768
4063
  langSmithConfigs,
3769
4064
  langchainConfigs,
3770
4065
  mistralConfigs,
4066
+ ollamaConfigs,
3771
4067
  openAIAgentsCoreConfigs,
3772
4068
  openAICodexConfigs,
3773
4069
  openRouterAgentConfigs,
@@ -58,6 +58,8 @@ declare const claudeAgentSDKConfigs: InstrumentationConfig[];
58
58
 
59
59
  declare const cloudflareAgentsConfigs: InstrumentationConfig[];
60
60
 
61
+ declare const cloudflareThinkConfigs: InstrumentationConfig[];
62
+
61
63
  declare const cursorSDKConfigs: InstrumentationConfig[];
62
64
 
63
65
  declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
@@ -83,6 +85,8 @@ declare const openRouterConfigs: InstrumentationConfig[];
83
85
 
84
86
  declare const mistralConfigs: InstrumentationConfig[];
85
87
 
88
+ declare const ollamaConfigs: InstrumentationConfig[];
89
+
86
90
  /**
87
91
  * Instrumentation configurations for the Google ADK (@google/adk).
88
92
  *
@@ -119,4 +123,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
119
123
 
120
124
  declare const piCodingAgentConfigs: InstrumentationConfig[];
121
125
 
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 };
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 };
@@ -58,6 +58,8 @@ declare const claudeAgentSDKConfigs: InstrumentationConfig[];
58
58
 
59
59
  declare const cloudflareAgentsConfigs: InstrumentationConfig[];
60
60
 
61
+ declare const cloudflareThinkConfigs: InstrumentationConfig[];
62
+
61
63
  declare const cursorSDKConfigs: InstrumentationConfig[];
62
64
 
63
65
  declare const openAIAgentsCoreConfigs: InstrumentationConfig[];
@@ -83,6 +85,8 @@ declare const openRouterConfigs: InstrumentationConfig[];
83
85
 
84
86
  declare const mistralConfigs: InstrumentationConfig[];
85
87
 
88
+ declare const ollamaConfigs: InstrumentationConfig[];
89
+
86
90
  /**
87
91
  * Instrumentation configurations for the Google ADK (@google/adk).
88
92
  *
@@ -119,4 +123,4 @@ declare const langSmithConfigs: InstrumentationConfig[];
119
123
 
120
124
  declare const piCodingAgentConfigs: InstrumentationConfig[];
121
125
 
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 };
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 };
@@ -5,6 +5,7 @@ import {
5
5
  claudeAgentSDKConfigs,
6
6
  cloudflareAIChatConfigs,
7
7
  cloudflareAgentsConfigs,
8
+ cloudflareThinkConfigs,
8
9
  cohereConfigs,
9
10
  cursorSDKConfigs,
10
11
  genkitConfigs,
@@ -16,14 +17,15 @@ import {
16
17
  langSmithConfigs,
17
18
  langchainConfigs,
18
19
  mistralConfigs,
20
+ ollamaConfigs,
19
21
  openAIAgentsCoreConfigs,
20
22
  openAICodexConfigs,
21
23
  openRouterAgentConfigs,
22
24
  openRouterConfigs,
23
25
  openaiConfigs,
24
26
  piCodingAgentConfigs
25
- } from "./chunk-XZHHE4Y3.mjs";
26
- import "./chunk-NRE4QUQR.mjs";
27
+ } from "./chunk-NP7V4XB2.mjs";
28
+ import "./chunk-JPUFNW7X.mjs";
27
29
  export {
28
30
  aiSDKConfigs,
29
31
  anthropicConfigs,
@@ -31,6 +33,7 @@ export {
31
33
  claudeAgentSDKConfigs,
32
34
  cloudflareAIChatConfigs,
33
35
  cloudflareAgentsConfigs,
36
+ cloudflareThinkConfigs,
34
37
  cohereConfigs,
35
38
  cursorSDKConfigs,
36
39
  genkitConfigs,
@@ -42,6 +45,7 @@ export {
42
45
  langSmithConfigs,
43
46
  langchainConfigs,
44
47
  mistralConfigs,
48
+ ollamaConfigs,
45
49
  openAIAgentsCoreConfigs,
46
50
  openAICodexConfigs,
47
51
  openRouterAgentConfigs,