braintrust 3.9.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.
- package/dev/dist/index.d.mts +157 -3
- package/dev/dist/index.d.ts +157 -3
- package/dev/dist/index.js +10819 -7204
- package/dev/dist/index.mjs +7458 -3843
- package/dist/auto-instrumentations/bundler/esbuild.cjs +686 -1
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/rollup.cjs +686 -1
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +686 -1
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +634 -0
- package/dist/auto-instrumentations/bundler/webpack.cjs +686 -1
- package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
- package/dist/auto-instrumentations/{chunk-KIMMUFAK.mjs → chunk-DIV5TO4S.mjs} +679 -1
- package/dist/auto-instrumentations/{chunk-G7F6HZGE.mjs → chunk-G6ZWXGZB.mjs} +19 -2
- package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
- package/dist/auto-instrumentations/hook.mjs +793 -11
- package/dist/auto-instrumentations/index.cjs +774 -7
- package/dist/auto-instrumentations/index.d.mts +18 -1
- package/dist/auto-instrumentations/index.d.ts +18 -1
- package/dist/auto-instrumentations/index.mjs +102 -8
- package/dist/auto-instrumentations/loader/cjs-patch.cjs +26 -1
- package/dist/auto-instrumentations/loader/cjs-patch.mjs +28 -1
- package/dist/auto-instrumentations/loader/esm-hook.mjs +16 -1
- package/dist/browser.d.mts +600 -265
- package/dist/browser.d.ts +600 -265
- package/dist/browser.js +6171 -1851
- package/dist/browser.mjs +6171 -1851
- package/dist/cli.js +6417 -2794
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +6171 -1851
- package/dist/edge-light.mjs +6171 -1851
- package/dist/index.d.mts +613 -278
- package/dist/index.d.ts +613 -278
- package/dist/index.js +6507 -2187
- package/dist/index.mjs +6171 -1851
- package/dist/instrumentation/index.d.mts +19 -0
- package/dist/instrumentation/index.d.ts +19 -0
- package/dist/instrumentation/index.js +10265 -6841
- package/dist/instrumentation/index.mjs +10265 -6841
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +6171 -1851
- package/dist/workerd.mjs +6171 -1851
- package/package.json +16 -22
|
@@ -239,11 +239,17 @@ 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;
|
|
250
|
+
genkit?: boolean;
|
|
251
|
+
gitHubCopilot?: boolean;
|
|
252
|
+
openaiCodexSDK?: boolean;
|
|
247
253
|
};
|
|
248
254
|
}
|
|
249
255
|
/**
|
|
@@ -265,9 +271,11 @@ interface BraintrustPluginConfig {
|
|
|
265
271
|
declare class BraintrustPlugin extends BasePlugin {
|
|
266
272
|
private config;
|
|
267
273
|
private openaiPlugin;
|
|
274
|
+
private openAICodexPlugin;
|
|
268
275
|
private anthropicPlugin;
|
|
269
276
|
private aiSDKPlugin;
|
|
270
277
|
private claudeAgentSDKPlugin;
|
|
278
|
+
private cursorSDKPlugin;
|
|
271
279
|
private googleGenAIPlugin;
|
|
272
280
|
private huggingFacePlugin;
|
|
273
281
|
private openRouterPlugin;
|
|
@@ -275,6 +283,9 @@ declare class BraintrustPlugin extends BasePlugin {
|
|
|
275
283
|
private mistralPlugin;
|
|
276
284
|
private googleADKPlugin;
|
|
277
285
|
private coherePlugin;
|
|
286
|
+
private groqPlugin;
|
|
287
|
+
private genkitPlugin;
|
|
288
|
+
private gitHubCopilotPlugin;
|
|
278
289
|
constructor(config?: BraintrustPluginConfig);
|
|
279
290
|
protected onEnable(): void;
|
|
280
291
|
protected onDisable(): void;
|
|
@@ -297,12 +308,20 @@ interface InstrumentationConfig {
|
|
|
297
308
|
vercel?: boolean;
|
|
298
309
|
aisdk?: boolean;
|
|
299
310
|
google?: boolean;
|
|
311
|
+
googleGenAI?: boolean;
|
|
312
|
+
googleADK?: boolean;
|
|
300
313
|
huggingface?: boolean;
|
|
301
314
|
claudeAgentSDK?: boolean;
|
|
315
|
+
cursor?: boolean;
|
|
316
|
+
cursorSDK?: boolean;
|
|
302
317
|
openrouter?: boolean;
|
|
303
318
|
openrouterAgent?: boolean;
|
|
304
319
|
mistral?: boolean;
|
|
305
320
|
cohere?: boolean;
|
|
321
|
+
groq?: boolean;
|
|
322
|
+
genkit?: boolean;
|
|
323
|
+
gitHubCopilot?: boolean;
|
|
324
|
+
openaiCodexSDK?: boolean;
|
|
306
325
|
};
|
|
307
326
|
}
|
|
308
327
|
/**
|
|
@@ -239,11 +239,17 @@ 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;
|
|
250
|
+
genkit?: boolean;
|
|
251
|
+
gitHubCopilot?: boolean;
|
|
252
|
+
openaiCodexSDK?: boolean;
|
|
247
253
|
};
|
|
248
254
|
}
|
|
249
255
|
/**
|
|
@@ -265,9 +271,11 @@ interface BraintrustPluginConfig {
|
|
|
265
271
|
declare class BraintrustPlugin extends BasePlugin {
|
|
266
272
|
private config;
|
|
267
273
|
private openaiPlugin;
|
|
274
|
+
private openAICodexPlugin;
|
|
268
275
|
private anthropicPlugin;
|
|
269
276
|
private aiSDKPlugin;
|
|
270
277
|
private claudeAgentSDKPlugin;
|
|
278
|
+
private cursorSDKPlugin;
|
|
271
279
|
private googleGenAIPlugin;
|
|
272
280
|
private huggingFacePlugin;
|
|
273
281
|
private openRouterPlugin;
|
|
@@ -275,6 +283,9 @@ declare class BraintrustPlugin extends BasePlugin {
|
|
|
275
283
|
private mistralPlugin;
|
|
276
284
|
private googleADKPlugin;
|
|
277
285
|
private coherePlugin;
|
|
286
|
+
private groqPlugin;
|
|
287
|
+
private genkitPlugin;
|
|
288
|
+
private gitHubCopilotPlugin;
|
|
278
289
|
constructor(config?: BraintrustPluginConfig);
|
|
279
290
|
protected onEnable(): void;
|
|
280
291
|
protected onDisable(): void;
|
|
@@ -297,12 +308,20 @@ interface InstrumentationConfig {
|
|
|
297
308
|
vercel?: boolean;
|
|
298
309
|
aisdk?: boolean;
|
|
299
310
|
google?: boolean;
|
|
311
|
+
googleGenAI?: boolean;
|
|
312
|
+
googleADK?: boolean;
|
|
300
313
|
huggingface?: boolean;
|
|
301
314
|
claudeAgentSDK?: boolean;
|
|
315
|
+
cursor?: boolean;
|
|
316
|
+
cursorSDK?: boolean;
|
|
302
317
|
openrouter?: boolean;
|
|
303
318
|
openrouterAgent?: boolean;
|
|
304
319
|
mistral?: boolean;
|
|
305
320
|
cohere?: boolean;
|
|
321
|
+
groq?: boolean;
|
|
322
|
+
genkit?: boolean;
|
|
323
|
+
gitHubCopilot?: boolean;
|
|
324
|
+
openaiCodexSDK?: boolean;
|
|
306
325
|
};
|
|
307
326
|
}
|
|
308
327
|
/**
|