You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TUI Sidebar — Live context breakdown bar in OpenCode's terminal UI showing token usage split across System Prompt, Compartments, Facts, Memories, and Conversation. Includes historian status, memory counts, dreamer last run, and pending queue count. Updates after every message.
TUI Commands — /ctx-status, /ctx-flush, and /ctx-aug work directly in TUI mode via dialogs and toasts.
Doctor CLI — bunx @cortexkit/opencode-magic-context doctor auto-detects and fixes configuration issues: verifies plugin registration, checks for conflicts (compaction, DCP, OMO hooks), ensures TUI sidebar is configured, and adds the plugin entry to opencode.json if missing.
Startup Conflict Detection — On startup, the plugin checks for compaction/DCP/OMO conflicts and warns the active session with a fix suggestion.
Auto tui.json Setup — Server plugin automatically adds the TUI plugin entry to tui.json on startup and notifies the user to restart.
JSON Schema — Published magic-context.schema.json for editor autocomplete and validation. Setup wizard adds $schema automatically.
Improvements
ctx_search message filter — Message history results now exclude messages still in the live context (not yet compartmentalized), reducing noise from content the agent can already see.
Comment-preserving config edits — CLI config writes (setup, doctor) now use comment-json to preserve user comments through read-modify-write cycles.
Nudge anchor reset — Rolling nudge positions properly reset after queue execution so they don't drift to unreachable token counts.
Status dialog — /ctx-status in TUI shows full categorized progress bar with per-model config resolution for thresholds and TTL.
Bug Fixes
Fixed enabled schema default from false to true (zero-config installs no longer silently disabled the plugin).
Fixed protected_tags config range from 1-20 to 1-100.
Fixed TUI crash when installed from npm — conflict-fixer.ts no longer imports comment-json (npm dep unavailable in TUI's raw-source runtime).
Fixed doctor issue counting and config filename display.