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.
- package/dev/dist/index.d.mts +50 -2
- package/dev/dist/index.d.ts +50 -2
- package/dev/dist/index.js +10333 -8401
- package/dev/dist/index.mjs +6512 -4580
- package/dist/auto-instrumentations/bundler/esbuild.cjs +524 -5
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/rollup.cjs +524 -5
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +524 -5
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +475 -4
- package/dist/auto-instrumentations/bundler/webpack.cjs +524 -5
- package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
- package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-DIV5TO4S.mjs} +520 -5
- package/dist/auto-instrumentations/{chunk-XWEQQOQH.mjs → chunk-G6ZWXGZB.mjs} +12 -2
- package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
- package/dist/auto-instrumentations/hook.mjs +543 -8
- package/dist/auto-instrumentations/index.cjs +522 -4
- package/dist/auto-instrumentations/index.d.mts +14 -1
- package/dist/auto-instrumentations/index.d.ts +14 -1
- package/dist/auto-instrumentations/index.mjs +7 -1
- 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 +465 -264
- package/dist/browser.d.ts +465 -264
- package/dist/browser.js +10454 -8029
- package/dist/browser.mjs +10454 -8029
- package/dist/cli.js +6214 -4274
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +10454 -8029
- package/dist/edge-light.mjs +10454 -8029
- package/dist/index.d.mts +478 -277
- package/dist/index.d.ts +478 -277
- package/dist/index.js +6836 -4411
- package/dist/index.mjs +10454 -8029
- package/dist/instrumentation/index.d.mts +12 -0
- package/dist/instrumentation/index.d.ts +12 -0
- package/dist/instrumentation/index.js +6503 -4574
- package/dist/instrumentation/index.mjs +6503 -4574
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +10454 -8029
- package/dist/workerd.mjs +10454 -8029
- 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
|
/**
|