opencode v1.18.5 版本更新介绍
发布日期: 2026-07-24
版本号: v1.18.5
更新日志包含核心功能修复与桌面应用改进。核心部分修复了Claude、OpenAI及Mistral模型在不同响应场景下的处理问题,包括自适应思维、对话阶段处理、推理历史保留和提示缓存稳定性,并修复了搜索结果中的符号链接路径问题。桌面应用新增了对当前服务器终端传输、会话操作、事件流和时间线渲染的支持,同时优化了服务器发现与识别流程,以兼容传统与当前服务器。修复内容涵盖响应流式更新、权限管理、文件显示、提示输入及时间线排序等问题。最后感谢了社区贡献者 @dleopold 和 @remixz 的修复工作。
更新内容 (中文)
核心
问题修复
- 优化Claude自适应思维在更多响应形式下的处理机制。
- 避免OpenAI响应阶段处理可能导致对话中断的问题。
- 保留搜索结果中的grep符号链接路径(贡献者:@remixz)。
- 跨轮次保留Mistral推理历史记录。
- 稳定Mistral提示缓存机制。
- 为每个SDK使用正确的提示缓存键。
- 修复MiniMax M3思维变体选择问题。
桌面端
功能改进
- 支持当前服务器终端传输协议。
- 在桌面应用中支持当前服务器的审查数据。
- 更新当前服务器的发现流程。
- 支持当前服务器会话操作(包括提示与命令)。
- 渲染当前服务器会话时间线。
- 在桌面应用中流式传输当前服务器事件。
- 检测传统服务器与当前服务器,确保桌面应用兼容两者。
问题修复
- 恢复响应流式传输期间的乐观时间线更新。
- 连接当前服务器时隐藏仅限传统服务器的功能。
- 向传统服务器发送提示时保留内联文件引用。
- 停止在当前服务器上自动接受配置权限配置。
- 避免将当前服务器纳入传统服务器布局。
- 在文件专用标签页中显示纯文本文件内容(而非审查差异)。
- 保持提示输入代理开关同步状态。
- 维护分页会话时间线的正确顺序。
- 恢复传统服务器的目录作用域会话状态。
- 状态刷新后重新加载传统服务器会话进度。
特别感谢2位社区贡献者:
- @dleopold:
- 修复(应用):为布局过渡分类现有网络配置文件(#38117)
- @remixz:
- 修复(opencode):保留grep符号链接路径(#38581)
更新内容 (原始)
Core
Bugfixes
- Improve Claude adaptive thinking handling across more response shapes.
- Avoid OpenAI Responses phase handling that could break some conversations.
- Preserve grep symlink paths in search results. (@remixz)
- Preserve Mistral reasoning history across turns.
- Stabilize Mistral prompt caching.
- Use the correct prompt cache keys for each SDK.
- Fix MiniMax M3 thinking variant selection.
Desktop
Improvements
- Support the current server terminal transport.
- Support current-server review data in the desktop app.
- Update server discovery flows for current servers.
- Support current-server session actions, including prompts and commands.
- Render current-server session timelines.
- Stream current-server events in the desktop app.
- Detect legacy and current servers so the desktop app can work with both.
Bugfixes
- Restore optimistic timeline updates while responses are still streaming.
- Hide legacy-only features when connected to current servers.
- Preserve inline file mentions when sending prompts to legacy servers.
- Stop auto-accepting config permissions on current servers.
- Keep current servers out of the legacy layout.
- Show plain file contents in file-specific tabs instead of review diffs.
- Keep the prompt input agent toggle in sync.
- Keep paginated session timelines in the right order.
- Restore directory-scoped session status for legacy servers.
- Reload legacy session progress after hydration.
Thank you to 2 community contributors:
- @dleopold:
- fix(app): classify existing web profiles for layout transition (#38117)
- @remixz:
- fix(opencode): preserve grep symlink paths (#38581)
下载链接
- 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