跳到主内容
@wquguru
精选88Zed(GitHub Releases)客户端

Zed v1.22.0:移除外部终端Stop控制、快捷键变更与GPT-6.1 BYOK

v1.22.0

原文
发到 X
推荐理由

本次更新包含两项必须注意的破坏性变更:关闭 Dock 的全局快捷键已从 cmd-w/ctrl-w 改为 ctrl-alt-w,且 Agent 终端不再提供本地 Stop 按钮。建议立即检查并自定义键位映射,以免日常操作受阻。

This week's release includes BYOK support for GPT-6.1 Sol, on-the-fly model selection for new subagents, automatic subagent compaction, a unified/split toggle for diffs opened from the command line, and dynamically fetched OpenCode models.

本周的更新包括对 GPT-6.1 Sol 的 BYOK(自带密钥)支持、新子代理的动态模型选择、自动子代理压缩、从命令行打开的差异视图的统一/拆分切换,以及动态获取的 OpenCode 模型。

Features

功能

AI

  • Added an optional model parameter to spawn_agent to choose a model for that spawn instead of using the configured subagent model or inheriting the parent model, with the active model shown in its card. (#64498; thanks itsfuad)
  • Added BYOK support for GPT-6.1 Sol with an OpenAI API key. (#64968; thanks ktKongTong)
  • Added Grok 4.7 to the SuperGrok and xAI providers and made it their recommended default. (#64567; thanks raphaelluethy)
  • Added the agent.threads_sidebar.auto_open setting to control whether opening a folder in an existing window also opens the Threads Sidebar. (#64259, #64395; thanks jackhwalters and joshkent94)
  • Added support for "..." in edit_predictions.disabled_globs and edit_predictions_disabled_in so settings can extend inherited edit prediction exclusions and scopes. (#64540, #64546; thanks porada)
  • Enabled compaction for subagents. (#64135)
  • Improved OpenCode model availability by fetching the Zen and Go model list dynamically instead of relying on one bundled with Zed. (#64585)
  • Improved performance when resolving OpenCode models. (#64666)
  • Improved Threads Sidebar sizing so changes to agent.threads_sidebar.default_width take effect even after manually resizing the sidebar. (#64395; thanks joshkent94)
  • Hid deprecated OpenCode models. (#64666)
  • 为 spawn_agent 添加了可选的 model 参数,用于为该生成操作选择模型,而不是使用配置的子代理模型或继承父模型,其活动模型将在卡片中显示。(#64498; 感谢 itsfuad)
  • 为 GPT-6.1 Sol 添加了基于 OpenAI API 密钥的 BYOK 支持。(#64968; 感谢 ktKongTong)
  • 将 Grok 4.7 添加到 SuperGrok 和 xAI 提供商,并将其设为推荐默认值。(#64567; 感谢 raphaelluethy)
  • 添加了 agent.threads_sidebar.auto_open 设置,以控制是否在现有窗口中打开文件夹时也打开线程侧边栏。(#64259, #64395; 感谢 jackhwalters 和 joshkent94)
  • 在 edit_predictions.disabled_globs 和 edit_predictions_disabled_in 中支持 "...",以便设置可以扩展继承的编辑预测排除项和范围。(#64540, #64546; 感谢 porada)
  • 启用子代理的压缩功能。(#64135)
  • 通过动态获取 Zen 和 Go 模型列表,而不是依赖随 Zed 捆绑的列表,提高了 OpenCode 模型的可用性。(#64585)
  • 改进了解析 OpenCode 模型时的性能。(#64666)
  • 改进了线程侧边栏的大小调整,使得即使手动调整了侧边栏大小,agent.threads_sidebar.default_width 的设置更改也能生效。(#64395; 感谢 joshkent94)
  • 隐藏了已弃用的 OpenCode 模型。(#64666)

Git

  • Added a unified/split toggle to the diff view opened with zed --diff <old> <new>. (#64529; thanks rn23thakur)
  • Improved how quickly branch diffs show their first changes when a branch has drifted far from its base. (#62536; thanks azeemshaik025)
  • 在使用 zed --diff <old> <new> 打开的差异视图中添加了统一/拆分切换按钮。(#64529; 感谢 rn23thakur)
  • 改进了当分支与其基础版本差异较大时,分支差异视图显示首次更改的速度。(#62536; 感谢 azeemshaik025)

Terminal

终端

  • Added support for "..." in terminal.path_hyperlink_regexes to extend inherited regexes without repeating them. (#64552; thanks porada)
  • 在 terminal.path_hyperlink_regexes 中支持 "...",以便在不重复的情况下扩展继承的正则表达式。(#64552; 感谢 porada)

macOS

  • Added macOS three-finger Look Up and translation gestures for text in focused Markdown previews. (#59297; thanks cppcoffee)
  • 为聚焦的 Markdown 预览中的文本添加了 macOS 三指查找和翻译手势。(#59297; 感谢 cppcoffee)

Windows

  • Added MicaBackdrop and MicaAltBackdrop options for the background.appearance theme setting. (#48340; thanks Marocco2)
  • 为背景外观主题设置添加了 MicaBackdrop 和 MicaAltBackdrop 选项。(#48340; 感谢 Marocco2)

Other

其他

  • Added support for "..." in file_scan_inclusions and hidden_files so project settings can extend inherited inclusion and hidden-file patterns. (#64440, #64484; thanks porada)
  • Added confirmation in the title bar when a manual update check found Zed was already up to date. (#64106; thanks tahayvr)
  • Improved the pending keystrokes indicator with grouped bindings, a scrollable list, and support for chords without a timeout, such as shortcuts starting with cmd-k. (#64362, #64522)
  • 在 file_scan_inclusions 和 hidden_files 中支持 "...",以便项目设置可以扩展继承的包含模式和隐藏文件模式。(#64440, #64484; 感谢 porada)
  • 当手动更新检查发现 Zed 已是最新版本时,在标题栏中添加了确认提示。(#64106;感谢 tahayvr)
  • 改进了待处理按键指示器,支持分组绑定、可滚动列表以及无超时的连击键(如以 cmd-k 开头的快捷键)。(#64362, #64522)

Bug Fixes

错误修复

  • Fixed invalid file patterns discarding valid exclusion, hidden-file, read-only, and private-file rules or causing inclusion and file-type settings to panic. (#64525; thanks porada)
  • Fixed cmd-w (macOS) and ctrl-w (Linux/Windows) closing the active dock instead of the active pane item. (#64515)
  • Fixed ligatures being disabled on Windows unless buffer_font_features was set. (#62338; thanks interkelstar)
  • Fixed LSP completions without edit ranges ignoring the configured completions.lsp_insert_mode. (#64139)
  • Fixed the Settings window opening with its header off-screen at high DPI scaling on Windows. (#62073; thanks habisahmad)
  • Fixed importing VS Code files.exclude into file_scan_exclusions. (#64492; thanks porada)
  • Fixed “Add to .git/info/exclude” failing in secondary Git worktrees. (#63967; thanks mateioprea)
  • Fixed terminals retaining about 2 MB of memory per command after the command finished. (#64405; thanks EcutAtom336)
  • Fixed external-agent terminals completing prematurely or reporting the wrong exit status. (#64544)
  • Fixed a memory leak when closing macOS windows with experimental accessibility enabled. (#64143; thanks feigeCode)
  • Fixed the terminal grid losing its top alignment when growing on Windows. (#63699; thanks 39ali)
  • Fixed a crash on Linux (X11) when a window was redrawn immediately after GPU device recovery. (#64570)
  • Fixed language servers not starting for files opened via UNC paths on Windows. (#56553; thanks Joblen)
  • Fixed PowerShell installed by Scoop not being detected when Scoop uses a custom installation directory. (#62473; thanks jliu666)
  • Fixed task worktree variables resolving to the wrong project when the global tasks.json file was focused, and paths containing spaces breaking Windows tasks. (#55727; thanks di404)
  • Fixed adding the current line to an Agent thread when no text was selected using cmd-> (macOS), ctrl-> (Linux), or ctrl-shift-. (Windows). (#64589)
  • Fixed a bug where the block cursor hid the character underneath until its animation completed. (#64521; thanks linyisu)
  • Fixed columnar selections landing in the wrong column around non-ASCII text, tabs, soft wraps, and collapsed content. (#63723; thanks itsfuad)
  • Fixed the cursor drifting from the center of the editor when using a high vertical_scroll_margin for typewriter-style scrolling. (#63944; thanks rn23thakur)
  • Fixed cursor animations when moving between characters of different widths and during keyboard-triggered autoscrolling. (#64184; thanks tiny-paris)
  • Fixed excerpt expansion when the selection was on deleted text in unified diffs. (#63946; thanks IbrahimKhan12)
  • Fixed a bug where “Configure Excluded Files” selected the wrong list when a commented-out disabled_globs setting appeared before it. (#64540; thanks porada)
  • Fixed diagnostic navigation not linking nearby related diagnostics back to the primary diagnostic. (#64134; thanks GautamBytes)
  • Fixed missing editor underlines for language server diagnostics at positions without underlying text. (#63933; thanks itsfuad)
  • Fixed a bug where the Agent Panel created two terminals when starting a new terminal thread in a project with no existing terminals. (#62151; thanks restlessronin)
  • Fixed keyboard navigation and submission in ACP elicitation forms. (#64193)
  • Fixed errors when ACP agents returned null for empty response payloads. (#64457)
  • Fixed Markdown preview tabs not showing the source file path on hover. (#64318; thanks GautamBytes)
  • Fixed Project Panel requiring two left presses to collapse opened files’ parent. (#64733)
  • Fixed breadcrumb highlighting outside excerpts. (#64738)
  • Fixed missing visual feedback when copying REPL output. (#64276; thanks Yao0454)
  • Fixed recording and searching for standalone modifier-key bindings in the Keymap Editor. (#64537)
  • Fixed remote external-agent exit errors appearing before the agent's final response updates were applied. (#64603)
  • Fixed the selection highlight flickering in the Threads Sidebar when clicking terminal threads. (#64387)
  • Fixed snippets from different extensions canceling each other out for the same language. (#58659; thanks LBF38)
  • Fixed syntax highlighting for Markdown emphasis, links, and code blocks when viewing a file at a historical commit. (#64683; thanks Sudarsh1010)
  • Fixed Command-clicking a symbol opening a definitions multibuffer instead of the picker when lsp_results_location was set to "picker". (#64039; thanks v-shevtsov)
  • 修复了无效文件模式导致有效排除规则、隐藏文件规则、只读规则和私有文件规则被丢弃,或导致包含和文件类型设置崩溃的问题。(#64525;感谢 porada)
  • 修复了 cmd-w (macOS) 和 ctrl-w (Linux/Windows) 关闭活动停靠面板而非活动窗格项的问题。(#64515)
  • 修复了除非设置了 buffer_font_features,否则 Windows 上禁用连字的问题。(#62338;感谢 interkelstar)
  • 修复了 LSP 补全在没有编辑范围时忽略了配置的 completions.lsp_insert_mode 的问题。(#64139)
  • 修复了在 Windows 高 DPI 缩放下设置窗口头部显示在屏幕外的问题。(#62073;感谢 habisahmad)
  • 修复了将 VS Code 的 files.exclude 导入到 file_scan_exclusions 中的问题。(#64492;感谢 porada)
  • 修复了在次要 Git 工作树中添加至 .git/info/exclude 失败的问题。(#63967;感谢 mateioprea)
  • 修复了命令结束后终端仍保留约 2 MB 内存的问题。(#64405;感谢 EcutAtom336)
  • 修复了外部代理终端过早完成或报告错误退出状态的问题。(#64544)
  • 修复了在启用实验性辅助功能时关闭 macOS 窗口导致的内存泄漏问题。(#64143;感谢 feigeCode)
  • 修复了 Windows 上终端网格在扩展时失去顶部对齐的问题。(#63699;感谢 39ali)
  • 修复了 Linux (X11) 上 GPU 设备恢复后立即重绘窗口导致的崩溃问题。(#64570)
  • 修复了通过 UNC 路径打开文件时语言服务器未启动的问题。(#56553;感谢 Joblen)
  • 修复了当 Scoop 使用自定义安装目录时无法检测到由 Scoop 安装的 PowerShell 的问题。(#62473;感谢 jliu666)
  • 修复了当全局 tasks.json 文件处于焦点时任务工作树变量解析到错误项目,以及包含空格的路径破坏 Windows 任务的问题。(#55727;感谢 di404)
  • 修复了在使用 cmd-> (macOS)、ctrl-> (Linux) 或 ctrl-shift-. (Windows) 且未选中文本时将当前行添加到 Agent 线程的问题。(#64589)
  • 修复了块光标在动画完成前隐藏其下方字符的 bug。(#64521;感谢 linyisu)
  • 修复了列选择在与非 ASCII 文本、制表符、软换行和折叠内容附近时落入错误列的问题。(#63723;感谢 itsfuad)
  • 修复了在使用高 vertical_scroll_margin 进行打字机式滚动时,光标从编辑器中心漂移的问题。(#63944; 感谢 rn23thakur)
  • 修复了在宽度不同的字符之间移动以及键盘触发的自动滚动期间的光标动画问题。(#64184; 感谢 tiny-paris)
  • 修复了在统一差异(unified diffs)中选中已删除文本时摘录展开的问题。(#63946; 感谢 IbrahimKhan12)
  • 修复了一个 bug:当注释掉的 disabled_globs 设置出现在其之前时,“配置排除文件”会选中错误的列表。(#64540; 感谢 porada)
  • 修复了诊断导航未将附近的相关诊断链接回主要诊断的问题。(#64134; 感谢 GautamBytes)
  • 修复了语言服务器诊断在不存在底层文本的位置缺少编辑器下划线的问题。(#63933; 感谢 itsfuad)
  • 修复了一个 bug:在没有现有终端的项目中启动新的终端线程时,Agent Panel 会创建两个终端。(#62151; 感谢 restlessronin)
  • 修复了 ACP 提示表单中的键盘导航和提交问题。(#64193)
  • 修复了当 ACP 代理对空响应负载返回 null 时的错误。(#64457)
  • 修复了 Markdown 预览标签页在悬停时不显示源文件路径的问题。(#64318; 感谢 GautamBytes)
  • 修复了项目面板需要两次按下左键才能折叠已打开文件的父级的问题。(#64733)
  • 修复了摘录外部的面包屑高亮问题。(#64738)
  • 修复了复制 REPL 输出时缺少视觉反馈的问题。(#64276; 感谢 Yao0454)
  • 修复了在键映射编辑器中记录和搜索独立修饰键绑定的问题。(#64537)
  • 修复了远程外部代理退出错误出现在代理的最终响应更新应用之前的问题。(#64603)
  • 修复了在线程侧边栏中点击终端线程时选择高亮闪烁的问题。(#64387)
  • 修复了来自不同扩展的代码片段针对同一种语言相互抵消的问题。(#58659; 感谢 LBF38)
  • 修复了在查看历史提交中的文件时,Markdown 强调、链接和代码块的语法高亮问题。(#64683; 感谢 Sudarsh1010)
  • 修复了当 lsp_results_location 设置为 "picker" 时,Command+单击符号会打开定义多缓冲区而不是选择器的问题。(#64039; 感谢 v-shevtsov)

Breaking Changes and Notices

重大更改和通知

  • Removed Stop controls from external-agent-managed terminals, which are controlled by the agent rather than a local process. (#64544)
  • Changed Threads Sidebar settings to agent.threads_sidebar.position, agent.threads_sidebar.default_width, and agent.threads_sidebar.auto_open, grouped together in the Settings Editor. Existing settings are migrated automatically. (#64395; thanks joshkent94)
  • Changed the shortcut for closing the active dock from cmd-w (macOS) or ctrl-w (Linux/Windows) to ctrl-alt-w on all platforms. (#64515)
  • 移除了由外部代理管理的终端中的停止控件,这些终端由代理控制而非本地进程。(#64544)
  • 将 Threads 侧边栏设置更改为 agent.threads_sidebar.position、agent.threads_sidebar.default_width 和 agent.threads_sidebar.auto_open,并在设置编辑器中分组显示。现有设置会自动迁移。(#64395;感谢 joshkent94)
  • 将所有平台上关闭活动停靠窗口的快捷键从 cmd-w(macOS)或 ctrl-w(Linux/Windows)更改为 ctrl-alt-w。(#64515)

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件