OpenCode adds GPT-6.2 prompting, cuts request tokens, and scopes web fetch approvals
The update lowers per-request token overhead, narrows web permissions, and improves reliability for scheduled automations.
- GPT-6.2 prompting
- Dedicated system prompt for Sol, Astra, and gpt-latest
- Token overhead
- Saves about 700 tokens per request via Code Mode
- Web fetch Always allow
- Approves that site only; prior approvals stay intact
- Failed automations
- Continue on schedule; timed-out shells stop instead of backgrounding
OpenCode now uses a dedicated system prompt for GPT-6.2 Sol, Astra, and the gpt-latest aliases. The release also moves generate_image and generate_video into Code Mode instead of exposing them as top-level tools, saving about 700 tokens on every request.
Permission and automation defaults also changed in this update. Selecting "Always allow" for a web fetch now approves only that site rather than every URL, while keeping approvals saved by earlier versions intact. Automations now continue running on schedule after a failed run, and shell commands that exceed their timeout are stopped instead of moving to the background.
Developer Tools
Automations still pause if their creating session or directory is gone, or if their setup is no longer valid. Sending messages, commands, skills, or shell commands to an archived session now unarchives it, including requests sent through the API.
On macOS and Windows, desktop updates now download only the changed parts of the app instead of the full installer. When the composer is empty, pressing Esc before the model writes or calls a tool returns the last message, including images, to the composer for editing.