OpenCode v2.4.2
OpenCode v2.4.2 was released on .
Summary
OpenCode 2.4.2 is here: a GPT-6.2 system prompt, Esc now takes back your last message to edit and resend, and OpenCode Go is first in the model picker. Curious what else changed?
Release Context
- This was the 217th OpenCode release of 2026 tracked by Havoptic.
- It shipped 2 days after OpenCode v2.4.1 (November 23, 2026).
- OpenCode: ships every 2.7 days — 15 releases in the last month.
Why it matters: Esc now gives your last message back to edit.
Shipped around the same time
Within 3 days of this release, other AI coding tools also shipped:
- Cline v4.1.28 (November 26, 2026)
- Antigravity CLI v1.5.18 (November 26, 2026)
- Zed v1.30.2 (November 25, 2026)
- GitHub Copilot CLI v1.0.116 (November 25, 2026)
- Grok Build v1.0.94 (November 25, 2026)
Compare OpenCode
- OpenCode vs Claude Code
- OpenCode vs OpenAI Codex CLI
- OpenCode vs Cursor
- OpenCode vs Gemini CLI
- OpenCode vs Kiro CLI
- OpenCode vs GitHub Copilot CLI
- OpenCode vs Devin Desktop
- OpenCode vs Antigravity CLI
- OpenCode vs Grok Build
- OpenCode vs Cline
- OpenCode vs Zed
- OpenCode vs Factory Droid
- OpenCode vs Devin
- OpenCode vs Lovable
- OpenCode vs Amp
- OpenCode vs GitHub Copilot in VS Code
- OpenCode vs Replit Agent
- OpenCode vs Bolt
- OpenCode vs v0
Release Notes
Highlights - GPT-6.2 System Prompt: GPT-6.2 Sol and Astra, and the gpt-latest aliases, use a system prompt written for GPT-6.2. (66297) - OpenCode Go Onboarding Fix: After you connect OpenCode, the model picker lists OpenCode Go first. (66363) - Esc Takes Back Your Last Message: If the composer is empty, stopping a response with Esc before the model has written anything or called a tool removes your message and puts it back in the composer, images included, so you can edit it and send again. (65505) Upgrade notes - "Always allow" for a web fetch allows that site only. It used to allow every URL. Approvals saved by earlier versions stay as they were. (66000) - Automations keep running after a failed run. A failed run is recorded and the next one runs on schedule. Automations still pause when the session that created them or their directory is gone, or when their setup is no longer valid. A shell command in an automation's code that runs past its timeout is now stopped and fails the call instead of moving to the background. (66422, 65626) - Sending to an archived session unarchives it. This applies to messages, commands, skills and shell commands, including ones sent through the API. (66348) - Plan mode's rules are in the system prompt. Sessions already in Plan mode get the rules once more after upgrading. (63669) Core Improvements - Added a system prompt for GPT-6.2. (66297) - generateimage and generatevideo run inside Code Mode instead of as top-level tools, so their definitions no longer add about 700 tokens to every request. (66465) - Moving a session also moves its subagents. (66215) - The report skill checks the docs, searches for duplicate issues and includes the relevant log lines. (66290) - Cost estimates for service tiers that list their own prices use those prices, including their long-context rates. (65861, 65984) Bug fixes - Fixed sign-in to MCP servers whose configured URL has a query string, such as the AWS MCP Server. (66036) - Fixed Plan mode re-adding its reminder after every compaction, which could keep a session running in a loop. (63669) - Fixed tools staying visible to the model when a blanket deny was followed by narrower denies. (65899) - Fixed PDFs with bytes before the %PDF- header not being read as PDFs. (65967) - Fixed branches whose names end in /HEAD missing from the branch list. (65904) - Fixed files added by a patch losing a trailing blank line. (66378) - Fixed moving a session to a ~\ path on Windows. (66269) - Fixed OpenAI custom tool calls failing as malformed on providers that end them only with the completed response. (65849) TUI Improvements - The model picker stays responsive with large catalogs, such as OpenRouter's. (66370) - The goal dialog scrolls when the goal is long. (65906) - Updated OpenTUI to 0.9.9. (65919) Bug fixes - Fixed /models showing only free models when the TUI opened a session in another directory. (66424) - Fixed type-to-filter in Message Actions. (65903) - Fixed removing theme from config not switching back to the default theme. (65925) - Fixed quick successive settings changes overwriting each other. (65761) - Fixed the session list losing the selected row after a deletion. (65855) Desktop Improvements - On macOS and Windows, desktop updates download only the parts of the app that changed instead of the full installer again. (66042) - Enter in the question dock moves to the next question and submits on the last one. Set Submit question answers with to Cmd/Ctrl+Enter in Settings → Preferences to keep the previous behavior. (66169) - To move the file tree to the right in the Files and Review panels, right-click its header and choose Sidebar position → Right. (66012) - /rename with no title generates a new title, and /rename <title> sets one. (66396) - Search sessions also finds archived sessions and shows them dimmed. (66356) - In the Inbox sidebar, you can pin sessions, open archived sessions in a collapsible section and choose where working sessions appear. Archived sessions waiting o...
Other Recent OpenCode Releases
- v2.4.0 (November 23, 2026)
- v2.3.2 (November 18, 2026)
- v2.3.1 (November 18, 2026)
- v1.19.6 (November 17, 2026)
- v2.3.0 (November 13, 2026)
All OpenCode releases · All AI coding tool releases on Havoptic