braintrust 3.9.0 → 3.10.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 (42) hide show
  1. package/dev/dist/index.d.mts +107 -1
  2. package/dev/dist/index.d.ts +107 -1
  3. package/dev/dist/index.js +2126 -443
  4. package/dev/dist/index.mjs +1814 -131
  5. package/dist/auto-instrumentations/bundler/esbuild.cjs +166 -0
  6. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  7. package/dist/auto-instrumentations/bundler/rollup.cjs +166 -0
  8. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  9. package/dist/auto-instrumentations/bundler/vite.cjs +166 -0
  10. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  11. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +163 -0
  12. package/dist/auto-instrumentations/bundler/webpack.cjs +166 -0
  13. package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
  14. package/dist/auto-instrumentations/{chunk-KIMMUFAK.mjs → chunk-GZNXBBPU.mjs} +164 -1
  15. package/dist/auto-instrumentations/{chunk-G7F6HZGE.mjs → chunk-XWEQQOQH.mjs} +8 -1
  16. package/dist/auto-instrumentations/hook.mjs +255 -8
  17. package/dist/auto-instrumentations/index.cjs +256 -7
  18. package/dist/auto-instrumentations/index.d.mts +5 -1
  19. package/dist/auto-instrumentations/index.d.ts +5 -1
  20. package/dist/auto-instrumentations/index.mjs +96 -8
  21. package/dist/browser.d.mts +141 -7
  22. package/dist/browser.d.ts +141 -7
  23. package/dist/browser.js +2035 -140
  24. package/dist/browser.mjs +2035 -140
  25. package/dist/cli.js +1822 -139
  26. package/dist/edge-light.d.mts +1 -1
  27. package/dist/edge-light.d.ts +1 -1
  28. package/dist/edge-light.js +2035 -140
  29. package/dist/edge-light.mjs +2035 -140
  30. package/dist/index.d.mts +141 -7
  31. package/dist/index.d.ts +141 -7
  32. package/dist/index.js +2397 -502
  33. package/dist/index.mjs +2035 -140
  34. package/dist/instrumentation/index.d.mts +7 -0
  35. package/dist/instrumentation/index.d.ts +7 -0
  36. package/dist/instrumentation/index.js +1662 -167
  37. package/dist/instrumentation/index.mjs +1662 -167
  38. package/dist/workerd.d.mts +1 -1
  39. package/dist/workerd.d.ts +1 -1
  40. package/dist/workerd.js +2035 -140
  41. package/dist/workerd.mjs +2035 -140
  42. package/package.json +6 -6
@@ -239,11 +239,14 @@ interface BraintrustPluginConfig {
239
239
  googleGenAI?: boolean;
240
240
  huggingface?: boolean;
241
241
  claudeAgentSDK?: boolean;
242
+ cursor?: boolean;
243
+ cursorSDK?: boolean;
242
244
  openrouter?: boolean;
243
245
  openrouterAgent?: boolean;
244
246
  mistral?: boolean;
245
247
  googleADK?: boolean;
246
248
  cohere?: boolean;
249
+ groq?: boolean;
247
250
  };
248
251
  }
249
252
  /**
@@ -268,6 +271,7 @@ declare class BraintrustPlugin extends BasePlugin {
268
271
  private anthropicPlugin;
269
272
  private aiSDKPlugin;
270
273
  private claudeAgentSDKPlugin;
274
+ private cursorSDKPlugin;
271
275
  private googleGenAIPlugin;
272
276
  private huggingFacePlugin;
273
277
  private openRouterPlugin;
@@ -275,6 +279,7 @@ declare class BraintrustPlugin extends BasePlugin {
275
279
  private mistralPlugin;
276
280
  private googleADKPlugin;
277
281
  private coherePlugin;
282
+ private groqPlugin;
278
283
  constructor(config?: BraintrustPluginConfig);
279
284
  protected onEnable(): void;
280
285
  protected onDisable(): void;
@@ -299,6 +304,8 @@ interface InstrumentationConfig {
299
304
  google?: boolean;
300
305
  huggingface?: boolean;
301
306
  claudeAgentSDK?: boolean;
307
+ cursor?: boolean;
308
+ cursorSDK?: boolean;
302
309
  openrouter?: boolean;
303
310
  openrouterAgent?: boolean;
304
311
  mistral?: boolean;
@@ -239,11 +239,14 @@ interface BraintrustPluginConfig {
239
239
  googleGenAI?: boolean;
240
240
  huggingface?: boolean;
241
241
  claudeAgentSDK?: boolean;
242
+ cursor?: boolean;
243
+ cursorSDK?: boolean;
242
244
  openrouter?: boolean;
243
245
  openrouterAgent?: boolean;
244
246
  mistral?: boolean;
245
247
  googleADK?: boolean;
246
248
  cohere?: boolean;
249
+ groq?: boolean;
247
250
  };
248
251
  }
249
252
  /**
@@ -268,6 +271,7 @@ declare class BraintrustPlugin extends BasePlugin {
268
271
  private anthropicPlugin;
269
272
  private aiSDKPlugin;
270
273
  private claudeAgentSDKPlugin;
274
+ private cursorSDKPlugin;
271
275
  private googleGenAIPlugin;
272
276
  private huggingFacePlugin;
273
277
  private openRouterPlugin;
@@ -275,6 +279,7 @@ declare class BraintrustPlugin extends BasePlugin {
275
279
  private mistralPlugin;
276
280
  private googleADKPlugin;
277
281
  private coherePlugin;
282
+ private groqPlugin;
278
283
  constructor(config?: BraintrustPluginConfig);
279
284
  protected onEnable(): void;
280
285
  protected onDisable(): void;
@@ -299,6 +304,8 @@ interface InstrumentationConfig {
299
304
  google?: boolean;
300
305
  huggingface?: boolean;
301
306
  claudeAgentSDK?: boolean;
307
+ cursor?: boolean;
308
+ cursorSDK?: boolean;
302
309
  openrouter?: boolean;
303
310
  openrouterAgent?: boolean;
304
311
  mistral?: boolean;