← 返回更新日志

OpenCode v1.2.21

2026-03-07 · GitHub 原文
## 核心 - 在编辑工具中保留原始换行符 (@ranqn) - 修复 Windows 上 Git Bash、MSYS2 和 Cygwin 中修改文件的 Git 路径解析问题 - 修复 PTY 会话句柄泄漏问题 (@kikuchan) - 清理预览数据库文件名 - 当模式验证失败时记录堆栈跟踪 - 需要查看实际提交差异以了解修复内容并提供准确的更新日志条目。 - 新增项目 git 初始化 API - 更新 Drizzle 和频道数据库处理 - 加速共享加载速度 - 无论权限配置如何,均启用自动接受键绑定 (@luisfelipesena) ## 文本用户界面 (TUI) - 修复 TUI 中 /export 切换功能失效的问题 (@natewill) ## 桌面应用 - 当选项为空时,保护会话标题头 current() 避免未定义错误 (@cyberprophet) - 在重新打开时保留文件树标签页并修复端到端测试回归问题 (@neriousy) - 从项目悬停弹出窗口中移除关闭按钮 - 新会话使用代理模型/变体 - 模型在更改后仍保留在会话中 - 根据提交信息 "fix(app): all panels transition",更新日志条目如下: 所有面板过渡正确 - 无法在应用中滚动文件 - 修复时间线组件的最大宽度 - 对齐 TUI 中的会话空状态 - 新增交互式时间线可视化功能 - 在端到端规格间共享工作空间 slug 等待辅助程序 - 在端到端清理前中止会话并等待空闲 - 在桌面应用中快照功能关闭时显示技能问题 - 通过移除条件挂载逻辑,修复侧边栏菜单和工具提示的门户定位 - 为应用新增端到端测试(第 67 部分)(@neriousy) - 为应用新增侧边栏揭示动画、悬停预览叠加层和更弱的 divider - 改进审查和文件树空状态 - 在普通模式下启用 Safari 自动更正,在 shell 模式下禁用 (@alexandrereyes) - 在应用中还原陈旧的读取错误修复 - 在语言匹配器中添加英语 (@KirillTregubov) **感谢 12 位社区贡献者:** - @luisfelipesena: - fix(app): enable auto-accept keybind regardless of permission config (#16259) - @imdzx: - feat: Add Vietnamese README and update all language navigation links … (#16322) - @KirillTregubov: - fix(app): add english to locale matchers (#16280) - @hoshiumiarata: - fix(ui): prevent unwanted key events during composition in LineCommentEditor (#16361) - @alexandrereyes: - fix(app): enable Safari autocorrect in normal mode, disable in shell mode (#15563) - @neriousy: - tests(app): e2e tests part 67 (#16406) - fix(app): preserve file tree tab on reopen + fix e2e test regressions (#16482) - @kikuchan: - fix(pty): pty session handle leak (#15599) - @ShriKaranHanda: - fix(config): point GitHub PR search tool at current repository (#16441) - fix(storybook): restore build by mocking useLocation (#16472) - @natewill: - fix(tui): fix broken /export toggling (#16443) - @ranqn: - fix(opencode): preserve original line endings in 'edit' tool (#9443) - @cyberprophet: - fix(app): guard session-header current() against undefined when options is empty (#16478) - @Eric-Guo: - fix(app): text-shimmer undefined length (#16475)