OpenCode v1.18.20 Changelog
What changed in OpenCode CLI v1.18.20, released 2026-08-21 — explained in plain English.
TLDR
- This update makes the AI much more resilient when internet or server glitches happen.
- Background AI tasks (called "subagents") are much better at telling you when they get stuck, instead of just failing silently.
- Fixed bugs with specific AI providers (like xAI and Cerebras) so they run more smoothly.
- Automated commands will no longer freeze if a background task needs your permission.
- This release is all about making OpenCode more reliable when things go wrong. If you use OpenCode to run long or automated AI tasks, you know how frustrating it is when a bad internet connection or a busy server crashes the whole process. This update focuses on automatically fixing those hiccups and making sure background AI tools tell you exactly what went wrong so you can easily pick up where you left off.
Want a heads-up when OpenCode updates?
We email you the moment a new OpenCode version drops — plus plain-English release notes like these. No spam.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
What's new
- Added better "resume" tokens for background AI tasks (subagents). This means if a smaller AI helper crashes while doing a job for you, the system now gives you a specific ID so you can restart it right from where it failed, instead of starting all over.
Fixes
- Fixed an issue where background AI tasks (subagents) would fail and just hand back an empty result without telling you. Now, it clearly shows you the error.
- Made the AI automatically retry when a connection drops or a server times out. It now catches more types of network errors so a brief Wi-Fi blip won't ruin your work.
- Fixed a bug where a specific AI provider (Cerebras) had its maximum word limit accidentally restricted too much.
- Fixed a problem where automated commands (using
opencode run) would freeze if a background AI task needed your permission to do something. It now correctly asks you. - Fixed a bug with the xAI provider where temporary server overloads (capacity errors) would crash the program instead of just waiting to try again.
Breaking changes
No breaking changes in this release.
How to upgrade
Update to OpenCode v1.18.20 by running:
npm install -g opencode-ai
This is our plain-language summary. Read the complete, official notes on the OpenCode official changelog ↗.
