braintrust 3.10.0 → 3.11.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 (46) hide show
  1. package/dev/dist/index.d.mts +50 -2
  2. package/dev/dist/index.d.ts +50 -2
  3. package/dev/dist/index.js +10333 -8401
  4. package/dev/dist/index.mjs +6512 -4580
  5. package/dist/auto-instrumentations/bundler/esbuild.cjs +524 -5
  6. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  7. package/dist/auto-instrumentations/bundler/rollup.cjs +524 -5
  8. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  9. package/dist/auto-instrumentations/bundler/vite.cjs +524 -5
  10. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  11. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +475 -4
  12. package/dist/auto-instrumentations/bundler/webpack.cjs +524 -5
  13. package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
  14. package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-DIV5TO4S.mjs} +520 -5
  15. package/dist/auto-instrumentations/{chunk-XWEQQOQH.mjs → chunk-G6ZWXGZB.mjs} +12 -2
  16. package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
  17. package/dist/auto-instrumentations/hook.mjs +543 -8
  18. package/dist/auto-instrumentations/index.cjs +522 -4
  19. package/dist/auto-instrumentations/index.d.mts +14 -1
  20. package/dist/auto-instrumentations/index.d.ts +14 -1
  21. package/dist/auto-instrumentations/index.mjs +7 -1
  22. package/dist/auto-instrumentations/loader/cjs-patch.cjs +26 -1
  23. package/dist/auto-instrumentations/loader/cjs-patch.mjs +28 -1
  24. package/dist/auto-instrumentations/loader/esm-hook.mjs +16 -1
  25. package/dist/browser.d.mts +465 -264
  26. package/dist/browser.d.ts +465 -264
  27. package/dist/browser.js +10454 -8029
  28. package/dist/browser.mjs +10454 -8029
  29. package/dist/cli.js +6214 -4274
  30. package/dist/edge-light.d.mts +1 -1
  31. package/dist/edge-light.d.ts +1 -1
  32. package/dist/edge-light.js +10454 -8029
  33. package/dist/edge-light.mjs +10454 -8029
  34. package/dist/index.d.mts +478 -277
  35. package/dist/index.d.ts +478 -277
  36. package/dist/index.js +6836 -4411
  37. package/dist/index.mjs +10454 -8029
  38. package/dist/instrumentation/index.d.mts +12 -0
  39. package/dist/instrumentation/index.d.ts +12 -0
  40. package/dist/instrumentation/index.js +6503 -4574
  41. package/dist/instrumentation/index.mjs +6503 -4574
  42. package/dist/workerd.d.mts +1 -1
  43. package/dist/workerd.d.ts +1 -1
  44. package/dist/workerd.js +10454 -8029
  45. package/dist/workerd.mjs +10454 -8029
  46. package/package.json +11 -17
@@ -247,6 +247,9 @@ interface BraintrustPluginConfig {
247
247
  googleADK?: boolean;
248
248
  cohere?: boolean;
249
249
  groq?: boolean;
250
+ genkit?: boolean;
251
+ gitHubCopilot?: boolean;
252
+ openaiCodexSDK?: boolean;
250
253
  };
251
254
  }
252
255
  /**
@@ -268,6 +271,7 @@ interface BraintrustPluginConfig {
268
271
  declare class BraintrustPlugin extends BasePlugin {
269
272
  private config;
270
273
  private openaiPlugin;
274
+ private openAICodexPlugin;
271
275
  private anthropicPlugin;
272
276
  private aiSDKPlugin;
273
277
  private claudeAgentSDKPlugin;
@@ -280,6 +284,8 @@ declare class BraintrustPlugin extends BasePlugin {
280
284
  private googleADKPlugin;
281
285
  private coherePlugin;
282
286
  private groqPlugin;
287
+ private genkitPlugin;
288
+ private gitHubCopilotPlugin;
283
289
  constructor(config?: BraintrustPluginConfig);
284
290
  protected onEnable(): void;
285
291
  protected onDisable(): void;
@@ -302,6 +308,8 @@ interface InstrumentationConfig {
302
308
  vercel?: boolean;
303
309
  aisdk?: boolean;
304
310
  google?: boolean;
311
+ googleGenAI?: boolean;
312
+ googleADK?: boolean;
305
313
  huggingface?: boolean;
306
314
  claudeAgentSDK?: boolean;
307
315
  cursor?: boolean;
@@ -310,6 +318,10 @@ interface InstrumentationConfig {
310
318
  openrouterAgent?: boolean;
311
319
  mistral?: boolean;
312
320
  cohere?: boolean;
321
+ groq?: boolean;
322
+ genkit?: boolean;
323
+ gitHubCopilot?: boolean;
324
+ openaiCodexSDK?: boolean;
313
325
  };
314
326
  }
315
327
  /**
@@ -247,6 +247,9 @@ interface BraintrustPluginConfig {
247
247
  googleADK?: boolean;
248
248
  cohere?: boolean;
249
249
  groq?: boolean;
250
+ genkit?: boolean;
251
+ gitHubCopilot?: boolean;
252
+ openaiCodexSDK?: boolean;
250
253
  };
251
254
  }
252
255
  /**
@@ -268,6 +271,7 @@ interface BraintrustPluginConfig {
268
271
  declare class BraintrustPlugin extends BasePlugin {
269
272
  private config;
270
273
  private openaiPlugin;
274
+ private openAICodexPlugin;
271
275
  private anthropicPlugin;
272
276
  private aiSDKPlugin;
273
277
  private claudeAgentSDKPlugin;
@@ -280,6 +284,8 @@ declare class BraintrustPlugin extends BasePlugin {
280
284
  private googleADKPlugin;
281
285
  private coherePlugin;
282
286
  private groqPlugin;
287
+ private genkitPlugin;
288
+ private gitHubCopilotPlugin;
283
289
  constructor(config?: BraintrustPluginConfig);
284
290
  protected onEnable(): void;
285
291
  protected onDisable(): void;
@@ -302,6 +308,8 @@ interface InstrumentationConfig {
302
308
  vercel?: boolean;
303
309
  aisdk?: boolean;
304
310
  google?: boolean;
311
+ googleGenAI?: boolean;
312
+ googleADK?: boolean;
305
313
  huggingface?: boolean;
306
314
  claudeAgentSDK?: boolean;
307
315
  cursor?: boolean;
@@ -310,6 +318,10 @@ interface InstrumentationConfig {
310
318
  openrouterAgent?: boolean;
311
319
  mistral?: boolean;
312
320
  cohere?: boolean;
321
+ groq?: boolean;
322
+ genkit?: boolean;
323
+ gitHubCopilot?: boolean;
324
+ openaiCodexSDK?: boolean;
313
325
  };
314
326
  }
315
327
  /**