OpenCode v1.4.4: MCP OAuth & Provider Fixes
OpenCode v1.4.4 fixes MCP OAuth persistence, restores prompt context for tools, adds Alibaba provider support, and improves plugin auth flows. 9 community contributors included.
TL;DR
- MCP OAuth connections now persist immediately, keeping authenticated servers connected
- Fixed reasoning summary injection for OpenAI-compatible providers
- Restored instance/logger context during prompt runs so tools and logging work correctly
- Added Alibaba provider support with cache support
New
- Alibaba provider support — Added with cache support for broader LLM compatibility.
- Experimental
compaction.autocontinuehook — Stop auto-continuing after compaction when needed. - Custom workspace adaptors — Plugins can now register custom workspace adaptors that appear in workspace creation.
- Export sanitization —
opencode export --sanitizeredacts PII and confidential transcript data. - Plugin auth improvements — Auth login now asks for API key only when the plugin has an
authorizemethod. - Session permission updates — Sessions can now update project permissions mid-run.
- Thinking support for zhipuai-coding-plan — Enabled with Korean IME truncation fix.
Fixed
- MCP OAuth persistence — Connections that finish immediately now persist, keeping authenticated servers connected.
- Instance and logger context — Restored during prompt runs so prompt-time tools and logging behave correctly.
- GitHub Copilot compaction — Kept compaction requests valid.
- Question API responses — Restored flat reply shape.
- Duplicate user messages — Prevented in ACP clients.
- User message chunk events — Stopped emitting during session and prompt turns in ACP clients.
- Reasoning summary injection — Fixed for
@ai-sdk/openai-compatibleproviders. - .gitignore handling — Snapshots now fully respect
.gitignore, including previously tracked files. - Image quota — Reading images no longer counts against quota.
- Diff line contrast — Fixed in built-in TUI themes.
- Windows desktop shutdown — Fixed backend hanging before shutdown.
- JavaScript SDK errors — Now throws clear error when older server responds with HTML instead of API.
To update: npm install opencode@latest or check the release page for platform-specific instructions.
Source: OpenCode