@braintrust/trace-opencode 0.0.1
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/README.md +260 -0
- package/dist/index.js +13452 -0
- package/package.json +56 -0
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@braintrust/trace-opencode",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Automatically trace OpenCode conversations to Braintrust. Captures user messages, assistant responses, and tool calls for observability.",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"type": "module",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"build": "bun build src/index.ts --outdir dist --target bun --format esm",
|
|
10
|
+
"dev": "bun run --watch src/index.ts",
|
|
11
|
+
"test": "bun test",
|
|
12
|
+
"test:watch": "bun test --watch",
|
|
13
|
+
"typecheck": "tsc --noEmit",
|
|
14
|
+
"lint": "biome lint src",
|
|
15
|
+
"lint:fix": "biome lint --write src",
|
|
16
|
+
"format": "biome format --write src",
|
|
17
|
+
"check": "biome check src",
|
|
18
|
+
"check:fix": "biome check --write src",
|
|
19
|
+
"check:fix-unsafe": "biome check --write --unsafe src",
|
|
20
|
+
"clean": "rm -rf dist",
|
|
21
|
+
"prepublishOnly": "bun run build"
|
|
22
|
+
},
|
|
23
|
+
"keywords": [
|
|
24
|
+
"opencode",
|
|
25
|
+
"braintrust",
|
|
26
|
+
"llm",
|
|
27
|
+
"tracing",
|
|
28
|
+
"observability",
|
|
29
|
+
"evaluation"
|
|
30
|
+
],
|
|
31
|
+
"author": "Braintrust",
|
|
32
|
+
"license": "MIT",
|
|
33
|
+
"repository": {
|
|
34
|
+
"type": "git",
|
|
35
|
+
"url": "https://github.com/braintrustdata/braintrust-opencode-plugin"
|
|
36
|
+
},
|
|
37
|
+
"files": [
|
|
38
|
+
"dist",
|
|
39
|
+
"README.md"
|
|
40
|
+
],
|
|
41
|
+
"dependencies": {
|
|
42
|
+
"braintrust": "^0.0.185",
|
|
43
|
+
"zod": "^3.23.8"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@biomejs/biome": "^2.3.11",
|
|
47
|
+
"@opencode-ai/plugin": "^1.1.14",
|
|
48
|
+
"@opencode-ai/sdk": "^1.1.14",
|
|
49
|
+
"@types/bun": "^1.1.14",
|
|
50
|
+
"typescript": "^5.7.2"
|
|
51
|
+
},
|
|
52
|
+
"peerDependencies": {
|
|
53
|
+
"@opencode-ai/plugin": ">=1.0.0",
|
|
54
|
+
"@opencode-ai/sdk": ">=1.0.0"
|
|
55
|
+
}
|
|
56
|
+
}
|