opencode-context-indicator 1.1.5 → 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 +24 -3233
- package/lib/cache.js +161 -0
- package/lib/commands.js +489 -0
- 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/README.md
CHANGED
|
@@ -9,7 +9,7 @@ arguments and the residual "other" bucket.
|
|
|
9
9
|
|
|
10
10
|
The package ships a **dual V1 + V2 plugin** (one entry works in both OpenCode
|
|
11
11
|
generations) plus an optional TUI sidebar module exposed as the `./tui` entry.
|
|
12
|
-
The V2 path is **tested against opencode v2.0.
|
|
12
|
+
The V2 path is **tested against opencode v2.0.21**; the V1 path against 1.18.29+.
|
|
13
13
|
|
|
14
14
|

|
|
15
15
|
|
|
@@ -378,12 +378,13 @@ the sidebar instead.
|
|
|
378
378
|
gracefully (the breakdown falls back to throttled `session.messages` fetches
|
|
379
379
|
and toasts keep working).
|
|
380
380
|
* **OpenCode ≥ 2.0.16** for the V2 path (built and verified against
|
|
381
|
-
**2.0.
|
|
381
|
+
**2.0.21**).
|
|
382
382
|
* **TUI sidebar**: terminal TUI only, requires the OpenTUI rendering stack that
|
|
383
383
|
ships with OpenCode. `@opentui/core` and `solid-js` are **optional** peer
|
|
384
384
|
dependencies resolved by OpenCode at runtime; the main plugin installs and runs
|
|
385
385
|
fine without them (the sidebar simply is not available). `@opentui/solid` is
|
|
386
|
-
instead shipped as a **pinned direct dependency** (exact `0.5.
|
|
386
|
+
instead shipped as a **pinned direct dependency** (exact `0.5.14`, matching
|
|
387
|
+
the OpenTUI stack OpenCode 2.0.21 ships): OpenCode's
|
|
387
388
|
TUI loader does not expose a host instance of it, so for npm-installed plugins
|
|
388
389
|
the JSX pragma would otherwise fail to resolve `@opentui/solid/jsx-runtime`
|
|
389
390
|
(upstream: opencode issue #33884 — `node_modules` plugins are excluded from the
|