opencode-visual-cache 1.7.2-oc2 → 1.7.3-oc2
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/_version.d.ts +1 -1
- package/dist/_version.js +1 -1
- package/dist/tui.js +1 -1
- package/dist/v2.js +1 -1
- package/package.json +3 -3
- package/src/_version.ts +1 -1
- package/tui/index.js +12 -2
package/dist/_version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const PLUGIN_VERSION = "1.7.
|
|
1
|
+
export declare const PLUGIN_VERSION = "1.7.3-oc2";
|
package/dist/_version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// auto-generated
|
|
2
|
-
export const PLUGIN_VERSION = "1.7.
|
|
2
|
+
export const PLUGIN_VERSION = "1.7.3-oc2";
|
package/dist/tui.js
CHANGED
|
@@ -684,7 +684,7 @@ import { createElement as _$createElement } from "@opentui/solid";
|
|
|
684
684
|
import { createMemo, createSignal, createEffect, onMount, onCleanup, Show, untrack } from "solid-js";
|
|
685
685
|
|
|
686
686
|
// src/_version.ts
|
|
687
|
-
var PLUGIN_VERSION = "1.7.
|
|
687
|
+
var PLUGIN_VERSION = "1.7.3-oc2";
|
|
688
688
|
|
|
689
689
|
// src/panel/TokenCachePanel.tsx
|
|
690
690
|
var MIN_PANEL_WIDTH = 20;
|
package/dist/v2.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-visual-cache",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3-oc2",
|
|
4
4
|
"description": "OpenCode TUI plugin displaying real-time token cache hit rate in the sidebar",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -12,10 +12,10 @@
|
|
|
12
12
|
"files": [
|
|
13
13
|
"dist",
|
|
14
14
|
"src",
|
|
15
|
+
"tui",
|
|
15
16
|
"install.mjs",
|
|
16
17
|
"README.md",
|
|
17
|
-
"README_EN.md"
|
|
18
|
-
"tui"
|
|
18
|
+
"README_EN.md"
|
|
19
19
|
],
|
|
20
20
|
"bin": {
|
|
21
21
|
"opencode-visual-cache": "install.mjs"
|
package/src/_version.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// auto-generated
|
|
2
|
-
export const PLUGIN_VERSION="1.7.
|
|
2
|
+
export const PLUGIN_VERSION="1.7.3-oc2";
|
package/tui/index.js
CHANGED
|
@@ -1,2 +1,12 @@
|
|
|
1
|
-
// tui/index.js——V2
|
|
2
|
-
|
|
1
|
+
// tui/index.js——V1/V2 共用入口(双格式)
|
|
2
|
+
// - V1(opencode):exports["./tui"] → 本文件——readV1Plugin 读 tui 字段(V1 面板)
|
|
3
|
+
// - V2(opencode2):exports["./tui"] → 本文件——isPlugin 读 setup 字段(V2 面板)
|
|
4
|
+
import tuiMod from "./../dist/tui.js"
|
|
5
|
+
import v2Mod from "./../dist/v2.js"
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
id: "opencode-visual-cache",
|
|
9
|
+
tui: tuiMod.tui,
|
|
10
|
+
setup: v2Mod.setup,
|
|
11
|
+
}
|
|
12
|
+
|