opencode-visual-cache 1.2.14 → 1.2.15-beta.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/package.json CHANGED
@@ -1,62 +1,65 @@
1
- {
2
- "name": "opencode-visual-cache",
3
- "version": "1.2.14",
4
- "description": "OpenCode TUI plugin displaying real-time token cache hit rate in the sidebar",
5
- "type": "module",
6
- "main": "dist/index.js",
7
- "types": "dist/index.d.ts",
8
- "exports": {
9
- ".": {
10
- "import": "./dist/index.js",
11
- "types": "./dist/index.d.ts"
12
- },
13
- "./tui": {
14
- "import": "./src/index.tsx",
15
- "config": {
16
- "enabled": true
17
- }
18
- }
19
- },
20
- "files": [
21
- "dist",
22
- "src",
23
- "install.mjs",
24
- "README.md",
25
- "README_EN.md"
26
- ],
27
- "bin": {
28
- "opencode-visual-cache": "install.mjs"
29
- },
30
- "scripts": {
31
- "build": "tsc",
32
- "typecheck": "tsc --noEmit",
33
- "version": "node -e \"require('fs').writeFileSync('src/_version.ts','// auto-generated\\nexport const PLUGIN_VERSION='+JSON.stringify(require('./package.json').version)+';\\n')\"",
34
- "prepublishOnly": "tsc"
35
- },
36
- "keywords": [
37
- "opencode",
38
- "opencode-plugin",
39
- "tui",
40
- "token",
41
- "cache-hit-rate",
42
- "cost-tracking"
43
- ],
44
- "repository": {
45
- "type": "git",
46
- "url": "git+https://github.com/Hotakus/opencode-visual-cache.git"
47
- },
48
- "license": "MIT",
49
- "peerDependencies": {
50
- "@opencode-ai/plugin": ">=1.14.0",
51
- "@opencode-ai/sdk": ">=1.14.0",
52
- "@opentui/core": ">=0.2.0",
53
- "@opentui/solid": ">=0.2.0",
54
- "solid-js": ">=1.9.0"
55
- },
56
- "devDependencies": {
57
- "@opencode-ai/plugin": "^1.14.50",
58
- "@opencode-ai/sdk": "^1.14.50",
59
- "tsx": "^4.22.3",
60
- "typescript": "^5.8.0"
61
- }
62
- }
1
+ {
2
+ "name": "opencode-visual-cache",
3
+ "version": "1.2.15-beta.1",
4
+ "description": "OpenCode TUI plugin displaying real-time token cache hit rate in the sidebar",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "import": "./dist/index.js",
11
+ "types": "./dist/index.d.ts"
12
+ },
13
+ "./tui": {
14
+ "import": "./dist/tui.js",
15
+ "config": {
16
+ "enabled": true
17
+ }
18
+ }
19
+ },
20
+ "files": [
21
+ "dist",
22
+ "src",
23
+ "install.mjs",
24
+ "README.md",
25
+ "README_EN.md"
26
+ ],
27
+ "bin": {
28
+ "opencode-visual-cache": "install.mjs"
29
+ },
30
+ "scripts": {
31
+ "build": "tsc && node build.tui.mjs",
32
+ "build:tui": "node build.tui.mjs",
33
+ "typecheck": "tsc --noEmit",
34
+ "version": "node -e \"require('fs').writeFileSync('src/_version.ts','// auto-generated\\nexport const PLUGIN_VERSION='+JSON.stringify(require('./package.json').version)+';\\n')\"",
35
+ "prepublishOnly": "tsc"
36
+ },
37
+ "keywords": [
38
+ "opencode",
39
+ "opencode-plugin",
40
+ "tui",
41
+ "token",
42
+ "cache-hit-rate",
43
+ "cost-tracking"
44
+ ],
45
+ "repository": {
46
+ "type": "git",
47
+ "url": "git+https://github.com/Hotakus/opencode-visual-cache.git"
48
+ },
49
+ "license": "MIT",
50
+ "peerDependencies": {
51
+ "@opencode-ai/plugin": ">=1.14.0",
52
+ "@opencode-ai/sdk": ">=1.14.0",
53
+ "@opentui/core": ">=0.2.0",
54
+ "@opentui/solid": ">=0.2.0",
55
+ "solid-js": ">=1.9.0"
56
+ },
57
+ "devDependencies": {
58
+ "@opencode-ai/plugin": "^1.14.50",
59
+ "@opencode-ai/sdk": "^1.14.50",
60
+ "esbuild": "^0.25.0",
61
+ "esbuild-plugin-solid": "^0.5.0",
62
+ "tsx": "^4.22.3",
63
+ "typescript": "^5.8.0"
64
+ }
65
+ }
package/src/_version.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  // auto-generated
2
- export const PLUGIN_VERSION="1.2.14";
2
+ export const PLUGIN_VERSION="1.2.15-beta.1";