# OpenCode 2.2.0 — desktop plugins and a redesigned desktop app

> OpenCode 2.2.0 opens the desktop app to plugins and refreshes its design.

- Org: Anomaly
- Date: 2026-10-27
- Category: tool, repo
- Source: https://github.com/anomalyco/opencode/releases/tag/v2.2.0
- Canonical page: https://ai-tldr.dev/releases/anomalyco-opencode-2-2-0/

## In short

OpenCode 2.2.0 lets users build, install and share desktop plugins (experimental) and ships a redesigned desktop app. It also adds per-model prompt cache TTLs and stops publishing the OpenCode GitHub Action.

## What it is

OpenCode 2.2.0 introduces experimental desktop plugins, which users can create, install and share, along with a broad redesign of the desktop app. The open-source coding agent also gets experimental image and decision generation APIs for plugins and the SDK.

## How it works

New GUI plugin APIs in the SDK give plugins toasts, dialogs, notifications, tabs and composer controls. Plugins can also add, update and remove keyed session instructions at the next step without editing the system prompt, so the prompt cache stays valid. Prompt cache TTLs can now be set per provider or per model.

## Why it matters

Teams that extend OpenCode can now add UI to the desktop app, not only to the terminal. The release has breaking changes: the @opencode/ai root now exports the Promise API, TUI plugins need OpenTUI 0.7, and workflows that use the OpenCode GitHub Action must remove it.

## Who it's for

developers using or extending OpenCode

## Links

- [Release Notes](https://github.com/anomalyco/opencode/releases/tag/v2.2.0)
- [Desktop Plugin Docs](https://opencode.ai/v2/docs/build/plugins/gui)
- [OpenTUI 0.7 Migration](https://opentui.com/docs/releases/0.7.0)
- [GitHub Repo](https://github.com/anomalyco/opencode)
