Skip to content

v1.1.52:Claude 3.5 Sonnet 支持、Bash 工具加载动画、大量桌面端改进 ​

发布日期:2026年02月05日


一句话总结 ​

这次更新启用了 Claude 3.5 Sonnet (new) 模型,TUI 新增 Bash 工具加载动画,修复了多个 provider 兼容性问题,桌面端大幅改进了终端稳定性和文件树同步。


新功能:Claude 3.5 Sonnet (new) 模型支持 ​

这次更新了什么? ​

启用了 Claude 3.5 Sonnet (new) 模型,可以直接在 OpenCode 中使用。

如何使用? ​

如果你已经配置了 Anthropic API Key,可以在模型选择器中直接选择 Claude 3.5 Sonnet (new)。


新功能:Bash 工具加载动画 ​

这次更新了什么? ​

TUI 中执行 Bash 命令时,现在会显示一个旋转加载动画,让你知道命令正在执行中。

有什么用? ​

之前执行耗时较长的命令时,界面看起来像是卡住了。现在有了加载动画,可以清楚地看到命令正在运行。


新功能:远程服务器终端连接 ​

这次更新了什么? ​

终端现在支持远程服务器连接,并修复了 GLIBC 兼容性问题。

有什么用? ​

如果你在远程服务器上使用 OpenCode 桌面端,终端连接更加稳定可靠。


新功能:Thinking Blocks 快捷键绑定 ​

这次更新了什么? ​

现在可以将显示/隐藏 Thinking Blocks 的功能绑定到自定义快捷键。

如何使用? ​

在配置文件中设置快捷键绑定:

👉 完整教程:快捷键配置


问题修复 ​

Kimi K2.5 图片读取 ​

修复了使用 OpenAI 兼容 provider(如 Kimi K2.5)时无法读取图片的问题。

代理命令失败导致崩溃 ​

修复了代理命令失败时导致配置初始化崩溃的问题,现在会静默忽略代理命令失败。

GitHub Copilot 插件 Headers ​

修复了 GitHub Copilot 插件在非 TUI 客户端中未正确设置 headers 的问题。

插件安装方式 ​

修复了插件安装使用 bun add 导致的问题,改为直接操作 package.json。

只读配置目录 ​

在只读配置目录中跳过依赖安装,避免权限错误。


改进:桌面端 ​

文件树实时同步 ​

文件树现在与文件系统变更保持实时同步,不再出现文件状态不一致的问题。

终端稳定性 ​

多项终端稳定性修复,包括 URL 处理、行尾处理等。

会话选项 ​

会话选项移到了会话页面,操作更方便。新增了会话选项功能。

工作区切换 ​

切换项目时自动刷新工作区会话和文件内容,避免显示过期数据。


要不要升级? ​

情况建议
想用 Claude 3.5 Sonnet (new)✅ 推荐升级
使用 Kimi K2.5✅ 推荐升级
桌面端用户✅ 推荐升级
用得好好的可以等下次

升级命令:

bash
opencode upgrade

技术细节(可跳过) ​

点击展开完整更新列表

Core ​

  • Enable Claude 3.5 Sonnet (new) model support
  • Silently ignore proxy command failures to prevent config initialization crashes
  • Ensure GitHub Copilot plugin properly sets headers when used in clients other than TUI
  • Bundle GitLab auth plugin directly instead of dynamic install
  • Fix plugin installation to use direct package.json manipulation instead of bun add
  • Fix image reading with OpenAI-compatible providers like Kimi K2.5 (@zhming0)
  • Downgrade xai ai-sdk package due to errors
  • Revert model autocomplete feature using models.dev schema reference
  • Add models.dev schema reference for model autocomplete in opencode.json (@remorses)
  • Adjust task tool description and input to reduce tool call failures with GPT models
  • Wait for dependencies before loading custom tools and plugins
  • Allow the function to hide or show thinking blocks to be bound to a key (@ariane-emory)
  • Skip dependency installation in read-only configuration directories (@shantur)
  • Ensure Kimi for Coding plan has thinking enabled by default for k2p5 (@monotykamary)
  • Fixed Cloudflare Workers AI provider
  • Prevent random hangs in plugin installs when using HTTP proxy by adding --no-cache flag
  • Session errors when attachment file not found are now handled gracefully
  • Support remote server connections in terminal and fix GLIBC compatibility (@lucas-jo)

TUI ​

  • Add running spinner to bash tool in TUI (@goniz)
  • Add hover states to question tool tabs (@maharshi365)

Desktop ​

  • File changes not always available in app
  • File tree kept in sync with filesystem changes
  • Add Bosnian locale (@edoedac0)
  • Fix terminal URL handling issues
  • Remove extra horizontal padding around prompt input on mobile (@Brendonovich)
  • Refresh workspace sessions when switching projects (@neriousy)
  • Fixed terminal URL handling in the application
  • Fix terminal end-of-line handling issues
  • Refresh file contents when changing workspaces to prevent stale data (@ParkerSm1th)
  • Derive terminal WebSocket URL from browser origin instead of hardcoded localhost (@0xdsqr)
  • Last turn changes rendered in review pane
  • Safety triangle for sidebar hover to prevent menu from closing
  • Clear comments on prompt submission
  • Fix e2e test action in app
  • Terminal hyperlink clicks now work correctly
  • Fix dated e2e tests in app
  • Don't show scroll-to-bottom button unnecessarily
  • File tree not staying in sync across projects/sessions
  • Move session options to the session page
  • Add session options to app
  • Opened tabs follow created session
  • Removed compression from RPM bundle to save 15 minutes in CI (@goniz)

← 返回更新日志