v1.4.8:实验模式崩溃修复 + Azure 缓存
发布日期:2026年4月17日
🎯 一句话总结
修复了启用实验模式时的崩溃问题,Azure 现在默认启用提示词缓存,TUI 切换视图时保留输入内容。
🆕 改进:Azure 提示词缓存
这次更新了什么?
Azure 模型现在默认启用提示词缓存,使用每个会话独立的缓存键。
这有什么用?
使用 Azure OpenAI 时,重复的系统提示词和上下文会被缓存,减少 Token 消耗和费用。
🔧 问题修复
实验模式崩溃
问题:启用实验模式后应用直接崩溃。
修复:修复了实验模式的启动逻辑。
Windows Ctrl+Z 行为
问题:Windows 上的 Ctrl+Z 行为不正确,终端挂起和撤销功能冲突。
修复:修复了 Windows 上 Ctrl+Z 的终端挂起和输入撤销行为。
TUI 输入保留
问题:在 TUI 中切换视图后,之前在输入框中打的内容会丢失。
修复:输入内容现在在视图卸载和重新挂载时保留。
回退 Diff 文件名
问题:回退操作的 Diff 中显示的文件名是 /dev/null 而不是真实文件名。
修复:现在显示真实的文件名。
📊 要不要升级?
| 情况 | 建议 |
|---|---|
| 使用实验模式 | ✅ 强烈推荐 |
| 使用 Azure | ✅ 推荐 |
| Windows 用户 | ✅ 推荐 |
| 正常使用中 | 可以等下次 |
⬆️ 升级命令
bash
opencode upgrade📋 技术细节
点击展开完整更新列表
Core
- Fixed a crash when experimental mode was enabled.
- Let plugin tools return metadata in execute results. (@jquense)
- Show real filenames instead of
/dev/nullin revert diffs. - Improved workspace session handling when a workspace no longer exists.
- Fixed Windows
ctrl+zterminal suspend and input undo behavior. - Enabled Azure prompt caching with a default per-session cache key.
TUI
- Preserve prompt input when views unmount and remount.
- Keep session list dialogs ordered more consistently within each day.
Desktop
- Fixed desktop workspace loading so ready state persists correctly.
- Fixed desktop session syncing when loading project data from query cache.
- Added beta desktop settings to hide title bar tools like navigation, search, terminal, status, and file tree.
- Improved desktop session change loading in the review panel.
Thank you to 1 community contributor:
- @jquense: fix: preserve plugin tool metadata in execute result (#22827)

