Skip to content

v1.3.16:Azure 模型选项 + 可关闭鼠标捕获 + LSP 权限详情

发布日期:2026年4月6日


🎯 一句话总结

Azure 模型选项修复、ACP 会话配置暴露、Windows Ctrl+Z 改为撤销、可禁用 TUI 鼠标捕获。


🆕 新功能:禁用 TUI 鼠标捕获

这次更新了什么?

可以通过配置或环境变量 OPENCODE_DISABLE_MOUSE 禁用 TUI 的鼠标捕获。

这有什么用?

有些用户习惯用鼠标选择复制文本,但 TUI 的鼠标捕获会导致选中文本变成其他操作。禁用后,鼠标操作恢复终端默认行为(选择、复制等)。


🆕 改进:Windows Ctrl+Z 改为撤销

这次更新了什么?

在 Windows 上,Ctrl+Z 现在默认执行撤销(undo),而不是挂起终端。

这有什么用?

Windows 用户习惯用 Ctrl+Z 撤销输入,之前的行为(挂起终端)是 Linux 习惯,在 Windows 上不符合直觉。


🔧 问题修复

Azure 模型选项

问题:Azure 模型的选项没有在 chat 和 responses 两种路径上都正确传递。

修复:两种路径都支持 Azure 模型选项。


📊 要不要升级?

情况建议
Windows 用户✅ 推荐
不习惯 TUI 鼠标捕获✅ 推荐
使用 Azure 模型✅ 推荐
正常使用中可以等下次

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • Support Azure model options on both chat and responses paths (@meruiden)
  • Expose session model and mode config options through ACP (@georgeharker)
  • Add a separating blank line before read tool file contents for clearer output
  • Fix output token totals when reasoning tokens are reported separately

TUI

  • Default Ctrl+Z to undo on Windows instead of terminal suspend
  • Let you disable TUI mouse capture in config or with OPENCODE_DISABLE_MOUSE (@blackheaven)
  • Hide org switching when there is only one org to choose from
  • Label Console-managed providers and let you switch orgs from the provider UI

Extensions

  • Fix plugin installs from npm aliases and git URLs, including Windows cache path issues

Thank you to 3 community contributors:

  • @blackheaven: feat(tui): make the mouse disablable (#6824, #7926) (#13748)
  • @georgeharker: fix(core): implement proper configOptions for acp (#21134)
  • @meruiden: fix: pass both 'openai' and 'azure' providerOptions keys for @ai-sdk/azure (#20272)

← 返回更新日志