Skip to content

v1.3.1:Poe 认证支持 + 大量体验优化

发布日期:2026年3月25日


🎯 一句话总结

新增 Poe 作为内置认证提供商,命令面板快捷键改为 Cmd+K,修复大量界面体验问题。


🆕 新功能:Poe 认证提供商

这次更新了什么?

OpenCode 现在将 Poe 作为内置认证提供商,支持 OAuth 登录和 API Key 两种认证方式。

Poe 是什么?

Poe 是 Quora 旗下的 AI 平台,提供多种大语言模型的统一 API 访问。通过 Poe,你可以使用 Claude、GPT-4、Gemini 等多个模型。

现在 OpenCode 内置了 Poe 支持,就像 Codex 和 Copilot 一样,不需要额外配置自定义提供商。

如何使用?

方式一:OAuth 登录(推荐)

  1. 在 OpenCode 设置中选择 Poe 作为提供商
  2. 点击登录,浏览器会自动打开 Poe 授权页面
  3. 授权后自动完成配置,无需手动输入密钥

方式二:API Key

  1. 在 Poe 平台获取你的 API Key
  2. 在 OpenCode 配置中填入 API Key

🆕 新功能:主题模式手动锁定

这次更新了什么?

现在可以手动锁定主题模式(亮色/暗色),不再跟随系统自动切换。

这有什么用?

如果你习惯使用固定主题(比如一直用暗色模式),之前系统切换时会打断你的使用体验。现在可以手动锁定,想用什么就用什么。


🆕 新功能:更多语言语法高亮

这次更新了什么?

新增对以下语言的语法高亮支持:

语言说明
KotlinJetBrains 开发的 JVM 语言
HCLHashiCorp 配置语言(Terraform)
Lua轻量级脚本语言
TOML配置文件格式

这有什么用?

当你在这些语言的项目中使用 OpenCode 时,代码会显示语法高亮,更容易阅读和理解。


🆕 新功能:Amazon Bedrock Token 缓存

这次更新了什么?

自定义 Amazon Bedrock 提供商现在支持 Token 缓存。

这有什么用?

如果你使用自建的 Amazon Bedrock 提供商,每次请求都需要重新获取认证 Token 会很慢。现在有了缓存机制,减少了重复认证,响应更快。


🖥️ 桌面版和 TUI 改进

功能说明
命令面板快捷键改为 Cmd+KCmd+P 仍可用)
项目切换恢复侧边栏键盘切换,Enter 键激活
文件树面板调整大小时保持最小宽度
启动速度提升启动效率
桌面版稳定性更健壮的 sidecar 进程清理
飞书社区链接中文区域更新为正确的飞书链接

🐛 问题修复

问题修复
会话时间线滚动时跳动修复滚动定位
GitLab Duo Workflow 模型显示错误身份修复身份识别
主题模式在亮色/暗色之间切换异常修复切换逻辑
终端标签关闭时进程未清理正确清理子进程
多文件附件批量添加异常修复选择器、粘贴和拖拽
提示词历史导航修复导航逻辑
项目头像弹出框闪烁修复切换项目时的问题
会话忙碌状态处理提升响应性
过期会话悬停预览修复显示
控制台账户 URL 处理改善导航

📊 要不要升级?

情况建议
使用 Poe 平台✅ 强烈推荐
Amazon Bedrock 用户✅ 推荐
遇到主题切换问题✅ 推荐
所有用户✅ 推荐(修复多)

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Features

  • Added Poe as a built-in authentication provider with OAuth and API key support (#18477)
  • Enabled token caching for custom Amazon Bedrock providers (#18959)
  • Added syntax highlighting support for Kotlin, HCL, Lua, and TOML files (#18198)
  • Added manual lock/unlock for theme mode (#18905)

Fixes

  • Fixed session timeline jumping when scrolling (#18993)
  • Fixed GitLab Duo Workflow models showing incorrect identity (#18928)
  • Fixed theme mode switching between dark and light modes (#18851)
  • Fixed console account URL handling for better navigation (#18809)
  • Fixed session busy state handling for better responsiveness (#18758)
  • Fixed stale session hover preview (#18727)
  • Fixed project hover state (#18732)
  • Fixed prompt history navigation (#18775)
  • Fixed filtering of non-renderable part types (#18926)
  • Fixed ProviderIcon optional chaining issue (#18927)
  • Fixed process cleanup when closing terminal tabs (#16057)
  • Fixed batching of multi-file prompt attachments via picker, paste, and drag-drop (#18722)
  • Fixed patch tool counts visibility when displaying files with long names (#18678)
  • Fixed project avatar popover flicker when switching projects via sidebar (#18660)

Improvements

  • Improved startup efficiency (#18985)
  • Updated Feishu community links for Chinese (zh) locales (#18975)
  • Improved file tree panel to maintain its minimum width when resized (#18777)
  • Improved desktop app stability with more robust sidecar process cleanup (#18742)
  • Changed command palette shortcut to Cmd+K (with Cmd+P still working as fallback) (#18731)
  • Restored keyboard project switching in open sidebar with proper Enter key activation (#18682)

← 返回更新日志