Skip to content

v1.1.23:桌面版新布局与中文排版修复

发布日期:2026年01月16日


一句话总结

这次更新带来了全新的桌面版布局设计,修复了中文在终端下的排版问题,并优化了链接打开方式。


新功能:桌面版焕新

这次更新了什么?

OpenCode 桌面版迎来了一次视觉和体验上的大升级,采用了全新的应用布局,并优化了大量 UI 细节。

细节优化

  • 全新布局:界面更加整洁现代,操作更顺手。
  • 状态记忆:现在会自动记住你工作区的分支选择、文件列表的排序和折叠状态,下次打开还是熟悉的样子。
  • 视觉微调:修复了思考动画的透明度、会话图标对齐、背景色等细节问题。

如何体验?

直接升级到最新版 OpenCode 桌面应用即可看到变化。


改进:中文排版修复

之前的问题

在终端界面(TUI)下,中文、日文等宽字符(CJK)有时会出现换行错误或渲染重叠的问题,影响阅读体验。

现在的情况

升级了底层显示库(OpenTUI v0.1.73),彻底修复了这些问题。现在在终端里看中文内容,排版会更加整齐漂亮。


改进:链接跳转优化

之前的问题

在桌面版应用里点击链接(比如文档链接),有时会直接在应用内的一个小窗口打开,浏览体验不够好,也无法使用浏览器的插件。

现在的情况

现在点击外部链接,会直接唤起你系统的默认浏览器打开。


要不要升级?

情况建议
中文用户强烈建议升级(修复了排版)
桌面版用户✅ 推荐升级(新布局更好用)
命令行用户建议升级

升级命令

bash
opencode upgrade

技术细节(可跳过)

点击展开完整更新列表

Core

  • Ensure agent exists before processing title in session summary
  • More defensive handling of project list to prevent errors
  • Filter dead worktrees from git worktree list
  • Load models.dev in development mode
  • Ensure frontmatter can process same content as other agents
  • Show toast error message when ConfigMarkdown parsing fails
  • Prettify retry duration display in TUI
  • Handle broken symlinks gracefully in grep tool
  • Honor per-server MCP timeouts
  • Upgrade OpenTUI to v0.1.73, fixing CJK word wrapping
  • Add input limit for compaction
  • Fix Codex ID issue
  • Revert provider-level store option
  • Allow provider-level store option
  • Make dialog keybinds configurable

TUI

  • Update black plan selection with light rays effect and mobile styles
  • Use native text truncation for sidebar diff paths
  • Center the initially selected session in the session list
  • Restore brand integrity of TUI wordmark

Desktop

  • Fix sidebar toggle on desktop
  • Persist workspace branch selection across sessions
  • Persist workspace order and collapsed state in sidebar
  • Fix thinking animation opacity and improve design
  • Fix session icon and name alignment
  • Show session as busy even when it's the active session
  • Stop killing opencode-cli process on dev mode restart
  • Update desktop question tools
  • Fix current session background color
  • Remove the active state from load more button after press
  • Fix new session tooltip position and add keyboard shortcut
  • Remove more options tooltip
  • Fix workspace name color in UI
  • Hide "View all sessions" button when on active project page
  • Fix avatar button states
  • Reduce font size of load more button
  • Fix recent sessions title color
  • Fix project dropdown labels and sorting order
  • Move left panel toggle button to the right
  • Fix avatar background color
  • Show project options on hover of row
  • Increase delay on session list tooltips
  • Fix tooltip gutter spacing on session items and archive buttons
  • Archive icon replaces diff count on hover
  • Fix hover state for recent sessions in gutter
  • Fix search bar functionality in header
  • Fixed layout issues in the app
  • Fix stale sessions in new layout
  • New app layout
  • Open external links in system browser instead of webview in desktop app

← 返回更新日志

本站教程完全免费,广告收入用于覆盖服务器成本。感谢您的支持!