Skip to content

v0.2.0: Build step 4: the Claude-Code-style display

Choose a tag to compare

@ali5ter ali5ter released this 20 Nov 17:05
· 20 commits to main since this release
  • Prompt-footer context-window indicator: a 10-cell glyph-density gauge of the
    model's registered context window plus the free space (or overrun), on the
    prompt bar of every session. It reads the client's synced session state
    (last completed assistant step, after the last compaction, before the revert
    boundary) reactively — no captured records, no RPC. It yields on the home
    route, in shell mode, and while the host hides details, and it shows the
    complementary free-space figure so it doesn't duplicate the host's own token
    numbers.
  • Per-tool rows in the panel detail: the tools slice breaks down into its
    individual schemas (up to 5 rows, tokens apportioned by rendered bytes) —
    same shape as the existing per-source and per-part blocks.
  • Free-space row in the panel detail: the context window minus the request's
    prompt, in the gauge colours, error-styled when the request overran it.
  • The slash command is now /what-context (no /context alias — the name change
    deliberately dodges the community opencode-context-usage plugin).
  • Install is from the npm registry: opencode plugin add opencode-what-context

Verified live in the TUI: the indicator and the new panel blocks render on a
real session without distorting the outgoing call.