opencode v1.18.20 版本更新介绍
发布日期: 2026-08-21
版本号: v1.18.20
核心版本修复了多项问题:现在子代理工具调用失败时会提供可恢复的
task_id,并能更全面地重试多种网络错误(包括network_error、network-error以及 xAI 的容量与临时不可用流式错误);同时优化了失败处理逻辑,不再返回空结果而是显示可恢复的子代理故障,并正确保留了 Cerebras 的max_completion_tokens参数。此外,系统现在能响应子代理在opencode run过程中触发的权限请求。
更新内容 (中文)
核心
缺陷修复
- 展示带有可恢复
task_id的失败子代理工具调用。 - 重试以
finish_reason: network_error结束的提供商响应。 - 重试更多网络错误变体,包括
network-error和network_error。 - 展示可恢复的子代理失败,而不是返回空结果。
- 保留 Cerebras
max_completion_tokens,不应用额外的输出上限。 - 处理
opencode run期间子代理触发的权限请求。 - 重试 xAI 容量不足和暂时不可用的流错误。
更新内容 (原始)
Core
Bugfixes
- Surface failed subagent tool calls with a resumable
task_id. - Retry provider responses that end with
finish_reason: network_error. - Retry more network error variants, including
network-errorandnetwork_error. - Surface resumable subagent failures instead of returning an empty result.
- Preserve Cerebras
max_completion_tokenswithout applying an extra output cap. - Answer permission requests triggered by subagents during
opencode run. - Retry xAI capacity and temporary unavailability stream errors.
下载链接
- latest-linux-arm64.yml
- latest-linux.yml
- latest-mac.yml
- latest.json
- latest.yml
- opencode-darwin-arm64.zip
- opencode-darwin-x64-baseline.zip
- opencode-darwin-x64.zip
- opencode-desktop-linux-aarch64.rpm
- opencode-desktop-linux-amd64.deb
- opencode-desktop-linux-arm64.AppImage
- opencode-desktop-linux-arm64.deb
- opencode-desktop-linux-x86_64.AppImage
- opencode-desktop-linux-x86_64.rpm
- opencode-desktop-mac-arm64.app.tar.gz
- opencode-desktop-mac-arm64.dmg
- opencode-desktop-mac-arm64.dmg.blockmap
- opencode-desktop-mac-arm64.zip
- opencode-desktop-mac-arm64.zip.blockmap
- opencode-desktop-mac-x64.app.tar.gz
- opencode-desktop-mac-x64.dmg
- opencode-desktop-mac-x64.dmg.blockmap
- opencode-desktop-mac-x64.zip
- opencode-desktop-mac-x64.zip.blockmap
- opencode-desktop-win-arm64.exe
- opencode-desktop-win-arm64.exe.blockmap
- opencode-desktop-win-x64.exe
- opencode-desktop-win-x64.exe.blockmap
- opencode-linux-arm64-musl.tar.gz
- opencode-linux-arm64.tar.gz
- opencode-linux-x64-baseline-musl.tar.gz
- opencode-linux-x64-baseline.tar.gz
- opencode-linux-x64-musl.tar.gz
- opencode-linux-x64.tar.gz
- opencode-windows-arm64.zip
- opencode-windows-x64-baseline.zip
- opencode-windows-x64.zip