OpenCode v1.19.6: desktop 2.0 upgrade and fixes for image-heavy sessions#
Published by Alex Sorokoletov
Part of the OpenCode Version Tracker series. | OpenCode on GitHub | Releases
OpenCode 1.19.6 brings the desktop app an opt-in upgrade to OpenCode 2.0 and, since 1.19.4, hardens how Core handles oversized and failing requests: image histories over 25 MiB shed their oldest images, a too-large request body triggers compaction and a retry, and a failed terminal worker request returns an error to its caller.[1]
The desktop app's OpenCode 2.0 upgrade#
The desktop app for OpenCode 1 now offers an upgrade to OpenCode 2.0. The 2.0 build downloads in the background and installs only when you choose one of three options: Restart to upgrade, Upgrade on quit, or Later. The upgrade keeps your sessions, projects, and settings. Plugins built for OpenCode 1 need an update to work with 2.0.[1]
Core request handling#
The Core work across 1.19.5 and 1.19.6 covers requests that were too large or that failed.
| Change | What It Does |
|---|---|
| Image-heavy sessions | When the images in a session's history pass 25 MiB, the oldest are replaced with a placeholder, so the session no longer sends oversized requests (1.19.6).[1] |
| Oversized request body | A provider error for a request body that is too large now starts compaction and retries the request (1.19.6).[1] |
| Failed terminal worker request | A failed TUI worker request returns an error to its caller (1.19.5).[2] |
The 25 MiB rule applies to the images carried in a session's message history, and it trims from the oldest first, so recent images stay in the request while the total is brought back under the limit. The oversized-body fix sits one step later, at the provider response: when the model's backend rejects the request as too large, OpenCode compacts the session and sends it again.
Keeping the session going when a request is too large or fails#
The thread across 1.19.5 and 1.19.6 is request resilience. Two of the Core fixes give a request a recovery path the changelog names: compaction and a retry for an oversized body, and an error return for a failed worker call. The image cap works on the same oversized-request pressure, trimming history before the request leaves the client.
A practical consequence is that long sessions carrying heavy context, many screenshots or a large history, now have a defined behavior when they approach the request ceiling instead of hitting it directly. The placeholder swap and the compaction retry are both triggered by size, and both keep the session in play rather than ending the turn at the point of overflow.
The desktop upgrade carries the same priority across a version boundary. Moving from OpenCode 1 to 2.0 keeps sessions, projects, and settings, so the step up does not reset a user's working state. The one thing it does not carry forward automatically is plugins, which need an update built against 2.0.
All trademarks and software referenced belong to their respective owners.
Sources#
- OpenCode releases 1.19.5 and 1.19.6: GitHub Releases
- Failed TUI worker request returns an error: #54936
Previous OpenCode analysis: v1.19.4 (October 22, 2026)
All 9 OpenCode analyses: OpenCode Version Tracker · Official OpenCode changelog
OpenCode reference (v1.19.6)