opencode-usage-total 0.1.5 → 0.1.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/dist/index.js +1 -1
- package/package.json +13 -5
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,14 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-usage-total",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.6",
|
|
4
4
|
"description": "Track model usage, tokens, and costs per agent in the OpenCode TUI sidebar",
|
|
5
5
|
"type": "module",
|
|
6
|
-
"main": "dist/index.js",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"types": "./dist/index.d.ts",
|
|
10
10
|
"import": "./dist/index.js"
|
|
11
11
|
},
|
|
12
|
+
"./tui": {
|
|
13
|
+
"types": "./dist/index.d.ts",
|
|
14
|
+
"import": "./dist/index.js"
|
|
15
|
+
},
|
|
12
16
|
"./runtime": {
|
|
13
17
|
"types": "./dist/usage-total.d.ts",
|
|
14
18
|
"import": "./dist/usage-total.js"
|
|
@@ -40,14 +44,18 @@
|
|
|
40
44
|
"test:run": "vitest run",
|
|
41
45
|
"prepublishOnly": "npm run build"
|
|
42
46
|
},
|
|
43
|
-
"
|
|
44
|
-
"@
|
|
45
|
-
"
|
|
47
|
+
"peerDependencies": {
|
|
48
|
+
"@opencode-ai/plugin": ">=1.14.50 <2",
|
|
49
|
+
"@opentui/core": ">=0.4.0 <0.5",
|
|
50
|
+
"@opentui/solid": ">=0.4.0 <0.5",
|
|
51
|
+
"solid-js": ">=1.9.12 <2"
|
|
46
52
|
},
|
|
47
53
|
"devDependencies": {
|
|
48
54
|
"@opencode-ai/plugin": "^1.17.8",
|
|
49
55
|
"@opentui/core": "^0.4.1",
|
|
50
56
|
"@opentui/keymap": "^0.4.1",
|
|
57
|
+
"@opentui/solid": "^0.4.1",
|
|
58
|
+
"solid-js": "^1.9.12",
|
|
51
59
|
"tsup": "^8.5.1",
|
|
52
60
|
"vitest": "^4.1.9"
|
|
53
61
|
}
|