Skip to content

v1.4.7:Claude Opus 4.7 推理增强 + 工作区认证传递

发布日期:2026年4月16日


🎯 一句话总结

Claude Opus 4.7 支持 xhigh 推理和默认摘要思考,工作区传递认证上下文,Cloudflare AI Gateway 修复 OpenAI 推理模型。


🆕 新功能:Claude Opus 4.7 xhigh 推理

这次更新了什么?

Claude Opus 4.7 现在支持 xhigh(超高级)自适应推理模式,并默认显示摘要化思考过程。

这有什么用?

面对特别复杂的编程任务时,可以让 Claude 进行更深度的推理。xhigh 模式会让模型花更多时间思考,给出更精准的回答。


🆕 改进:工作区认证传递

这次更新了什么?

工作区(Workspace)现在会接收你的认证上下文。

这有什么用?

之前切换到远程工作区后可能需要重新登录提供商。现在认证状态会自动传递到工作区会话中,不需要重复登录。


🆕 改进:Provider 5xx 错误自动重试

这次更新了什么?

即使提供商 SDK 没有标记为可重试,会话现在也会自动重试 5xx 服务器错误。

这有什么用?

当 AI 提供商的服务器临时出错时,OpenCode 会自动重试而不是直接报错,提高成功率。


🔧 问题修复

Cloudflare AI Gateway + OpenAI 推理模型

问题:通过 Cloudflare AI Gateway 使用 GPT-5 和 o 系列模型时,请求会因为 max_tokens 参数而失败。

修复:对 OpenAI 推理模型自动移除 max_tokens 参数。


GitHub Copilot 计费修复

问题:GitHub Copilot 存在计费异常。

修复:修正了计费逻辑。


Bash 工具内存优化

问题:大命令输出的内存占用过高。

修复:减少了 Bash 工具的内存使用。


📊 要不要升级?

情况建议
使用 Claude Opus 4.7✅ 强烈推荐
使用 Cloudflare AI Gateway✅ 强烈推荐
使用远程工作区✅ 推荐
遇到 Provider 5xx 错误✅ 推荐
正常使用中✅ 推荐

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • GitHub Copilot gpt-5-mini now uses low reasoning effort for better request compatibility. (@thakrarsagar)
  • Fixed Github Copilot overbilling issue
  • Workspaces now receive your auth context, so provider sign-in carries across workspace sessions.
  • Cloudflare AI Gateway now drops max_tokens for OpenAI reasoning models so GPT-5 and o-series requests stop failing. (@kobicovaldev)
  • Azure models now default store=true, fixing requests that require stored responses.
  • Claude Opus 4.7 now supports xhigh adaptive reasoning. (@GrahamCampbell)
  • Claude Opus 4.7 now shows summarized thinking by default.
  • TUI plugins now load against the correct project when multiple directories are open.
  • The bash tool uses less memory on large command output.
  • Experimental workspaces now wait for sync to finish before returning writes, reducing stale reads and missed updates.
  • Session restore can now replay a session into another workspace in batches.
  • Sessions now retry provider 5xx errors even when the provider SDK does not mark them retryable.

TUI

  • Pasting files or large text no longer inserts content twice.
  • --agent on the command line is no longer overwritten by the session's saved agent. (@CarloWood)
  • Empty LSP, MCP, formatter, and session status responses no longer break TUI sync state.

Desktop

  • Desktop builds now show a Beta or Dev badge in the title bar when applicable.

Thank you to 8 community contributors (see GitHub release for full list)


← 返回更新日志