Skip to content

v1.3.14:Git 审查模式回归 + Venice AI + 会话分享确认

发布日期:2026年4月4日


🎯 一句话总结

恢复了 Git 审查模式(未提交变更、分支 Diff),新增 Venice AI 提供商,首次分享会话前增加了确认提示,macOS 企业 MDM 支持。


🆕 新功能:Git 审查模式回归

这次更新了什么?

恢复了基于 Git 的审查模式,包括:

  • 查看未提交的变更(uncommitted changes)
  • 分支间 Diff 对比

这有什么用?

之前这些审查模式因为兼容性问题被临时移除了,现在回归。你可以直接在 OpenCode 中让 AI 审查你的代码变更,不用切换到其他工具。


🆕 新功能:Venice AI 提供商

这次更新了什么?

新增了 Venice AI 作为模型提供商。

这有什么用?

Venice AI 是一个注重隐私的 AI 平台。如果你有 Venice AI 的 API Key,现在可以在 OpenCode 中直接使用其模型。


🆕 新功能:会话分享确认

这次更新了什么?

首次分享会话时,会弹出一次确认提示。

这有什么用?

防止误操作将私密对话分享出去。确认一次后,后续分享不再重复询问。


🆕 新功能:macOS 企业 MDM 支持

这次更新了什么?

新增了 macOS 托管偏好设置(Managed Preferences),支持 MDM 强制下发配置。

这有什么用?

企业管理员可以通过 MDM 工具统一下发 OpenCode 配置(如模型选择、权限策略),实现企业级统一管理。


🆕 新功能:导出脱敏(sanitize)

这次更新了什么?

TUI 新增 opencode export --sanitize 命令,导出会话时自动脱敏 PII(个人身份信息)和机密数据。

这有什么用?

需要分享会话内容给他人或社区时,可以一键脱敏,避免泄露敏感信息。


🆕 新功能:桌面端文件提及

这次更新了什么?

Desktop 版在审查评论中新增了文件提及(file mentions)功能。


🔧 问题修复

会话卡死(OpenAI 兼容提供商)

问题:使用 OpenAI 兼容的提供商时,工具调用后会话可能卡住不动。

修复:修复了工具调用后的会话循环问题。


回退链快照恢复

问题:回退到更早的消息时,快照状态恢复不正确。

修复:回退链现在正确恢复对应的快照状态。


压缩摘要语言一致性

问题:会话压缩后的摘要可能切换成英文,即使用户一直用中文对话。

修复:压缩摘要现在保持与对话相同的语言。

对你有什么影响:中文对话的压缩摘要仍然是中文。


📊 要不要升级?

情况建议
使用 Git 审查模式✅ 强烈推荐
会话遇到过卡死✅ 强烈推荐
macOS 企业部署✅ 强烈推荐
使用 Venice AI✅ 推荐
需要导出脱敏会话✅ 推荐
正常使用中✅ 推荐

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • Restored git-backed review modes, including uncommitted and branch diffs.
  • Fixed revert chains so restoring an earlier message also restores the right snapshot state. (@natewill)
  • Added macOS managed preferences for MDM-enforced config. (@lennyvaknine43)
  • Fixed sessions getting stuck after tool calls with OpenAI-compatible providers. (@valenvivaldi)
  • Kept compaction summaries in the conversation's language. (@aaron-he-zhu)
  • Added Venice AI as a provider. (@dpuyosa)
  • Respected model-specific limit.input overrides. (@ykswang)

TUI

  • Kept the prompt cursor with dialogs instead of refocusing the background prompt.
  • Added a one-time confirmation before sharing a session for the first time.
  • Applied scroll settings consistently across TUI scroll views.
  • Kept text selections intact during global key handling.
  • Fell back to the first available agent if the last-used agent is unavailable.
  • Added opencode export --sanitize to redact PII and confidential transcript data.
  • Fixed diff line number contrast in built-in themes.

Desktop

  • Added file mentions in review comments.
  • Restored prompt focus after closing agent, model, and variant pickers.
  • Added keyboard navigation and shortcuts to the question dock.
  • Hid model controls in shell mode.
  • Stopped the todo dock from auto-scrolling while tasks update.

SDK

  • Fixed JS SDK server and TUI launch and shutdown on Windows.
  • Fixed object-defined Tool.define() tools from wrapping execute multiple times. (@jpcarranza94)

Extensions

  • Added support for theme-only plugin packages.

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


← 返回更新日志