Repository navigation
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.footerline showsnot-initialized,healthy,pending, orattentionfor the current project. - Backed by the read-only
nexusnv.memory.sidebarStatusRPC, registered unconditionally by the server part. It returns only{ state, pending }. - The collector checks
isInitializedbefore 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
optionsto 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-initcreates.opencode/memory/(INDEX last) and is idempotent; existing installs with a regularINDEX.mdactivate automatically. - Before initialization only
/memory-init,/memory-status,memory_status, and the read-only sidebar RPC answer.
Search, status, INDEX cleanup, and hardening
memory_searchand the deterministic/memory-status+memory_statusreport.- 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.0No 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/solidpeers). - Full changelog:
CHANGELOG.md.