braintrust 3.24.0 → 3.25.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 +5 -0
- package/dev/dist/index.d.ts +5 -0
- package/dev/dist/index.js +2614 -1567
- package/dev/dist/index.mjs +2037 -990
- package/dist/apply-auto-instrumentation.js +200 -199
- package/dist/apply-auto-instrumentation.mjs +8 -7
- package/dist/auto-instrumentations/bundler/esbuild.cjs +596 -462
- package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
- package/dist/auto-instrumentations/bundler/next.cjs +596 -462
- package/dist/auto-instrumentations/bundler/next.mjs +3 -3
- package/dist/auto-instrumentations/bundler/rollup.cjs +596 -462
- package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
- package/dist/auto-instrumentations/bundler/vite.cjs +596 -462
- package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
- package/dist/auto-instrumentations/bundler/webpack-loader.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.cjs +596 -462
- package/dist/auto-instrumentations/bundler/webpack.mjs +3 -3
- package/dist/auto-instrumentations/{chunk-BURMPO7L.mjs → chunk-7P6563SW.mjs} +1 -1
- package/dist/auto-instrumentations/{chunk-F43DNLPD.mjs → chunk-CZ24KNHT.mjs} +569 -442
- package/dist/auto-instrumentations/{chunk-GSZHTAQW.mjs → chunk-JPVCUKTY.mjs} +30 -21
- package/dist/auto-instrumentations/hook.mjs +648 -476
- package/dist/auto-instrumentations/index.cjs +568 -442
- package/dist/auto-instrumentations/index.mjs +1 -1
- package/dist/browser.d.mts +7 -0
- package/dist/browser.d.ts +7 -0
- package/dist/browser.js +2022 -971
- package/dist/browser.mjs +2022 -971
- package/dist/{chunk-XE5FS7QY.mjs → chunk-2SANLSWX.mjs} +1375 -597
- package/dist/{chunk-7F6GCRHH.mjs → chunk-ABR2QWDP.mjs} +702 -456
- package/dist/{chunk-SU6EHKJV.js → chunk-GSIDVFE6.js} +2176 -1398
- package/dist/{chunk-7AUY2XWX.js → chunk-P25IOOU4.js} +704 -458
- package/dist/cli.js +2005 -958
- package/dist/edge-light.js +2022 -971
- package/dist/edge-light.mjs +2022 -971
- package/dist/index.d.mts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +447 -402
- package/dist/index.mjs +72 -27
- package/dist/instrumentation/index.d.mts +5 -0
- package/dist/instrumentation/index.d.ts +5 -0
- package/dist/instrumentation/index.js +1990 -981
- package/dist/instrumentation/index.mjs +1990 -981
- package/dist/vitest-evals-reporter.js +16 -16
- package/dist/vitest-evals-reporter.mjs +2 -2
- package/dist/workerd.js +2022 -971
- package/dist/workerd.mjs +2022 -971
- package/package.json +2 -2
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
smithyClientChannels,
|
|
31
31
|
smithyCoreChannels,
|
|
32
32
|
strandsAgentSDKChannels
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-ABR2QWDP.mjs";
|
|
34
34
|
|
|
35
35
|
// src/node/apply-auto-instrumentation-entry.ts
|
|
36
36
|
import * as diagnostics_channel from "node:diagnostics_channel";
|
|
@@ -43,6 +43,7 @@ var aiSDKConfigs = [
|
|
|
43
43
|
// `./agent` entrypoint. The compiled class expression is anonymous, so match
|
|
44
44
|
// the first async method with each public name instead of a class name.
|
|
45
45
|
...[
|
|
46
|
+
["createSession", harnessAgentChannels.createSession.channelName],
|
|
46
47
|
["generate", harnessAgentChannels.generate.channelName],
|
|
47
48
|
["stream", harnessAgentChannels.stream.channelName],
|
|
48
49
|
["continueGenerate", harnessAgentChannels.continueGenerate.channelName],
|
|
@@ -2382,7 +2383,7 @@ var openRouterConfigs = [
|
|
|
2382
2383
|
channelName: openRouterChannels.chatSend.channelName,
|
|
2383
2384
|
module: {
|
|
2384
2385
|
name: "@openrouter/sdk",
|
|
2385
|
-
versionRange: ">=0.9.11 <
|
|
2386
|
+
versionRange: ">=0.9.11 <2.0.0",
|
|
2386
2387
|
filePath: "esm/sdk/chat.js"
|
|
2387
2388
|
},
|
|
2388
2389
|
functionQuery: {
|
|
@@ -2395,7 +2396,7 @@ var openRouterConfigs = [
|
|
|
2395
2396
|
channelName: openRouterChannels.embeddingsGenerate.channelName,
|
|
2396
2397
|
module: {
|
|
2397
2398
|
name: "@openrouter/sdk",
|
|
2398
|
-
versionRange: ">=0.9.11 <
|
|
2399
|
+
versionRange: ">=0.9.11 <2.0.0",
|
|
2399
2400
|
filePath: "esm/sdk/embeddings.js"
|
|
2400
2401
|
},
|
|
2401
2402
|
functionQuery: {
|
|
@@ -2408,7 +2409,7 @@ var openRouterConfigs = [
|
|
|
2408
2409
|
channelName: openRouterChannels.rerankRerank.channelName,
|
|
2409
2410
|
module: {
|
|
2410
2411
|
name: "@openrouter/sdk",
|
|
2411
|
-
versionRange: ">=0.12.0 <
|
|
2412
|
+
versionRange: ">=0.12.0 <2.0.0",
|
|
2412
2413
|
filePath: "esm/sdk/rerank.js"
|
|
2413
2414
|
},
|
|
2414
2415
|
functionQuery: {
|
|
@@ -2421,7 +2422,7 @@ var openRouterConfigs = [
|
|
|
2421
2422
|
channelName: openRouterChannels.betaResponsesSend.channelName,
|
|
2422
2423
|
module: {
|
|
2423
2424
|
name: "@openrouter/sdk",
|
|
2424
|
-
versionRange: ">=0.9.11 <
|
|
2425
|
+
versionRange: ">=0.9.11 <2.0.0",
|
|
2425
2426
|
filePath: "esm/sdk/responses.js"
|
|
2426
2427
|
},
|
|
2427
2428
|
functionQuery: {
|
|
@@ -2434,7 +2435,7 @@ var openRouterConfigs = [
|
|
|
2434
2435
|
channelName: openRouterChannels.callModel.channelName,
|
|
2435
2436
|
module: {
|
|
2436
2437
|
name: "@openrouter/sdk",
|
|
2437
|
-
versionRange: ">=0.9.11 <
|
|
2438
|
+
versionRange: ">=0.9.11 <2.0.0",
|
|
2438
2439
|
filePath: "esm/sdk/sdk.js"
|
|
2439
2440
|
},
|
|
2440
2441
|
functionQuery: {
|
|
@@ -2462,7 +2463,7 @@ var openRouterAgentConfigs = [
|
|
|
2462
2463
|
];
|
|
2463
2464
|
|
|
2464
2465
|
// src/auto-instrumentations/configs/pi-coding-agent.ts
|
|
2465
|
-
var piCodingAgentVersionRange = ">=0.79.0 <0.
|
|
2466
|
+
var piCodingAgentVersionRange = ">=0.79.0 <0.82.0";
|
|
2466
2467
|
var piCodingAgentConfigs = [
|
|
2467
2468
|
{
|
|
2468
2469
|
channelName: piCodingAgentChannels.prompt.channelName,
|