OpenCode v1.18.21 Changelog
What changed in OpenCode CLI v1.18.21, released 2026-08-21 — explained in plain English.
TLDR
- The AI won't randomly stop talking in the middle of a thought anymore.
- Searching for files in the app is less jarring when loading new results.
- A shortcut to save old chats now works no matter what screen layout you use.
- Behind-the-scenes routing makes the AI more reliable for some international users.
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.
This update is a maintenance release that fixes a few annoying bugs. It matters most to anyone who uses the OpenCode desktop app daily, especially if you've been frustrated by the AI cutting off mid-sentence or by glitchy file searches.
Fixes
- Stopped the AI from cutting off early: Sometimes the AI model would stop generating its answer halfway through because it got a weird signal it didn't understand. Now, if the AI gets an unknown "finish reason" (the signal that tells it when to stop typing), it will just ignore the glitch and finish its thought instead of leaving you hanging.
- Better routing for international AI requests: For people using Google's Vertex AI to run Gemini models in European or US "multi-region" zones, the app now sends those requests through the correct specific network endpoints. This just means the connection is routed properly so it works as expected.
- Smoother file searches: Previously, when you searched for a file in the desktop app and the results were taking a moment to load, the screen would clear out your old results and leave you staring at a blank list. Now, it keeps your current results visible until the new ones are ready to show.
- Archive command works everywhere: The app has a command to "archive" a chat (which means saving it to clean up your workspace). Thanks to a community contributor, this command is now registered and works properly no matter which screen layout you prefer to use.
How to upgrade
Update to OpenCode v1.18.21 by running:
npm install -g opencode-ai
This is our plain-language summary. Read the complete, official notes on the OpenCode official changelog ↗.
