Change8

v1.4.4

OpenCode
4 features7 fixes9 improvementsclicoredesktopmcpproviderstui

Summary

This release introduces experimental control over compaction continuation and adds support for the Alibaba provider. Key fixes include restoring correct context for prompt-time tools, resolving issues with reasoning summary injection for OpenAI-compatible providers, and improving plugin authentication flows. Additionally, image reading is now free against quotas, and snapshots respect `.gitignore` more strictly.

New Features

  • Added the experimental `compaction.autocontinue` hook to allow stopping auto-continuing after compaction.
  • Added support for the Alibaba provider, including cache support.
  • Enabled thinking for `zhipuai-coding-plan`.
  • Plugins can now register custom workspace adaptors that appear in workspace creation.

Bug Fixes

  • Fixed reasoning summary injection for `@ai-sdk/openai-compatible` providers.
  • Fixed crash/hang on Windows desktop backend before shutdown.
  • Fixed Korean IME truncation when using `zhipuai-coding-plan`.
  • Fixed duplicate user messages appearing in ACP clients.
  • Fixed contrast issue with diff line numbers in built-in TUI themes.
  • Fixed plugin authentication logic so it only asks for an API key if the plugin has an `authorize` method.
  • Fixed plugin authentication logic to correctly ask for an API key when authorization is needed.

Improvements

  • Restored instance and logger context during prompt runs, ensuring prompt-time tools and logging function correctly.
  • Kept GitHub Copilot compaction requests valid.
  • Restored the flat reply shape for question API responses.
  • Persisted MCP OAuth connections that finish immediately, ensuring authenticated servers remain connected.
  • Stopped emitting `user_message_chunk` events during session and prompt turns in ACP clients.
  • Snapshots now fully respect `.gitignore`, including previously tracked files.
  • Reading images no longer counts against the user quota.
  • Sessions can now update project permissions mid-run.
  • The JavaScript SDK now throws a clear error when an older server responds with HTML instead of the expected API response.

OpenCode Documentation