Skip to content

v1.2.15:修复 Windows 崩溃问题

发布日期:2026-02-26


🎯 一句话总结

修复 Windows 上的段错误崩溃问题,拆分 TUI 和 Server 配置。


🐛 重要修复:Windows 崩溃

之前的问题

在 Windows 上使用 Bun v1.3.10 稳定版时,OpenCode 会出现段错误(segfault)导致程序崩溃。

现在的情况

已修复大部分 Windows 上的段错误问题,Windows 用户现在可以稳定运行 OpenCode。

⚠️ 如果你之前因为崩溃问题无法在 Windows 上使用 OpenCode,现在可以重新尝试了。


✨ 改进:拆分 TUI 和 Server 配置

这次更新了什么?

TUI(终端界面)和 Server(服务器模式)的配置现在分开管理,避免配置冲突。

这有什么用?

  • 更清晰的配置:TUI 和 Server 可以有独立的配置项
  • 避免意外影响:修改 TUI 配置不会影响 Server 行为
  • 为 Desktop 铺路:Desktop 版本需要独立的 Server 配置

🖥️ Desktop 改进

  • 修复 macOS 上侧边栏卡死的问题
  • 修复子会话中权限和问题的处理
  • 修复消息导航的键盘快捷键
  • 修正 Copilot 提供商的多语言描述

📊 要不要升级?

情况建议
Windows 用户✅ 强烈推荐
macOS Desktop 用户✅ 推荐
Linux TUI 用户⚪ 可选升级

⬆️ 升级命令

bash
opencode upgrade

📋 技术细节

点击展开原始 Release Notes

Core

  • Fix most segfaults on Windows with Bun v1.3.10 stable
  • Split TUI and server configuration

Desktop

  • Remove interactive shell flag from sidecar spawn to prevent hang on macOS (@kilhyeonjun)
  • Fixed permissions and questions handling from child sessions in the app
  • Fixed keyboard navigation for previous/next message (@neriousy)
  • Correct Copilot provider description in i18n files (@Oleksii-Pavliuk)

Thank you to 5 community contributors:

  • @Oleksii-Pavliuk:
    • fix(app): correct Copilot provider description in i18n files (#15071)
  • @neriousy:
    • fix(app): keyboard navigation previous/next message (#15047)
  • @OpeOginni:
    • fix(docs): update schema URL in share configuration examples across multiple languages (#15114)
  • @kilhyeonjun:
    • fix(desktop): remove interactive shell flag from sidecar spawn to prevent hang on macOS (#15136)
  • @choephix:
    • fix(app): middle-click tab close in scrollable tab bar (#15081)

← 返回更新日志