Skip to content

v0.1.0

Choose a tag to compare

@ali5ter ali5ter released this 13 Nov 20:55
· 22 commits to main since this release

v0.1.0 — the capture and the TUI panel are complete.

Every model call OpenCode makes is recorded: the assembled context (system
instructions by source, tool schemas, conversation) where the hooks expose
it, plus the wire body size and the provider's reported usage on every call.
In the TUI the records render as a panel — a context-window gauge, a request
history, a per-request composition bar, and a token trend.

Per-part token counts are estimated by apportioning the provider-reported
prompt total over rendered bytes; the provider's reported totals remain the
ground truth the gauge and trend are built on.

Install:

opencode plugin add github:ali5ter/opencode-what-context

The package installs from the Git repository on first start, so restart
OpenCode afterwards.


Tag history. The v0.1.0 tag was force-moved twice after its initial
placement, so the release ships as main now stands:

  • 2026-11-14 — onto the install-closure fix: the TUI part's runtime
    dependencies (solid-js, @opentui/core) were devDependencies, and a
    package installed from git or npm receives only dependencies in its
    closure, so an installed panel could not resolve them.
  • 2026-11-15 — onto the panel-location fix: the panel's RPC call carried the
    TUI's own directory, which on macOS can be the symlinked logical form
    (/var/folders/...) that the service never registered, so the call 400ed
    rpc.unavailable and the panel sat empty. The call now prefers the
    session's stored location and canonicalises either way.