OpenCode 2.2.0 adds desktop plugins and keyed session instructions
OpenCode 2.2.0 introduces experimental creation, installation and sharing of Desktop plugins and a refreshed desktop experience. Plugins can attach keyed session instructions that survive compaction and reverts without editing the system prompt or busting the prompt cache, and prompt cache TTLs become configurable per provider and model. Breaking changes include the @opencode/ai root moving to the Promise API, removal of the GitHub Action, and OpenTUI 0.7 for TUI plugins.
- Experimental Desktop plugins can be created, installed and shared.
- Keyed session instructions survive compaction and reverts without an extra model turn.
- The @opencode/ai root is now the Promise API and the GitHub Action is removed.
New featureCompatibility
Original evidence · 2026-10-27 02h
OpenCode Releases ↗Based on original textWhy it matters
Plugin instructions and cache TTL configuration affect the extension ecosystem and long-session costs.