Skip to content

v0.27.3

Choose a tag to compare

@github-actions github-actions released this 25 Jun 16:03
· 2556 commits to master since this release

v0.27.3

Patch release: prevents a hard context-overflow when switching from a large-context model to a smaller one mid-session, stops the dashboard from spawning a background indexer daemon, and includes sidebar polish plus the badge/schema-fence fixes queued from the v0.27.2 window.

Fixes

  • Switching to a smaller-context model mid-session no longer overflows the first request (#188). If you switched from a large-context model (say 512k) to a smaller one (say 272k) while the session already held more history than the new model's window, the first request was sent oversized and rejected by the provider, and recovery only kicked in one turn later. Root cause was a model-resolution bug: on the switching turn the transform read the model off the last assistant message (still the old model) instead of the new model you actually selected, so the whole pass sized history against the old, larger limit. Magic Context now resolves the outgoing model correctly, clears the previous model's stale limit/pressure state, and proactively compacts before the first request when the carried history would not fit, so the switch is seamless instead of erroring once.

  • Opening the dashboard no longer spawns a background indexer daemon. The dashboard runs opencode models to populate its model pickers, which booted the full OpenCode runtime including external plugins and could leave a high-CPU indexer process orphaned after the short-lived discovery call exited. It now runs opencode --pure models, which skips external plugins while keeping built-in auth.

  • Sidebar header badge stays readable and no longer renders heavy black text. The transparent-theme fix from the v0.27.2 window (#186) derived the badge label color from the accent, but its threshold flipped ordinary mid-tone accents (a typical orange/amber) to black, which looked heavy and clashed with neighboring badges. The label now stays white across the normal range of accent colors and only switches to black on genuinely light/pale accents, while remaining safe on transparent themes.

  • Sidebar slot now sits higher by default. The Magic Context sidebar slot's default sort order moved up so it renders above the AFT slot out of the box. You can still set your own order (or forceToTop) in tui-preferences.jsonc.

  • Clearer schema-fence guidance (#185). When a database written by a newer plugin version is opened by an older one, the message now points you at doctor --force as the remedy.

Docs

  • Corrected the README's "existing project" section and rewrote the dashboard reference page to match the current project-centric dashboard layout (Projects with Sessions/Memories/Dreamer/Primers, Workspaces, Cache, User Directives, Config, Logs).