braintrust 0.4.4 → 0.4.6
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.js +20 -7
- package/dev/dist/index.mjs +20 -7
- package/dist/browser.d.mts +64 -1
- package/dist/browser.d.ts +64 -1
- package/dist/browser.js +12 -7
- package/dist/browser.mjs +12 -7
- package/dist/cli.js +24 -9
- package/dist/index.d.mts +88 -3
- package/dist/index.d.ts +88 -3
- package/dist/index.js +679 -75
- package/dist/index.mjs +632 -28
- package/package.json +4 -2
- package/util/dist/index.js +3 -1
- package/util/dist/index.mjs +3 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "braintrust",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "SDK for integrating Braintrust",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -56,10 +56,11 @@
|
|
|
56
56
|
"watch": "tsup --watch",
|
|
57
57
|
"clean": "rm -r dist/* && rm -r dev/dist/*",
|
|
58
58
|
"docs": "npx typedoc --options typedoc.json src/index.ts",
|
|
59
|
-
"test": "vitest run --exclude src/wrappers/anthropic.test.ts --exclude src/wrappers/oai.test.ts --exclude src/otel.test.ts --exclude src/otel-no-deps.test.ts --exclude src/wrappers/ai-sdk-v1.test.ts --exclude src/wrappers/ai-sdk-v2.test.ts --exclude src/wrappers/ai-sdk-v3.test.ts --exclude src/wrappers/mastra.test.ts --exclude src/wrappers/claude-agent-sdk.test.ts",
|
|
59
|
+
"test": "vitest run --exclude src/wrappers/anthropic.test.ts --exclude src/wrappers/oai.test.ts --exclude src/otel.test.ts --exclude src/otel-no-deps.test.ts --exclude src/wrappers/ai-sdk-v1.test.ts --exclude src/wrappers/ai-sdk-v2.test.ts --exclude src/wrappers/ai-sdk-v3.test.ts --exclude src/wrappers/mastra.test.ts --exclude src/wrappers/claude-agent-sdk.test.ts --exclude src/wrappers/google-genai.test.ts",
|
|
60
60
|
"test:anthropic": "vitest run src/wrappers/anthropic.test.ts",
|
|
61
61
|
"test:openai": "vitest run src/wrappers/oai.test.ts",
|
|
62
62
|
"test:otel": "vitest run src/otel.test.ts",
|
|
63
|
+
"test:google-genai": "vitest run src/wrappers/google-genai.test.ts",
|
|
63
64
|
"test:otel-no-deps": "vitest run src/otel-no-deps.test.ts --reporter=verbose",
|
|
64
65
|
"test:ai-sdk-v1": "vitest run src/wrappers/ai-sdk-v1.test.ts",
|
|
65
66
|
"test:ai-sdk-v2": "vitest run src/wrappers/ai-sdk-v2.test.ts src/wrappers/ai-sdk-v1.test.ts",
|
|
@@ -72,6 +73,7 @@
|
|
|
72
73
|
"devDependencies": {
|
|
73
74
|
"@ai-sdk/anthropic": "^1.0.5",
|
|
74
75
|
"@anthropic-ai/sdk": "^0.60.0",
|
|
76
|
+
"@google/genai": "^1.25.0",
|
|
75
77
|
"@jest/globals": "^29.7.0",
|
|
76
78
|
"@nodelib/fs.walk": "^1.2.8",
|
|
77
79
|
"@openai/agents": "^0.0.14",
|
package/util/dist/index.js
CHANGED