← News

AI coding

opencode v2.4.1 Fixes macOS 12 Message Saving and Lists Config-Only Provider Models

anomalyco ships opencode v2.4.1: assistant-message saving restored on macOS 12, /models now shows Ollama-style config-only providers, and an experimental model_speeds tier ships behind a flag.

Published: 2026-11-23 16:35 UTCUpdated: 2026-11-23 16:35 UTCSource date: 2026-11-23

Official announcement

According to anomalyco's immutable GitHub Release notes dated 23 November, opencode v2.4.1 is out, carrying 8 commits on the dev branch since the release; the notes group changes under Core, TUI, Desktop, SDK and Extensions. The publisher's account of the bug: v2.4.0 used a JSON operator unsupported by the system SQLite on macOS 12, so assistant messages failed to save; v2.4.1 replaces that path, and the project says saving works again.

The same notes state that /models now lists models from config-only providers such as Ollama even when no /connect login exists. With experimental.model_speeds enabled, the notes say model service tiers appear as remembered speeds with relative prices in /speed and /fast, a speed dropdown arrives in Desktop, and the speed.list / speed.cycle keybinds are left unbound by default. Other fixes cover compaction honoring keep.tokens including oversized newest messages, extra cache cost in long goal sessions after compaction, unread dots for /btw answers behind another side-panel tab, Tab-navigation focus stops, and aborted shared event subscriptions stopping immediately. For extensions, the release adds ctx.experimental.automation.create/list/delete for Effect and Promise plugins, and @opencode/plugin now accepts @opentui/core and @opentui/solid from 0.8.0.

Analysis

If your team runs opencode on macOS 12, v2.4.1 is a corrective update aimed at the assistant-message persistence break introduced in v2.4.0; teams relying on saved history should prioritize it, while others can treat it as routine maintenance. The config-only provider fix matters most for local or self-hosted inference stacks: Ollama-style endpoints configured through config now surface in /models without a login flow, which may cut setup steps for users who never adopted /connect—an inference from the notes, not something we installed or tested.

Because service tiers are remembered as speeds rather than separate picker entries, prompting logic that keys off model-picker selections should be reviewed before enabling experimental.model_speeds; the flag contains the risk but also signals provisional behavior. The compaction and post-compaction cache-cost fixes target long-running agent sessions where token accounting drives spend, yet the notes give no measured savings, so cost impact cannot be estimated. The SDK subscription fix describes only the abort case; if you build on the shared event stream, verify buffered-event behavior yourself.

What remains unverified

The project published no quantitative data beyond the commit list: real-world behavior of the saving fix across macOS and SQLite versions, consistent /models display across config-only providers, how relative service-tier prices are calculated, and the actual change in post-compaction cache cost all lack reproducible measurement. Stability of the experimental extension APIs and compatibility impact of the @opentui dependency bump also need independent testing.


Related articles