What changed
Users can now create, install and share desktop plugins (experimental), and the desktop app has a new look. Plugins can attach named instructions to a session without rewriting the system prompt, which keeps the prompt cache intact, and prompt-cache lifetimes can be set per provider and model. Breaking change: the root of the @opencode/ai package now exports the Promise API, with the Effect API moved to @opencode/ai/effect.
Who it affects
OpenCode desktop users, and SDK and plugin authors.
What to do
Update @opencode/ai imports before upgrading.
Source: https://github.com/anomalyco/opencode/releases/tag/v2.2.0