AI & Agents

What’s New in OpenCode 2.4.2: GPT-6.2 Prompts, OpenCode Go Listed First, and Esc Restoring Your Last Message

Leave a comment

OpenCode 2.4.2 is out, and I am sticking to the official GitHub release notes, published November 25 at 6:59 p.m. CT. This follows my earlier post on 2.4.1.

The headlines: GPT-6.2 Sol and Astra, and the gpt-latest aliases, now use a system prompt written for GPT-6.2. After you connect OpenCode, the model picker lists OpenCode Go first. If the composer is empty, stopping a response with Esc before the model has written anything or called a tool removes your last message and puts it back in the composer, images included, so you can edit and send again. And generate_image and generate_video now run inside Code Mode instead of as top-level tools, which the notes say keeps about 700 tokens of tool definitions out of every request.

A few upgrade notes are worth reading before you jump. “Always allow” for a web fetch now allows that site only, not every URL; approvals saved by earlier versions stay as they were. Automations keep running after a failed run, and a shell command in an automation that runs past its timeout is now stopped instead of moving to the background. Sending to an archived session unarchives it, including through the API. Plan mode’s rules now live in the system prompt, and sessions already in Plan mode get those rules once more after upgrading. There are also desktop, TUI, and SDK fixes in the notes, including a macOS and Windows change so desktop updates download only the parts of the app that changed.

My take

The Esc-to-restore-your-message behavior and the tighter web-fetch allowlist are the changes I would want even if I did not care about the GPT-6.2 prompt or the model-picker order. Read the notes, back up your config, and then take the update.

Review before you install: read the release notes yourself, back up your config, and try new versions somewhere you can afford to break first.

God Bless, and Use the Source!

References & Further Reading

Subscribe (RSS) Follow AI & Agents via RSS

Leave a note

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.