> 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.1.16, not this Markdown file. For an index of the site, see https://opencode.ai/llms.txt.

# Handle write errors when updating schema in OpenCode config

2026-01-13 · v1.1.16

## Improvements

- **Core:** Ensure clear_thinking is disabled for zai model
- **Core:** Improved edit and write tool feedback to prevent confusion about whether changes were successfully applied
- **Core:** Prevent [object Object] error display in console output ([@lengmodkx](https://github.com/lengmodkx))
- **Core:** Respect agent task permission for nested sub-agents ([@malhashemi](https://github.com/malhashemi))
- **Core:** Fix max completion tokens error for Cloudflare provider ([@roerohan](https://github.com/roerohan))
- **Core:** Use reasoningConfig for Anthropic models on Bedrock ([@Adam8234](https://github.com/Adam8234))
- **Core:** Store API URL in session metadata ([@jkoelker](https://github.com/jkoelker))
- **Core:** Add nova-2 to region prefix models
- **Core:** Tweak truncation directory permissions
- **Core:** Make environment file reads ask user for permission instead of blocking
- **Core:** Use Biome check instead of format to include import sorting ([@kynnyhsap](https://github.com/kynnyhsap))
- **Core:** Ensure plurals are properly handled
- **Terminal:** Support debug tool calling directly in CLI ([@Eric-Guo](https://github.com/Eric-Guo))
- **Terminal:** Don't submit prompt when switching sessions ([@LeonMueller-OneAndOnly](https://github.com/LeonMueller-OneAndOnly))
- **Terminal:** Await auth.set to prevent race condition when setting API key ([@darshkpatel](https://github.com/darshkpatel))
- **Terminal:** Actually modify OpenCode config when adding MCP servers with `mcp add` command ([@paoloricciuti](https://github.com/paoloricciuti))
- **Desktop:** Spawn local server with password in desktop app ([@Brendonovich](https://github.com/Brendonovich))
- **Desktop:** Add missing args to Windows Tauri CLI spawn ([@pschiel](https://github.com/pschiel))
- **Desktop:** Implement better dynamic terminal numbering ([@OpeOginni](https://github.com/OpeOginni))
- **Desktop:** Add icon button for server removal in dialog select server ([@OpeOginni](https://github.com/OpeOginni))

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

Newer: [Remove the symlinkBinary function call that replaces the wrapper script](https://opencode.ai/changelog/v1.1.17) (v1.1.17)

Older: [Rename OPENCODE_PASSWORD to OPENCODE_SERVER_PASSWORD for clearer authentication configuration](https://opencode.ai/changelog/v1.1.15) (v1.1.15)

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

---

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