AI Agent News/stories/opencode-v2-4-1-adds-model-speed-controls-and-fixes-macos-12-session-saving.md

Frameworks

OpenCode v2.4.1 adds model speed controls and fixes macOS 12 session saving

OpenCode v2.4.1, the coding agent from the anomalyco/opencode project, restores assistant message saving on macOS 12 and lists models for providers configured only in config files. It also adds experimental model speed controls and plugin automation methods.

Source: github.com/anomalyco/opencode/releases/tag/v2.4.1

Release v2.4.1 fixes a problem where assistant messages failed to save on macOS 12. The system SQLite on that version does not support the JSON operator used in v2.4.0. Providers set up only in the config file, such as Ollama, now show their models in /models without needing a /connect login.

With the experimental.model_speeds setting enabled, model service tiers appear as remembered speeds instead of separate entries in the model picker. In the terminal interface, /speed and /fast list each tier with its relative price, and the desktop app adds a speed dropdown beside the variant selector. Effect and Promise plugins can now create, list and delete automations through ctx.experimental.automation.

Other fixes cover compaction, which now keeps history within the keep.tokens allowance even when the newest message alone exceeds it, and a case of extra cache cost in long goal sessions after compaction. Answers to /btw side questions that finish behind another side-panel tab now show an unread dot. @opencode/plugin also accepts @opentui/core and @opentui/solid from version 0.8.0, so plugins capped below OpenTUI 0.9 can install again.

Why it matters if you build agents

Teams building agents on OpenCode's plugin system can now manage automations directly from Effect and Promise plugins. Anyone running OpenCode on macOS 12 should update, since earlier builds could fail to save assistant messages there. Plugins pinned below OpenTUI 0.9 can be installed again after the dependency change.

Get stories like this every weekday

One short email with the day's agent tooling news.

Subscribe