Skip to content

v1.1.37:文件树模式,高亮功能,Thai 语言支持

发布日期:2026年01月28日


一句话总结

这次更新新增了文件树模式、代码高亮功能,支持泰国语,并带来了大量界面和性能改进。


新功能:文件树模式

这次更新了什么?

新增了文件树视图模式,可以更直观地浏览和管理项目文件结构。

文件树模式是什么?

文件树模式以树形结构展示项目文件和目录,类似于你熟悉的 VS Code 文件浏览器,方便快速导航和定位文件。

如何使用?

在 Desktop 应用中:

  1. 打开项目
  2. 点击侧边栏的文件树图标
  3. 浏览和展开文件夹,点击文件打开
  4. 使用箭头键导航
  5. 输入关键字快速过滤文件

新功能:代码高亮功能

这次更新了什么?

在文件树中,修改过的文件会用不同颜色标记,并用圆点指示变更类型(新增、修改、删除)。

如何使用?

查看文件树时:

  • 🔴 红色圆点:删除的文件
  • 🟡 黄色圆点:修改的文件
  • 🟢 绿色圆点:新增的文件
  • 无圆点:未变更的文件

新功能:Headless 认证支持

这次更新了什么?

现在支持 ChatGPT 和 Codex 的 headless 认证方式,更适合自动化场景。

Headless 认证是什么?

Headless 认证是指不需要浏览器交互的认证方式,适合 CI/CD、脚本等自动化场景。

如何使用?

配置 ChatGPT 或 Codex 提供商时,使用环境变量或配置文件设置 API Key,无需手动浏览器授权。


新功能:支持更多语言

这次更新了什么?

  • 新增泰国语(Thai)支持
  • 改进了中文本地化体验

新功能:Learn 命令

这次更新了什么?

新增 /learn 命令,可以从会话中提取学习要点并保存到 AGENTS.md 文件。

如何使用?

在会话中输入:

/learn

OpenCode 会自动分析会话内容,提取关键学习要点并保存到项目的 AGENTS.md 文件中。


问题修复:Session 同步问题

之前的问题

在某些情况下,session 的同步会出现问题,导致状态不一致。

现在的情况

修复了 session 同步机制,确保状态始终一致。


问题修复:终端损坏

之前的问题

Desktop 应用中的终端可能会出现显示损坏或无响应的情况。

现在的情况

修复了终端相关的渲染问题,确保终端始终正常工作。


要不要升级?

情况建议
使用 Desktop 版✅ 强烈推荐(大量改进)
需要更好的文件浏览体验✅ 强烈推荐
使用自动化脚本✅ 推荐升级
用得好好的可以等下次

升级命令

bash
opencode upgrade

技术细节(可跳过)

点击展开完整更新列表

Core

  • Support headless authentication for ChatGPT/Codex (@rgodha24)
  • Add recommended topP and temperature settings for Kimi K2.5 model
  • Adjust retry check to be more defensive
  • Handle Venice cache creation tokens (@dpuyosa)
  • Add worktree to plugin tool context
  • Expose Instance.directory to custom tools
  • Use Instance.directory instead of process.cwd() in read tool
  • Fix reactive file tree to properly update when files change
  • Attach Anthropic beta headers when using Messages API for Copilot
  • Add retry logic to handle certain provider problems
  • Ensure OpenAI 404 errors are retried (@tim-smart)
  • Use Anthropic-compatible messages API for Anthropic models through Copilot
  • Upgrade OpenTUI to v0.1.75
  • Dynamically resolve AGENTS.md files from subdirectories as agent explores them
  • Add agent description to OpenCode (@SteffenDE)
  • Fix query selector handling of non-Latin characters
  • Await SessionRevert.cleanup for shell to prevent race conditions (@noamzbr)
  • Don't override source in custom provider loaders
  • Add provider settings to app
  • Run start command after reset in app
  • Remove log statement

TUI

  • Handle 4-5 digit codes in copy logic
  • Make diff wrapping toggle always available in command list and fix type error (@ariane-emory)
  • Add visual feedback for diff wrap and conceal toggles (@IdrisGit)
  • Adjust TUI syncing logic to prevent agents from being undefined or missing
  • Remove broken app.tsx command option
  • Move animations toggle to global System category (@ariane-emory)

Desktop

  • Reintroduce review tab in app
  • Auto-scroll to keep relevant content in view
  • Add 'connect provider' button to the manage models dialog (@alexyaroshuk)
  • Fix terminal corruption issue in app
  • File tree not always loading in app
  • Fix outdated e2e test in app package
  • Do not auto-navigate to last project on app load
  • Add Tauri localization support to desktop application
  • Add internationalization support for Tauri desktop application
  • Better memory management in app
  • Don't connect to localhost through VPN
  • Show 5 highlights in app
  • Highlight selected change in the app
  • Set filetree padding to 6px
  • Align file tree change styling
  • Delay navigation tooltips
  • Adjust titlebar left spacing
  • Shorten navigation tooltips
  • Add filetree tooltips with diff labels
  • Color file tree change dots by diff kind
  • Improved app layout
  • Fix session diffs not always loading in app
  • New end-to-end smoke tests for app
  • Add translations to the app
  • Update settings in general settings
  • Swallow file search errors in app
  • Fix tooltips causing getComputedStyle errors in model select
  • Clean up Tailwind CSS versus pure CSS usage in app
  • Navigate to tabs when opening file in app
  • Open markdown links in external browser
  • Shared terminal ghostty-web instance for better performance
  • Cleanup connect provider timers
  • Don't keep parts in memory
  • Don't show session skeleton after workspace reset
  • Add max-width to tabs with text truncation
  • Use smaller close icon on tabs to match comment cards
  • Only show left border on plus button when sticky
  • Update review empty states to 14px font size and align select file empty state
  • Center file tree empty state with 32px top margin
  • Implement non-fatal error handling in app
  • Fix agent fallback colors in app
  • Added forward and back navigation buttons
  • Add missing tooltips in app
  • Auto-scroll button sometimes sticks in the app
  • Deduplicate Tauri configuration files (@Brendonovich)
  • Only show files in select dialog when clicking + tab
  • Disable magnification gestures on macOS desktop (@ysm-dev)
  • Add Connect provider in model selector (@ProdigyRahul)
  • Add file tree specification tests
  • Enable file watcher in app
  • Improve file tree performance in app
  • Add highlights feature
  • Add new release modal
  • Fix Zen mode disconnect not working in app
  • Disconnect Zen provider
  • Fix e2e test in app package
  • Disable tooltips in file tree tabs
  • Move file tree toggle button to the right side
  • Fade filetree guide lines on hover
  • Dim non-deep filetree guide lines in the app interface
  • Reduce file tree folder indent
  • Refine file tree row spacing and indentation
  • Use medium font weight for filetree items
  • Use chevron icons for filetree folders
  • Tighten file tree row spacing
  • Adjust filetree panel padding
  • Scope filetree pill tabs styling
  • Add Vercel AI Gateway provider description
  • Add provider descriptions to settings
  • Add transition to command palette
  • Add transition to select provider dialog
  • Add optional transition animations to dialog
  • Style view all button with interactive color and margin
  • Add models icon and use in settings UI
  • Add providers icon and use in settings
  • Use default cursor for environment provider text
  • Add hover text for environment-connected providers
  • Set provider row height to 56px
  • Update button styles and disconnect button size in UI
  • Fix session synchronization issue in application
  • Add missing i18n strings in app
  • Add session load limit to prevent excessive memory usage
  • Add end-to-end test for sidebar navigation
  • Replace signals with createStore in app
  • Add file tree mode to app
  • Add file tree view to app
  • Use focus-visible instead of focus to prevent sticky hover effect on click (@ProdigyRahul)
  • Better sidebar hover behavior when collapsed
  • Make sidebar full-height in app
  • Add full-height hover effect to sidebar
  • Add model settings to application
  • Add model settings interface to app
  • Handle non-tool call permissions in app
  • Default servers on web
  • Performance improvements in the app
  • Add missing translations for status messages
  • Don't allow workspaces in non-VCS projects

Thank you to 17 community contributors:

@MartinWie:

  • docs: fix permission event name (permission.asked not permission.updated) (#10588)

@ariane-emory:

  • fix(tui): Move animations toggle to global System category (resolves #10495) (#10497)
  • fix: Make diff wrapping toggle always available in command_list and correct a type error (resolves #10682) (#10683)

@R44VC0RP:

  • Add highlight tag parsing for changelog with video support
  • Add collapsible sections, sticky version header, and style refinements for changelog highlights
  • fix(web): update spacing on the changelog page
  • docs: add warning about Claude Pro/Max subscription support (#10595)
  • fix: move changelog footer outside content div to fix padding (#10712)
  • fix: add 44px top padding to sticky version header on changelog (#10715)
  • feat(release): add highlights template to draft releases (#10745)
  • feat: add /learn command to extract session learnings to scoped AGENTS.md files (#10717)

@IdrisGit:

  • fix(tui): add visual feedback for diff wrap and conceal toggles (#10655)

@noamzbr:

  • fix: await SessionRevert.cleanup for shell (#10669)

@SteffenDE:

  • feat(opencode): add agent description (#10680)

@sam-huckaby:

  • fix(app): Order themes alphabetically (#10698)

@alexyaroshuk:

  • fix(app): restore external link opening in system browser (#10697)
  • feat(app): add 'connect provider' button to the manage models dialog (#10887)

@ProdigyRahul:

  • fix(ui): use focus-visible instead of focus to prevent sticky hover effect on click (#10651)
  • fix(app): add connect provier in model selector (#10706)

@zerone0x:

  • fix(enterprise): add message navigation to share page desktop view (#10071)

@tim-smart:

  • fix: ensure openai 404 errors are retried (#10590)

@fabiomartino:

  • docs: add Italian README (#10732)

@ysm-dev:

  • fix(desktop): disable magnification gestures on macOS (#10605)

@Brendonovich:

  • desktop: deduplicate tauri configs

@dpuyosa:

  • feat(opencode): Handle Venice cache creation tokens (#10735)

@OpeOginni:

  • chore(docs): Better explanation on how to allow tools in external directories (#10862)

@rgodha24:

  • feat: support headless authentication for chatgpt/codex (#10890)

← 返回更新日志

本站内容免费。页面可能展示广告,用于覆盖服务器与维护成本。