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.
- package/dev/dist/index.d.mts +107 -1
- package/dev/dist/index.d.ts +107 -1
- package/dev/dist/index.js +2126 -443
- package/dev/dist/index.mjs +1814 -131
- package/dist/auto-instrumentations/bundler/esbuild.cjs +166 -0
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/rollup.cjs +166 -0
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +166 -0
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +163 -0
- package/dist/auto-instrumentations/bundler/webpack.cjs +166 -0
- package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
- package/dist/auto-instrumentations/{chunk-KIMMUFAK.mjs → chunk-GZNXBBPU.mjs} +164 -1
- package/dist/auto-instrumentations/{chunk-G7F6HZGE.mjs → chunk-XWEQQOQH.mjs} +8 -1
- package/dist/auto-instrumentations/hook.mjs +255 -8
- package/dist/auto-instrumentations/index.cjs +256 -7
- package/dist/auto-instrumentations/index.d.mts +5 -1
- package/dist/auto-instrumentations/index.d.ts +5 -1
- package/dist/auto-instrumentations/index.mjs +96 -8
- package/dist/browser.d.mts +141 -7
- package/dist/browser.d.ts +141 -7
- package/dist/browser.js +2035 -140
- package/dist/browser.mjs +2035 -140
- package/dist/cli.js +1822 -139
- package/dist/edge-light.d.mts +1 -1
- package/dist/edge-light.d.ts +1 -1
- package/dist/edge-light.js +2035 -140
- package/dist/edge-light.mjs +2035 -140
- package/dist/index.d.mts +141 -7
- package/dist/index.d.ts +141 -7
- package/dist/index.js +2397 -502
- package/dist/index.mjs +2035 -140
- package/dist/instrumentation/index.d.mts +7 -0
- package/dist/instrumentation/index.d.ts +7 -0
- package/dist/instrumentation/index.js +1662 -167
- package/dist/instrumentation/index.mjs +1662 -167
- package/dist/workerd.d.mts +1 -1
- package/dist/workerd.d.ts +1 -1
- package/dist/workerd.js +2035 -140
- package/dist/workerd.mjs +2035 -140
- 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;
|