Zed v0.228.0 introduces AI-assisted merge conflict resolution, branch diff @-mentions for agent context, SSH worktree management, and extension settings schemas alongside over 40 stability and platform fixes. It also includes breaking configuration updates to the auto_indent setting and removes the deprecated Gemini 3 Pro Preview model with automatic migration to Gemini 3.1 Pro.
Upgrade to leverage branch diff @-mentions, agent-driven merge conflict resolution, and remote SSH worktree management, while updating any custom auto_indent settings to use syntax_aware, preserve_indent, or none.
📊 Product & Engineering Leads
This release accelerates AI-assisted coding and Git workflow velocity while resolving key reliability issues across Windows, Linux, remote development, and extension ecosystems.
⚙️ DevOps & Security
While there are no CI/CD or hosting changes, teams supporting Linux, Nix, and remote SSH developer environments benefit from aarch64-Linux segfault fixes, Nix audio crash fixes, and remote conda environment activation.
⚠️ Breaking Changes & Deprecations (1)
Breaking Changes and Notices - Agent: Removed deprecated Gemini 3 Pro Preview model; existing configurations automatically migrate to Gemini 3.1 Pro. ([#50503](https://github.com/zed-industries/zed/pull/50503))
✨ New Features & Capabilities (10)
Agent: Added @-mention support for branch diffs to include all changes since main as context.
Agent: Enabled thinking mode when using Anthropic models with Copilot.
Agent: Added Paste as Plain Text to the agent panel message editor right-click menu.
Agent: Added api_url and api_key configuration settings for the LM Studio provider.
Git: Added quick merge conflict resolution using the agent.
Git: Added ability to delete a git worktree from the worktree picker (cmd-shift-backspace on macOS, ctrl-shift-backspace on Linux/Windows).
Git: Added support for removing and renaming worktrees over SSH connections.
Git: Added the git: restore and next action, now bound by default to cmd-alt-z (macOS) and ctrl-k ctrl-r (Linux/Windows) in the git diff view.
Extensions: Added kernel_language_names field in language configs for declaring Jupyter kernel language aliases.
Extensions: Added an API for extensions to provide settings schemas for language server settings autocompletion.
⚡ Performance & Enhancements (2)
Markdown Preview: Improved update speed for markdown lists after checking or unchecking items.
Editor: Updated the auto_indent setting to support three explicit modes: syntax_aware, preserve_indent, and none.
🔧 Bug Fixes & Patches (5)
Windows: Fixed opening files with names like main (1).log, IME intercepting keystrokes in Vim normal/visual modes, and environment variables failing to load when project paths contain single quotes.
Agent: Fixed hover Copy Command button visibility on terminal tool calls, shift-enter newline placement, opening shared thread URLs, subagent focus behavior, unsupported ACP method errors for external agents, and MCP/AI Settings visibility when AI features are disabled.
Crashes and panics: Fixed an aarch64-Linux runtime segfault in static constructors, Nix Linux audio crashes, LiveKit legacy audio channel panics, SSH server deletion crashes, helix mode search wrap panics, diff hunk staging panics, and deeply nested HTML markdown stack overflows.
Editor and LSP: Fixed multibuffer on_focus_change autosave, stale buffer content on undo after external edits, newline insertion in read-only editors, formatter: "auto" fallback across language servers, pylsp detection, and missing ty completion labels in remote development.
Terminal, Debugger, and UI: Fixed vertical terminal drag-and-drop, remote conda auto-activation, ctrl-click paths prefixed with 0:, Python debugger string escape rendering, Markdown Preview scrollbars and parser options, and Project Panel conflicting file moves and scrolling.
❓ Frequently Asked Questions
Does Zed v0.228.0 contain breaking changes?
Yes. The release changes the auto_indent setting to require one of three modes (syntax_aware, preserve_indent, or none), removes the deprecated Gemini 3 Pro Preview model (automatically migrating configurations to Gemini 3.1 Pro), and remaps the default git diff restore keybinding from git: restore to git: restore and next.
What is the primary highlight of v0.228.0?
The main highlights center on tighter AI and Git integration, including agent-assisted merge conflict resolution, @-mentioning branch diffs for context since main, and deleting or renaming git worktrees directly from the picker or over SSH.
How should teams prepare to upgrade to v0.228.0?
Review editor settings for auto_indent to ensure compatibility with the new syntax_aware, preserve_indent, or none modes, confirm that workflows using Gemini 3 Pro Preview transition cleanly to Gemini 3.1 Pro, and note the updated git: restore and next behavior on the default git diff restore shortcut.
📄 View Raw Release Notes (Original Developer Log)
This week's release includes the ability to easily ask the agent to resolve merge conflicts, @-mentioning your branch diff to provide all changes since main as context, removing/renaming worktrees over SSH, and deleting worktrees via the branch picker.
## Features
### AI
- Agent: Added ability to @-mention your branch diff to include all changes since main as context. ([#51235](https://github.com/zed-industries/zed/pull/51235))
- Agent: Enabled thinking mode when using Anthropic models with Copilot. ([#46540](https://github.com/zed-industries/zed/pull/46540))
- Agent: Added `Paste as Plain Text` to the agent panel message editor right-click menu. ([#50625](https://github.com/zed-industries/zed/pull/50625))
- Agent: Added `api_url` and `api_key` settings for the LM Studio provider. ([#48309](https://github.com/zed-industries/zed/pull/48309); thanks [SkyVence](https://github.com/SkyVence))
### Git
- Added the ability to quickly resolve merge conflicts with the agent. ([#49807](https://github.com/zed-industries/zed/pull/49807))
- Added the ability to delete a git worktree from the worktree picker (`cmd-shift-backspace` on macOS, `ctrl-shift-backspace` on Linux/Windows). ([#50015](https://github.com/zed-industries/zed/pull/50015); thanks [davidalecrim1](https://github.com/davidalecrim1))
- Added support for removing and renaming worktrees when connected via SSH. ([#50759](https://github.com/zed-industries/zed/pull/50759))
- Added a `git: restore and next` action that restores the diff hunk at the cursor and conditionally moves to the next one. In the git diff view, the default restore keybinding (`cmd-alt-z` on macOS, `ctrl-k ctrl-r` on Linux/Windows) now triggers this action instead of `git: restore`. ([#50324](https://github.com/zed-industries/zed/pull/50324))
### Other
- Markdown Preview: Improved speed at which markdown lists update after checking or unchecking items. ([#48633](https://github.com/zed-industries/zed/pull/48633); thanks [wesleynw](https://github.com/wesleynw))
- Extensions: Added `kernel_language_names` field for declaring Jupyter kernel language aliases in language configs. ([#49762](https://github.com/zed-industries/zed/pull/49762); thanks [rgbkrk](https://github.com/rgbkrk))
- Extensions: Added API for extensions to provide settings schemas, enabling autocompletion for language server settings. ([#48334](https://github.com/zed-industries/zed/pull/48334); thanks [aviatesk](https://github.com/aviatesk))
## Bug Fixes
- Windows: Fixed opening files with names like `main (1).log`. ([#50770](https://github.com/zed-industries/zed/pull/50770); thanks [hagz0r](https://github.com/hagz0r))
- Windows: Fixed IME intercepting keystrokes in Vim normal and visual modes. ([#51041](https://github.com/zed-industries/zed/pull/51041))
- Windows: Fixed environment variables failing to load when project paths contain single quotes. ([#50782](https://github.com/zed-industries/zed/pull/50782); thanks [AmaanBilwar](https://github.com/AmaanBilwar))
- Agent: Fixed an issue where the `Copy Command` button would not appear on hover for terminal tool calls. ([#51191](https://github.com/zed-industries/zed/pull/51191); thanks [OmChillure](https://github.com/OmChillure))
- Agent: Fixed an issue where `shift-enter` would insert a newline at the end of the text instead of the cursor position when using certain keymaps. ([#47595](https://github.com/zed-industries/zed/pull/47595); thanks [dastrobu](https://github.com/dastrobu))
- Agent: Fixed an issue where shared agent thread URLs would not open. ([#50915](https://github.com/zed-industries/zed/pull/50915))
- Agent: Fixed inconsistent behavior for subagent views when focusing on previous messages. ([#51654](https://github.com/zed-industries/zed/pull/51654))
- Agent: Fixed an issue where external agents would return an error because an unsupported ACP method was called. ([#51479](https://github.com/zed-industries/zed/pull/51479))
- Terminal: Fixed drag-and-drop not working in vertical terminal panels. ([#49825](https://github.com/zed-industries/zed/pull/49825); thanks [claiwe](https://github.com/claiwe))
- Debugger: Fixed Python string values displaying escape sequences instead of actual characters. ([#50554](https://github.com/zed-industries/zed/pull/50554))
- Markdown Preview: Fixed code block scrollbars flashing on vertical scroll. ([#50817](https://github.com/zed-industries/zed/pull/50817); thanks [cppcoffee](https://github.com/cppcoffee))
- Markdown Preview: Fixed parser options being enabled collectively instead of individually, which caused rendering issues. ([#50440](https://github.com/zed-industries/zed/pull/50440))
- Extensions: Fixed overflowing of author's list. ([#51045](https://github.com/zed-industries/zed/pull/51045); thanks [francesco-gaglione](https://github.com/francesco-gaglione))
- Fixed `project panel: reveal in file manager` to work even when no project panel entry is selected. ([#50866](https://github.com/zed-industries/zed/pull/50866); thanks [loadingalias](https://github.com/loadingalias))
- Fixed a panic in LiveKit when joining a channel using legacy audio with a device that has fewer or more than 2 channels. ([#51276](https://github.com/zed-industries/zed/pull/51276))
- Fixed a potential crash when deleting SSH servers too eagerly. ([#51091](https://github.com/zed-industries/zed/pull/51091))
- Fixed ability to select audio input/output devices for legacy (non-experimental/rodio-enabled) audio. ([#51128](https://github.com/zed-industries/zed/pull/51128))
- Fixed agent panel stealing keyboard focus from modals during workspace restoration. ([#50511](https://github.com/zed-industries/zed/pull/50511); thanks [Dnreikronos](https://github.com/Dnreikronos))
- Fixed an issue in the Project Panel where conflicting file moves could overwrite each other instead of leaving the losing file in place. ([#51090](https://github.com/zed-industries/zed/pull/51090))
- Fixed an issue where `"autosave": "on_focus_change"` would not reliably work in multibuffers. ([#50686](https://github.com/zed-industries/zed/pull/50686); thanks [OmChillure](https://github.com/OmChillure))
- Fixed an issue where buffer content could become stale after undoing edits when an external tool wrote to the file while the buffer was dirty. ([#51037](https://github.com/zed-industries/zed/pull/51037); thanks [lex00](https://github.com/lex00))
- Fixed an issue where newlines could be inserted into read-only editors. ([#50804](https://github.com/zed-industries/zed/pull/50804))
- Fixed clicking on non-selectable picker entries (e.g. section headers) confirming the currently selected item. ([#50705](https://github.com/zed-industries/zed/pull/50705); thanks [Dnreikronos](https://github.com/Dnreikronos))
- Fixed conda environment not auto-activating in the terminal during remote development sessions. ([#50895](https://github.com/zed-industries/zed/pull/50895); thanks [lingyaochu](https://github.com/lingyaochu))
- Fixed detection of when `pylsp` is not installed properly on a user's system so that it doesn't get launched as an LSP when it doesn't exist. ([#51034](https://github.com/zed-industries/zed/pull/51034); thanks [rgbkrk](https://github.com/rgbkrk))
- Fixed missing labels for `ty` completion items in remote development. ([#50697](https://github.com/zed-industries/zed/pull/50697); thanks [lingyaochu](https://github.com/lingyaochu))
- Fixed crash reporter metadata collection. ([#50728](https://github.com/zed-industries/zed/pull/50728))
- Fixed crash when trying to join a channel/test audio on Nix-built Zed on Linux. ([#50743](https://github.com/zed-industries/zed/pull/50743))
- Fixed default settings and default key bindings reopening duplicate tabs instead of reusing the existing tab. ([#51053](https://github.com/zed-industries/zed/pull/51053); thanks [ishaksebsib](https://github.com/ishaksebsib))
- Fixed docs search results scrolling with arrow keys. ([#50901](https://github.com/zed-industries/zed/pull/50901); thanks [implabinash](https://github.com/implabinash))
- Fixed mouse cursor disappearing when clicking a changed file in the Git Changes panel. ([#51016](https://github.com/zed-industries/zed/pull/51016))
- Fixed project panel empty area showing a non-functional scrollbar; scrolling now works from anywhere in the panel. ([#50683](https://github.com/zed-industries/zed/pull/50683); thanks [virajbhartiya](https://github.com/virajbhartiya))
- Fixed some error messages in OpenAI/Copilot Chat conversations that were using the Debug representation. ([#50824](https://github.com/zed-industries/zed/pull/50824))
- Fixed terminal `ctrl-click` path detection failing when path is preceded by a prefix like `0:`. ([#50663](https://github.com/zed-industries/zed/pull/50663); thanks [xcb3d](https://github.com/xcb3d))
- Fixed the `View AI Settings` button being visible on the Welcome page despite AI features being disabled in settings. ([#50941](https://github.com/zed-industries/zed/pull/50941); thanks [OmChillure](https://github.com/OmChillure))
- Fixed Zed connecting to MCP servers when AI is disabled. ([#47857](https://github.com/zed-industries/zed/pull/47857); thanks [oliverbarnes](https://github.com/oliverbarnes))
- Fixed `editor: toggle comments` to include a trailing space in Git Commit, Go Mod, and Go Work files. ([#51033](https://github.com/zed-industries/zed/pull/51033); thanks [injust](https://github.com/injust))
- Fixed `formatter: "auto"` silently failing instead of trying other language servers when the first one doesn't support formatting. ([#50661](https://github.com/zed-industries/zed/pull/50661); thanks [Dnreikronos](https://github.com/Dnreikronos))
- Fixed links being highlighted when pressing modifier keys while the mouse cursor is hidden. ([#50424](https://github.com/zed-industries/zed/pull/50424); thanks [nishanthkarthik](https://github.com/nishanthkarthik))
- Fixed a panic in helix mode with search selecting wrapping around the document end. ([#51642](https://github.com/zed-industries/zed/pull/51642))
- Fixed a source of panics when staging diff hunks. ([#51641](https://github.com/zed-industries/zed/pull/51641))
- Fixed a stack overflow when parsing deeply nested HTML in markdown files. ([#51637](https://github.com/zed-industries/zed/pull/51637))
- Fixed commit message generation in untrusted repositories. ([#51323](https://github.com/zed-industries/zed/pull/51323))
- Fixed segfault at runtime on aarch64-Linux when running static constructors. ([#51771](https://github.com/zed-industries/zed/pull/51771))
## Breaking Changes and Notices
- Agent: Removed deprecated Gemini 3 Pro Preview model; existing configurations automatically migrate to Gemini 3.1 Pro. ([#50503](https://github.com/zed-industries/zed/pull/50503))
- Changed `auto_indent` setting to support three modes: `syntax_aware` (syntax-aware indentation), `preserve_indent` (keeps current line's indentation), and `none` (no automatic indentation). ([#47751](https://github.com/zed-industries/zed/pull/47751); thanks [oliverbarnes](https://github.com/oliverbarnes))