OpenCode v1.18 vs v1.19 vs v2: The Silent Upgrade, the Split, and the New Animal — Full Comparison
Your OpenCode refuses to upgrade to v2. No prompt. No error. Just… silence.
You are not alone, and you did nothing wrong. The reason it goes quiet is the single most important thing to know about the 1.x → 2.x split: v2 is not a version bump. It's a different app wearing the same name. And that one fact explains the missing prompt, the "why can't I find v2 on GitHub" confusion, and almost every surprise in the upgrade.
This post is the full map — the version history, the side-by-side comparison, and a migration checklist — built only from OpenCode's own changelog, migration docs, and the code-level write-ups from people who actually run v2 in production. In English, fact-first, fun to read. Let's go.
The 3-second version
- v1.18 = the last "normal" era. Desktop UI v2 finished rolling out, home screen got faster, everything else felt like OpenCode you know.
- v1.19 = the great split. Auto-updates were killed, the 1.x and 2.x install lines were separated, and from v1.19.6 the upgrade to v2 finally became an explicit choice — background download, install only when you say so.
- v2 = a different codebase with the same
opencodecommand. New plugin API, new server API, server-owned permissions, MCP pooling, background subagents, and a pile of token-cost fixes. Your v1 plugins won't run in it. - Why 1.18.18 never nags you: it predates the upgrade door. The checker sees "latest = 2.x, not your line" and goes silent. Update to 1.19.6+ first (or install v2 directly) and the offer appears.
Why your upgrade ping vanished (the mystery that started this)
Before v1.19, the updater checked "newest GitHub release" — and that was a 1.x update, safe to auto-install. Then OpenCode 2 shipped as a separate package: npm opencode-ai (v1) versus @opencode/cli (v2). Different installer (opencode.ai/v2/install replaces the v1 binary, same opencode command). Homebrew Core moved to v2; opencode.ai/install still serves v1.
As the OpenCode team put it in GitHub issue #54813 (Oct 12, 2026), answering a user confused by "two versions":
Both versions you have (1.18.0 and 1.19.0) are OpenCode v1. v2 (2.x) is a separate implementation, published as its own package, @opencode/cli.
So since v1.19.2, the rule is hard-coded: a 1.x install only checks the 1.x line — a 2.x build is never offered as a regular update. The install script itself refuses to install 2.x. Homebrew Core installs are skipped because that formula now tracks v2.
That leaves a blind spot: 1.18.18 predates all of this. Its checker logic never learned v2 exists. From its point of view, the newest thing in the world is 2.x — not for you. No prompt. Ever.
The door finally got built in v1.19.6 (Nov 17, 2026): OpenCode 1 now offers the upgrade to 2.0, downloads it in the background, and installs only when you choose — Restart to upgrade, Upgrade on quit, or Later. Your sessions, projects, and settings carry over. The one exception to "everything is kept": v1 plugins need an update.
| Install | Checker sees | Upgrade prompt? |
|---|---|---|
| 1.18.x (e.g. 1.18.18) | "Latest is 2.x, not my line" | ❌ never |
| 1.19.0–1.19.5 | "1.x line only" | Only via /update or opencode upgrade --major |
| 1.19.6+ | 1.x line + explicit 2.0 offer | ✅ background download, your call |
| 2.x | the 2.x line | ✅ normal updates again |
Fun detail #1: same week the offer landed, the v1.19.6 changelog quietly fixed two nasties — sessions with tons of images used to send oversized requests (now capped: past 25 MiB of history, oldest images become placeholders), and a too-large request body used to fail the turn (now it auto-compacts and retries). v1 went out swinging.
v1.18 → v1.19: what actually changed?
Most people think of 1.19 as "where v2 showed up." It was really where OpenCode got serious about the split — and quietly removed a feature or two.
The good
- Desktop v2 migration completed (the headline of the 1.18 line): the new layout, first-launch onboarding, and upgrade handling all landed, with a temporary way to switch back to the old layout during the transition.
- Home cold-load got substantially faster ("Reduced Home cold-load time substantially" — their words), and the timeline loads more history per scroll, cutting backfill hiccups.
- Permission auto-accept is now kept per-server, and remote sessions auto-accept correctly — less clicking, same safety.
- v1.19.0 added OpenAI ultrafast service tier support and a PTY security fix: connection origins and tickets are validated before checking whether a terminal exists. Small line, real hardening.
The removals (read these before upgrading)
- Auto-updates are gone. As of v1.19.0, you use
/updateto install OpenCode updates or upgrade to OpenCode 2. Nothing installs itself anymore. That's deliberate: with two major lines in the wild, silent auto-install was a footgun. But it means "I updated yesterday" is now a question you have to check. - Session sharing is discontinued. v1.19.1 retired share links, session-sharing commands, and share-URL imports. If your workflow included "send me the session link," that workflow is dead on 1.x.
The packaging split (v1.19.2 / v1.19.3, Oct 16)
- Update checks read only the npm
opencode-ailatest version. A 1.x install is never handed a 2.x build as a routine update. - Crossing to v2 = explicit: the 2.0 offer inside
/update, oropencode upgrade --major. - Yarn-managed upgrades fixed; Homebrew Core installs skipped (formula now tracks v2); tap and Chocolatey availability checked before offering; the install script refuses 2.x versions.
Verdict on 1.19: not a feature release — a boundary release. It drew the line between two apps that share a command name, and it did it by taking away two conveniences (auto-update, sharing) to make the boundary safe.
v1 → v2: a whole new animal
Here's the part most comparison tables get wrong. v2 isn't v1.19 with features added. Per the official migration guide, there are three intentional breaking changes:
- Plugins use a new API. v1 plugin implementations do not run in v2. Renaming files or config entries isn't enough — you port the code.
- The server API and clients have new contracts. Integrations calling the v1 server API must migrate to the new
@opencode/client. - Terminal client config moved. Layered
tui.json(c)files became one globalcli.json(supported settings auto-migrate on first v2 terminal launch).
Everything else supported in v1 is intended to keep working. Your opencode.json(c) files, agents, commands, skills, and MCP servers should read fine in v2 — v2 normalizes supported v1 fields in memory without rewriting your file. Official guidance: keep your v1 setup as backup while you validate, because v1 and v2 share config locations and you'll be pointing both at the same files.
What changed under the hood
One background service instead of per-client runtimes. OpenCode 1 already had a client-server shape, but v2 makes a shared background service the center of gravity: the server owns sessions, plugins, permissions, and app state. The terminal, the web UI, the desktop app, and your own custom clients attach to the same backend. In plain terms: start an agent in your terminal, watch it in a browser, inspect the session from your own tool — same process, same truth.
Jeff Morhous's hands-on walkthrough (Oct 13, 2026) frames it well: OpenCode 2 is becoming easier to build software around, not just with.
Embed it in your own app. The new @opencode/sdk starts an OpenCode host inside your application — in-process, no HTTP listener, no subprocess-output-parsing. Sessions, event streams, plugins, and worktrees all work. If you already run a server, the typed @opencode/client connects to it over HTTP instead. And since Oct 12, Cloudflare ships an (experimental) OpenCodeHarness that runs OpenCode 2 inside a Durable Object with SQLite-backed sessions — agents as infrastructure, not laptop processes.
Permissions you can read in a PR. v1 grouped permissions by tool. v2 uses a single ordered array of action / resource / effect rules, where order is precedence. Every agent starts allow-all, so the pattern is: deny everything, then allow reading — plus a dedicated policies block for things like provider allowlists. Policies never prompt, and a broader file beats a narrower one — exactly what client data-governance wants.
MCP got cheaper and smarter. v2.2.6 added shared MCP connections: pooling means one connection to an MCP server is shared across projects with the same setup — fewer processes, faster startup. Code Mode (on by default for MCP servers) lets the agent call several tools from one short script instead of a round-trip per tool — the Reddit crowd credits it with saving tokens. And MCP tool search means the agent doesn't have to haul every tool schema into context up front.
Subagents went background. Since v2.3.0, subagents return immediately and report back when idle — you keep working in the parent session while several run concurrently. Delegated commands hand off to background sessions automatically.
What v2 quietly removed
- LSP diagnostics. v2 accepts and preserves your LSP config, but it doesn't run language servers or emit their diagnostics. If your agent leaned on live type errors, it now needs lint/typecheck commands in its instructions — trading inline IDE-style feedback for explicit compiler feedback.
- The
CLAUDE.mdfallback on the strict reading of the migration notes — one team running v2 in production (TechFabric) flags this as the trap that catches people: 2.0 readsAGENTS.mdonly. Rules living solely inCLAUDE.mdvanish without an error. Their fix, and ours: rules inAGENTS.md, everything else a pointer to it. external_directorynow allowed by default. v1 asked before touching paths outside the project; v2 doesn't. One line restores the old behavior:{ "action": "external_directory", "resource": "*", "effect": "ask" }.- Todos off by default (behind
experimental.todo).
The big comparison table
| v1.18 (stable era) | v1.19 (the split) | v2 (the new animal) | |
|---|---|---|---|
| What it is | v1 codebase, Desktop v2 UI landed | v1 codebase + hard 1.x/2.x boundary | Separate implementation, @opencode/cli |
| Update behavior | "Newest release" checker, auto-install | Manual /update only; 1.x line pinned to npm opencode-ai |
Own update line; its own installers |
| Upgrade to next major | Silent (and broken blind spot) | Explicit: /update 2.0 offer or opencode upgrade --major; background download from v1.19.6 |
— (you're there) |
| Plugins | v1 API | v1 API (unchanged) | New API — v1 plugins don't run |
| Server API | v1 contract | v1 contract | New contract + @opencode/client; embeddable @opencode/sdk |
| Architecture | Client-spawned server | Same | One shared background service, TUI/web/desktop attach |
| Permissions | Grouped by tool | Same | Ordered array + policies (provider allowlists) |
| Config | opencode.json(c), layered tui.json(c) |
Same | Same files, optional native v2 shape; terminal config → single cli.json |
| MCP | Per-project connections | Same | Pooled/shared connections, Code Mode batching, tool search |
| Subagents | Foreground-ish delegation | Same | Background by default, report when idle |
| LSP diagnostics | Yes | Yes | No (config kept, server not run) |
| Session sharing | Yes | Removed (v1.19.1) | Gone |
| Signature extras | Fast Home load, per-server auto-accept | PTY hardening, ultrafast tier | Built-in desktop browser w/ imported logins, automations on cron/MCP events, generate_video, published artifacts, Cost savings: background compaction, shell-timeout→background, GPT-6.2 prompt-caching fix |
| Install path | opencode.ai/install |
Same (refuses 2.x) | opencode.ai/v2/install |
Performance: where the real gains live
Nobody has published a clean "v1 vs v2 startup seconds" benchmark, and you shouldn't trust anyone who claims one without showing the machine. What is documented is a stack of cost and latency fixes, and they're the honest performance story:
- Prompt-caching fix (v2.3.2). GPT-6.2 models don't cache a system prompt sent in the Responses
instructionsfield — meaning every step re-billed it as uncached input. v2 sends it as a leading developer message, so it's cached from step two onward, across OpenAI, ChatGPT sign-in, Copilot, Zen, Azure, and OpenRouter. For long sessions this is the single biggest token-bill fix in the 2.x line. - Background compaction (v2.3.1). The session summary used to pause your next prompt. Now it's written in the background. (Trade-off: an unused background summary still costs tokens.)
- Percentage compaction buffer (v2.2.5).
"buffer": "20%"keeps a share of each model's window free instead of one token count that fits nobody — one setting across 128K and 1M context models. - Compaction cache fixes (v2.4.1). Fixed retaining more history than
keep.tokens, and an "occasional extra cache cost in long goal sessions after a compaction." - Timed-out shell commands keep running (v2.3.1). A command past its timeout moves to the background and reports back instead of being killed — long builds and test runs survive.
- Shared MCP connections (v2.2.6) cut duplicate processes; persistent desktop terminals (v2.2.4) survive server restarts instead of dying with scrollback.
- Code Mode batching (multiple MCP tool calls from one script) trims round-trips — fewer model turns per task.
And the routing math, for teams: TechFabric ran the numbers. A review pass reading ~300,000 input tokens and writing ~10,000 runs $1.40 on Opus 5.5 (at $4 in / $20 out per million) versus under five cents on Qwen3-Coder-Next ($0.12 in / $0.80 out) — about 30× cheaper. v2's background-subagent + per-agent model selection is what makes that routing a committed config instead of a wrapper script. Their rule of thumb: route by class of work, not by model worship — frontier in the foreground for planning, background open-weight for reviews and mechanical work, local-only where a client's agreement says data stays home.
Renames you'll meet (the 60-second reference)
| v1 | v2 | v1 | v2 | |
|---|---|---|---|---|
bash (permission) |
shell |
agent (config) |
agents |
|
task |
subagent |
prompt (agent) |
system |
|
write / patch |
edit |
disable |
disabled |
|
plugin |
plugins |
variant: "high" |
model#high |
|
provider |
providers |
command |
commands |
|
npm: "..." |
package: "aisdk:..." |
subtask |
subagent |
|
api: "..." |
settings.baseURL |
attachment |
media |
|
snapshot |
snapshots |
small_model |
agents.title.model |
Plus: azure-cognitive-services → azure, google-vertex-anthropic → google-vertex. Model id → modelID, cache costs move under cache.read / cache.write, and v1 variants objects become arrays with an id per entry.
So: should you upgrade? (the verdict)
If you're on 1.18.x with a working setup and no itch to rebuild — you can stay, but go in eyes open: you'll never get the upgrade offer, you'll never get the cost fixes, and every month widens the config gap. If you do move, move to 1.19.6+ first, get the explicit offer, and let it download v2 in the background while you keep shipping.
If you build around OpenCode — plugins, server integrations, embedded agents, governed configs — v2 is the platform and v1 is the cul-de-sac. Budget the real migration costs where they actually are: porting plugins, updating server-API integrations, and a half-hour auditing configs (external_directory, CLAUDE.md rules, LSP-dependent instructions). Everything else carries over.
If you just code with it every day — the strongest reasons to move are the quiet ones: GPT-6.2 caching, background compaction, background subagents, and MCP pooling. Faster bill, calmer terminal, agents working in parallel.
One rule above all: back up your v1 setup before opencode upgrade --major. They share config locations. An hour of cp -r now beats a cursed evening of "why doesn't my plugin load" later.
Scorecard: v1.18 = comfort, 7/10. v1.19 = necessary surgery, 7.5/10. v2 = the platform bet, 8.5/10 if you can afford the plugin/API port — and the silent-updater blind spot is the one scar to remember: v1.18.18 sees "latest = 2.x, not for you" and says nothing. Update to 1.19.6 first. Let the door come to you.
Sources
- OpenCode changelog (all versions)
- v1.19.6 — OpenCode 1 now offers the upgrade to OpenCode 2.0
- v1.19.3 — OpenCode 1 now stays on the 1.x release line
- v1.19.0 — run
opencode upgrade --major - Migrate from V1 (official guide)
- GitHub issue #54813 — "v2 is a separate implementation, published as its own package, @opencode/cli" (Oct 12, 2026)
- Jeff Morhous — Everything new in OpenCode 2.0 (Oct 13, 2026)
- TechFabric — OpenCode 2.0 and the open harness as a service (Oct 12, 2026)
- TurboAI — v1.19.2: 1.x updates stay separate from OpenCode 2