opencode-context-indicator 1.1.4 → 1.1.6
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/README.md +4 -3
- package/index.js +28 -2794
- package/lib/cache.js +161 -0
- package/lib/commands.js +489 -0
- package/lib/dedup.js +12 -3
- package/lib/estimate.js +232 -0
- package/lib/limits.js +403 -0
- package/lib/state.js +595 -0
- package/lib/v1.js +957 -0
- package/lib/v2.js +692 -0
- package/package.json +4 -4
- package/tui.tsx +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-context-indicator",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.6",
|
|
4
4
|
"description": "Real-time OpenCode context-window usage indicator: per-category token breakdown written to a log file, plus an optional TUI sidebar. Dual V1 + V2 plugin entry.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"peerDependencies": {
|
|
43
43
|
"@opencode/plugin": ">=2.0.16",
|
|
44
|
-
"@opentui/core": ">=0.5.
|
|
44
|
+
"@opentui/core": ">=0.5.14",
|
|
45
45
|
"solid-js": ">=1.9.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependenciesMeta": {
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
}
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@opentui/solid": "0.5.
|
|
59
|
+
"@opentui/solid": "0.5.14"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@opencode/plugin": "^2.0.19",
|
|
63
|
-
"@opentui/core": "
|
|
63
|
+
"@opentui/core": "0.5.14",
|
|
64
64
|
"esbuild": "^0.28.2",
|
|
65
65
|
"node-pty": "^1.1.0",
|
|
66
66
|
"solid-js": "^1.9.12"
|
package/tui.tsx
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
*
|
|
26
26
|
* Runtime requirements: @opentui/core and solid-js are optional peers resolved
|
|
27
27
|
* by OpenCode at runtime. @opentui/solid is a pinned direct dependency (exact
|
|
28
|
-
* 0.5.
|
|
28
|
+
* 0.5.14): OpenCode's TUI loader does not expose a host instance of it, so for
|
|
29
29
|
* npm-installed plugins the JSX pragma would otherwise fail to resolve
|
|
30
30
|
* `@opentui/solid/jsx-runtime` (upstream opencode issue #33884).
|
|
31
31
|
*
|