Skip to content

v1.4.10:工作区历史恢复 + Exa 搜索 API Key

发布日期:2026年4月17日


🎯 一句话总结

连接工作区时自动恢复历史会话,OTEL 设置传递到托管工作区,websearch 工具支持 Exa API Key。


🆕 改进:工作区历史恢复

这次更新了什么?

连接工作区时,现有的会话历史会先恢复完毕,然后才开始实时同步。

这有什么用?

之前连接远程工作区后,历史会话可能还没加载完就开始接收新消息,导致数据不一致。现在保证了历史加载完成后再同步新数据。


🆕 改进:websearch 支持 Exa API Key

这次更新了什么?

websearch 工具现在会读取 EXA_API_KEY 环境变量。

这有什么用?

Exa 是一个高质量的搜索 API,设置了 Key 后,websearch 工具的搜索质量更高,且不受默认速率限制。


🔧 问题修复

  • OTEL 遥测传递:托管工作区现在也支持 OTEL 遥测设置
  • 提供商元数据:当目录数据不完整时,模型仍能正常加载
  • TUI Agent 切换:修复了未选择 Agent 时循环切换和快捷键冲突问题
  • TUI 会话恢复:工作区不可用时的会话恢复流程更清晰

📊 要不要升级?

情况建议
使用远程工作区✅ 推荐
使用 websearch 工具✅ 推荐
正常使用中可以等下次

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • Restored workspace history on connect so existing sessions catch up before live sync resumes
  • Passed OTEL exporter settings into managed workspaces so telemetry works there too
  • Normalized provider metadata defaults so models still load when catalog data is incomplete
  • Passed EXA_API_KEY to the websearch tool to reduce rate limits (@rasdani)

TUI

  • Added a restore flow for sessions whose workspace is unavailable, with clearer workspace status indicators
  • Fixed agent cycling when no agent is selected and improved prompt key handling

Thank you to 1 community contributor:

  • @rasdani: fix(opencode): pass EXA_API_KEY to websearch tool to avoid rate limits (#16362)

← 返回更新日志