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.
Files changed (46) hide show
  1. package/dev/dist/index.d.mts +50 -2
  2. package/dev/dist/index.d.ts +50 -2
  3. package/dev/dist/index.js +10333 -8401
  4. package/dev/dist/index.mjs +6512 -4580
  5. package/dist/auto-instrumentations/bundler/esbuild.cjs +524 -5
  6. package/dist/auto-instrumentations/bundler/esbuild.mjs +2 -2
  7. package/dist/auto-instrumentations/bundler/rollup.cjs +524 -5
  8. package/dist/auto-instrumentations/bundler/rollup.mjs +2 -2
  9. package/dist/auto-instrumentations/bundler/vite.cjs +524 -5
  10. package/dist/auto-instrumentations/bundler/vite.mjs +2 -2
  11. package/dist/auto-instrumentations/bundler/webpack-loader.cjs +475 -4
  12. package/dist/auto-instrumentations/bundler/webpack.cjs +524 -5
  13. package/dist/auto-instrumentations/bundler/webpack.mjs +2 -2
  14. package/dist/auto-instrumentations/{chunk-GZNXBBPU.mjs → chunk-DIV5TO4S.mjs} +520 -5
  15. package/dist/auto-instrumentations/{chunk-XWEQQOQH.mjs → chunk-G6ZWXGZB.mjs} +12 -2
  16. package/dist/auto-instrumentations/{chunk-ITP7RAUY.mjs → chunk-MWZXZQUO.mjs} +23 -1
  17. package/dist/auto-instrumentations/hook.mjs +543 -8
  18. package/dist/auto-instrumentations/index.cjs +522 -4
  19. package/dist/auto-instrumentations/index.d.mts +14 -1
  20. package/dist/auto-instrumentations/index.d.ts +14 -1
  21. package/dist/auto-instrumentations/index.mjs +7 -1
  22. package/dist/auto-instrumentations/loader/cjs-patch.cjs +26 -1
  23. package/dist/auto-instrumentations/loader/cjs-patch.mjs +28 -1
  24. package/dist/auto-instrumentations/loader/esm-hook.mjs +16 -1
  25. package/dist/browser.d.mts +465 -264
  26. package/dist/browser.d.ts +465 -264
  27. package/dist/browser.js +10454 -8029
  28. package/dist/browser.mjs +10454 -8029
  29. package/dist/cli.js +6214 -4274
  30. package/dist/edge-light.d.mts +1 -1
  31. package/dist/edge-light.d.ts +1 -1
  32. package/dist/edge-light.js +10454 -8029
  33. package/dist/edge-light.mjs +10454 -8029
  34. package/dist/index.d.mts +478 -277
  35. package/dist/index.d.ts +478 -277
  36. package/dist/index.js +6836 -4411
  37. package/dist/index.mjs +10454 -8029
  38. package/dist/instrumentation/index.d.mts +12 -0
  39. package/dist/instrumentation/index.d.ts +12 -0
  40. package/dist/instrumentation/index.js +6503 -4574
  41. package/dist/instrumentation/index.mjs +6503 -4574
  42. package/dist/workerd.d.mts +1 -1
  43. package/dist/workerd.d.ts +1 -1
  44. package/dist/workerd.js +10454 -8029
  45. package/dist/workerd.mjs +10454 -8029
  46. package/package.json +11 -17
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "braintrust",
3
- "version": "3.10.0",
3
+ "version": "3.11.0",
4
4
  "description": "SDK for integrating Braintrust",
5
5
  "repository": {
6
6
  "type": "git",
@@ -148,7 +148,8 @@
148
148
  "playground": "tsx playground.ts",
149
149
  "playground:auto": "mkdir -p .context && pnpm exec esbuild playground.ts --platform=node --format=esm --outfile=.context/playground.auto.mjs && node --import ./dist/auto-instrumentations/hook.mjs ./.context/playground.auto.mjs",
150
150
  "playground:cli:push": "node dist/cli.js push playground.ts",
151
- "playground:cli:eval": "node dist/cli.js eval playground.ts"
151
+ "playground:cli:eval": "node dist/cli.js eval playground.ts",
152
+ "yalc:publish": "yalc publish"
152
153
  },
153
154
  "author": "",
154
155
  "license": "MIT",
@@ -157,9 +158,7 @@
157
158
  "@anthropic-ai/sdk": "^0.60.0",
158
159
  "@google/adk": "^0.6.1",
159
160
  "@google/genai": "^1.25.0",
160
- "@jest/globals": "^29.7.0",
161
161
  "@nodelib/fs.walk": "^1.2.8",
162
- "@openai/agents": "^0.0.14",
163
162
  "@types/argparse": "^2.0.14",
164
163
  "@types/async": "^3.2.24",
165
164
  "@types/cli-progress": "^3.11.5",
@@ -179,13 +178,11 @@
179
178
  "autoevals": "^0.0.131",
180
179
  "cross-env": "^7.0.3",
181
180
  "eslint-plugin-node-import": "^1.0.5",
182
- "jiti": "^2.6.1",
183
181
  "openai": "6.25.0",
184
182
  "openapi-zod-client": "^1.18.3",
185
- "rollup": "^4.28.1",
183
+ "rollup": "^4.60.3",
186
184
  "tar": "^7.5.2",
187
185
  "tinybench": "^4.0.1",
188
- "ts-jest": "^29.1.4",
189
186
  "tsup": "^8.5.1",
190
187
  "tsx": "^4.21.0",
191
188
  "typedoc": "^0.25.13",
@@ -193,34 +190,31 @@
193
190
  "typescript": "5.4.4",
194
191
  "vite": "^6.4.2",
195
192
  "vite-tsconfig-paths": "^4.3.2",
196
- "vitest": "^4.1.2",
197
- "webpack": "^5.97.1",
193
+ "vitest": "4.1.5",
194
+ "webpack": "^5.106.2",
198
195
  "zod": "^3.25.34"
199
196
  },
200
197
  "dependencies": {
201
- "@ai-sdk/provider": "^1.1.3",
202
198
  "@apm-js-collab/code-transformer": "^0.12.0",
203
199
  "@next/env": "^14.2.3",
204
200
  "@vercel/functions": "^1.0.2",
205
- "ajv": "^8.17.1",
201
+ "ajv": "^8.20.0",
206
202
  "argparse": "^2.0.1",
207
- "boxen": "^8.0.1",
208
- "chalk": "^4.1.2",
209
203
  "cli-progress": "^3.12.0",
210
204
  "cli-table3": "^0.6.5",
211
205
  "cors": "^2.8.5",
212
206
  "dc-browser": "^1.0.4",
213
207
  "dotenv": "^16.4.5",
214
- "esbuild": "^0.27.0",
208
+ "esbuild": "0.28.0",
215
209
  "eventsource-parser": "^1.1.2",
216
- "express": "^4.21.2",
210
+ "express": "^5.2.1",
217
211
  "graceful-fs": "^4.2.11",
218
212
  "http-errors": "^2.0.0",
219
- "minimatch": "^9.0.3",
213
+ "minimatch": "^10.2.5",
220
214
  "module-details-from-path": "^1.0.4",
221
215
  "mustache": "^4.2.0",
222
216
  "pluralize": "^8.0.0",
223
- "simple-git": "^3.21.0",
217
+ "simple-git": "^3.36.0",
224
218
  "source-map": "^0.7.4",
225
219
  "termi-link": "^1.0.1",
226
220
  "unplugin": "^2.3.5",