-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 1.64 KB
/
Copy pathpackage.json
File metadata and controls
70 lines (70 loc) · 1.64 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
59
60
61
62
63
64
65
66
67
68
69
70
{
"name": "opencode-cache-hit",
"version": "0.6.2",
"description": "OpenCode TUI sidebar: prompt cache hit rate, tokens & cost with sub-agent rollup. Works with opencode-visual-cache; optional per-call JSONL timeline.",
"type": "module",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/zhumengzhu/opencode-cache-hit"
},
"homepage": "https://github.com/zhumengzhu/opencode-cache-hit#readme",
"bugs": "https://github.com/zhumengzhu/opencode-cache-hit/issues",
"keywords": [
"opencode",
"opencode-plugin",
"tui",
"sidebar",
"cache",
"cache-hit",
"cache-hit-rate",
"prompt-cache",
"token",
"cost",
"cost-tracking",
"sub-agent",
"agent",
"opencode-visual-cache",
"jsonl",
"timeline"
],
"exports": {
".": "./index.tsx",
"./tui": "./index.tsx",
"./tui-panel": "./src/tui-panel/index.ts"
},
"files": [
"index.tsx",
"src",
"cache-hit.config.example.json",
"LICENSE",
"README.md",
"README.zh-CN.md",
"AGENTS.md",
"CONTRIBUTING.md",
"docs",
"scripts"
],
"scripts": {
"test": "bun test tests/",
"check": "bun test tests/",
"syntax": "bun test tests/module-load.test.ts",
"prepublishOnly": "bun test tests/",
"prepare": "simple-git-hooks"
},
"simple-git-hooks": {
"pre-push": "bun test tests/"
},
"dependencies": {
"solid-js": "^1.9.0"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.14.0",
"@opencode-ai/sdk": ">=1.14.0",
"@opentui/core": ">=0.2.0",
"@opentui/solid": ">=0.2.0"
},
"devDependencies": {
"simple-git-hooks": "^2.13.1"
}
}