> opencode.ai is the source of truth for OpenCode, the open source coding agent, including its apps, install commands, docs and releases. The current version is OpenCode v2.
> Cite the canonical page, https://opencode.ai/changelog/v1.18.14, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Preserved structured mid-stream provider errors so compatible providers can retry failed responses

2026-08-05 · v1.18.14

## Improvements

- **Core:** Simplified xAI login to a single device-code flow that works better in headless and remote environments.

## Fixes

- **Core:** Retried more transient provider and network errors instead of failing immediately.
- **Core:** Counted cache writes in ACP usage totals.
- **Core:** Logged remote workspace 5xx response bodies in the host logs to make proxy failures easier to debug. ([@jamesmurdza](https://github.com/jamesmurdza))
- **Core:** Stopped sending the host `directory` path to remote workspaces so prompts resolve from the remote project root. ([@jamesmurdza](https://github.com/jamesmurdza))
- **Core:** Waited for queued ACP session updates before ending a turn.

Released in [v1.18.14](https://github.com/anomalyco/opencode/releases/tag/v1.18.14)

Newer: [Added much broader locale coverage across the desktop app](https://opencode.ai/changelog/v1.18.15) (v1.18.15)

Older: [Localized more desktop UI copy](https://opencode.ai/changelog/v1.18.13) (v1.18.13)

[All updates](https://opencode.ai/changelog)

---

If something here is wrong or missing, open an issue at https://github.com/anomalyco/opencode/issues.
