Skip to content

v1.14.32:Shell 模式可编辑 + 不支持图片回退

发布日期:2026年5月2日


🎯 一句话总结

Shell 模式的输入框现在可正常编辑(退格、光标移动等),不支持的图片格式回退为文本读取,TUI 启动主题闪烁减少。


🔧 问题修复

Shell 模式输入不可编辑

问题:在 Shell 模式下,退格键、光标移动键等编辑操作不工作。

修复:Shell 模式的输入框现在可以正常编辑。

对你有什么影响:在 Shell 模式中修改命令不再需要重新输入整行。


不支持的图片格式

问题:尝试读取不支持的图片格式时,文件会被当作图片附件发送给 AI,导致提供商报错。

修复:不支持的格式现在回退为文本读取。


HTTP API 工作区适配器

问题:HTTP API 的工作区适配器丢失了实例上下文,可能破坏工作区创建、同步和路由。

修复:恢复了实例上下文。


Bedrock 模型切换 + 推理

问题:使用 Bedrock 会话中包含推理内容时,切换模型会失败。

修复:修复了 Bedrock 会话的模型切换。


TUI 启动主题闪烁

问题:使用系统主题时,TUI 启动时有明显的主题闪烁。

修复:减少了启动时的主题闪烁。


📊 要不要升级?

情况建议
使用 Shell 模式✅ 强烈推荐
使用 Bedrock + 推理✅ 推荐
使用 HTTP API 工作区✅ 推荐
正常使用中可以等下次

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开完整更新列表

Core

  • Shell mode in the prompt stays editable, so backspace, cursor movement, and other editing keys work again.
  • Fixed HTTP API workspace adapters losing instance context, which could break workspace create, sync, and routing flows.
  • Fixed experimental workspace creation requests that omit extra.
  • Fixed OpenAPI parameter schemas so generated clients match the public API.
  • Unsupported image formats now fall back to text reads instead of being sent as image attachments. (@zeke)
  • Agents can use the global temp directory without extra permission prompts.
  • Fixed Bedrock sessions that include reasoning content when switching models.
  • Session archive timestamps now reject non-finite values, avoiding invalid JSON in API payloads.

TUI

  • Reduced startup theme flashing when using the system theme.
  • The animated logo now avoids subpixel rendering on terminals without truecolor support.

Thank you to 2 community contributors:

  • @luojiyin1987: fix: correct documentation typos (#25260)
  • @zeke: fix(read): prevent unsupported image formats from being sent to provider (#21114)

← 返回更新日志