-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
58 lines (58 loc) · 1.35 KB
/
package.json
File metadata and controls
58 lines (58 loc) · 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{
"name": "opencode-visual-cache",
"version": "1.2.13",
"description": "OpenCode TUI plugin displaying real-time token cache hit rate in the sidebar",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"./tui": {
"import": "./src/index.tsx",
"config": {
"enabled": true
}
}
},
"files": [
"dist",
"src",
"install.mjs",
"README.md",
"README_EN.md"
],
"bin": {
"opencode-visual-cache": "install.mjs"
},
"scripts": {
"build": "tsc",
"typecheck": "tsc --noEmit",
"version": "node -e \"require('fs').writeFileSync('src/_version.ts','// auto-generated\\nexport const PLUGIN_VERSION='+JSON.stringify(require('./package.json').version)+';\\n')\"",
"prepublishOnly": "tsc"
},
"keywords": [
"opencode",
"opencode-plugin",
"tui",
"token",
"cache-hit-rate",
"cost-tracking"
],
"license": "MIT",
"peerDependencies": {
"@opencode-ai/plugin": ">=1.14.0",
"@opencode-ai/sdk": ">=1.14.0",
"@opentui/core": ">=0.2.0",
"@opentui/solid": ">=0.2.0",
"solid-js": ">=1.9.0"
},
"devDependencies": {
"@opencode-ai/plugin": "^1.14.50",
"@opencode-ai/sdk": "^1.14.50",
"tsx": "^4.22.3",
"typescript": "^5.8.0"
}
}