Skip to content

0.3.0 — TUI sidebar status and explicit initialization

Latest

Choose a tag to compare

@azaharizaman azaharizaman released this 03 Nov 14:43
· 2 commits to main since this release

0.3.0 — TUI sidebar status and explicit initialization

This release adds the read-only TUI sidebar memory line and completes the explicit initialization gate, plus the Tier 0-3 hardening work since 0.2.0.

Highlights

TUI sidebar status (#29, ADR-0012)

  • One additive sidebar.footer line shows not-initialized, healthy, pending, or attention for the current project.
  • Backed by the read-only nexusnv.memory.sidebarStatus RPC, registered unconditionally by the server part. It returns only { state, pending }.
  • The collector checks isInitialized before any storage read, never writes or consumes notices, and coalesces overlapping probes so a stalled read cannot accumulate.
  • The TUI polls every 5 seconds with a 4-second timeout and unmount abort; invalid, rejected, or timed-out snapshots hide the line.
  • No visibility option: OpenCode 2.2.5 does not deliver package options to TUI plugin parts, so the line is always shown while the plugin is installed. Hiding it means removing the plugin.

Explicit initialization (E15, #20)

  • New projects start inert. /memory-init creates .opencode/memory/ (INDEX last) and is idempotent; existing installs with a regular INDEX.md activate automatically.
  • Before initialization only /memory-init, /memory-status, memory_status, and the read-only sidebar RPC answer.

Search, status, INDEX cleanup, and hardening

  • memory_search and the deterministic /memory-status + memory_status report.
  • INDEX pointer cleanup after /memory-forget.
  • Tier 0-3 work: metrics dashboard meanings/two-step reset, ledger pruning, hint nudge, onboarding checklist, prompt-tail placement, cross-process write locking, and read-only security hardening.

Upgrade

npm install opencode-nexusnv-memory@0.3.0

No migration is required for existing installs with INDEX.md. New projects must run /memory-init.

Compatibility

  • OpenCode 2.0.x, built and type-checked against @opencode/plugin 2.0.29 (pinned exact).
  • The TUI part requires the host TUI stack (@opentui/core/@opentui/solid peers).
  • Full changelog: CHANGELOG.md.