opencode-visual-cache 1.2.15-beta.1 → 1.2.15

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/LICENSE CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2026 Hotakus
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Hotakus
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1 +1 @@
1
- export declare const PLUGIN_VERSION = "1.2.15-beta.1";
1
+ export declare const PLUGIN_VERSION = "1.2.15";
package/dist/_version.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // auto-generated
2
- export const PLUGIN_VERSION = "1.2.15-beta.1";
2
+ export const PLUGIN_VERSION = "1.2.15";
package/dist/tui.js CHANGED
@@ -13,7 +13,7 @@ import { createElement as _$createElement } from "@opentui/solid";
13
13
  import { createMemo, createSignal, createEffect, onMount, onCleanup, Show, untrack } from "solid-js";
14
14
 
15
15
  // src/_version.ts
16
- var PLUGIN_VERSION = "1.2.14";
16
+ var PLUGIN_VERSION = "1.2.15";
17
17
 
18
18
  // src/index.tsx
19
19
  function charColumns(c) {
package/package.json CHANGED
@@ -1,65 +1,65 @@
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
- }
1
+ {
2
+ "name": "opencode-visual-cache",
3
+ "version": "1.2.15",
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.15-beta.1";
2
+ export const PLUGIN_VERSION="1.2.15";