This week's release includes the ability to create a new worktree right from the sidebar's new-thread button, a new agent.terminal_init_command setting to automatically run a command when opening a new agent terminal thread, a workspace: reset pane sizes command to reset all panes to equal sizes, and new editor: select inside delimiters / editor: select around delimiters actions for expanding a selection through nested brackets and quotes.
Features
AI
- Sidebar: Enabled creating a new worktree from the sidebar's "new thread" icon button. (#59341)
- Sidebar: Improved the archive "Search all threads" view so you can filter by project name, not just by thread title — handy when many projects are open. (#58214; thanks KevinLaveto)
- Agent: Improved edit tool performance with a more succinct success response. (#59335)
- Agent: Improved scroll smoothness while a response is streaming. (#59002)
- Agent: Improved truncation of long configuration button labels for external agents. (#57808; thanks Bitaru)
- Agent: Added the
agent.terminal_init_commandsetting to automatically run a command when opening a new terminal thread in the agent panel. (#59374) - Agent: Pressing up in an empty agent message editor now brings back the last queued message for editing if there is one. (#58807)
- Improved agent panel markdown rendering: Single newlines within agent responses now render as line breaks, matching the convention used by GitHub comments and Obsidian. (#57376; thanks tredondo)
- Agent: Added the ability to grant agent terminal commands network access to specific hosts (rather than all-or-nothing), enforced by an allowlisting proxy. (#59220)
- Agent: Improved sandbox permission prompts to show the command being requested. (#59362, #59391)
- Agent: Improved agent terminal sandbox network permission handling. (#59385)
- Agent: Improved the agent panel's empty-state toolbar to show a "New {agent} Thread" placeholder title (or your draft prompt as you type), with a stable new-thread button on the right. (#59126)
- Added Anthropic-compatible provider support in settings. (#50381; thanks cppcoffee)
Git
- Added "View File" to the Git Panel context menu to open a changed file in the editor without a diff view. (#59383; thanks ahmedash95)
- Improved scrolling performance in diff views containing large hunks. (#58658)
- Improved placeholder copywriting in both the branch and worktree pickers to communicate it's possible to type-to-create each. (#59130)
- Improved the toast shown after
git: pushto always display the "Create Pull Request" button. (#53913) - Improved performance of git HEAD state resolution. (#59044; thanks lgeiger)
- Improved performance of git uncommit. (#59069; thanks lgeiger)
- Improved performance of listing git remotes. (#59053; thanks lgeiger)
- Improved performance of retrieving default git branch. (#59087; thanks lgeiger)
- Reduced git processes run on every file change. (#59042; thanks lgeiger)
- Reduced number of git operations when repository state changes outside of Zed. (#59318; thanks lgeiger)
Languages
- Prettier now reads the project's
.editorconfigfiles when formatting. (#59149; thanks matt-h) - REPL: Added a Stop button to notebook cells to interrupt the running kernel while a cell is executing. (#57093; thanks raideno)
Remote Development
- Added a
dev_container_use_buildkitsetting to build dev containers with the classic Docker builder for engines without an integrated BuildKit (e.g. Apple Container). (#59288; thanks tnayuki)
Other
- Added a
workspace: reset pane sizescommand that equalizes the sizes of all panes in the center group. (#59046; thanks 42piratas) - Added
editor: select inside delimitersandeditor: select around delimitersactions for selecting content within the nearest enclosing brackets, braces, parentheses, or quotes. Repeating the action expands the selection to the next enclosing pair. (#53789; thanks subeax) - Editor: Improved multi cursor editing performance. (#58510; thanks Rani367)
- Improved long filename truncation in the tab switcher and file finder so extensions remain visible. (#59072; thanks saberoueslati)
- Improved performance when searching in markdown preview. (#59473)
- Added the file icon to the breadcrumbs when the tab bar is hidden, if file icons are enabled for tabs. (#56267; thanks hron)
- Added a
zed: rebuild dev extensionaction to rebuild an installed dev extension from the command palette. (#55173; thanks tahayvr)
Bug Fixes
- ACP: Fixed failed permission requests for external agents. (#58537)
- Sidebar: Fixed a flicker when clicking on an empty draft thread. (#59342)
- macOS: Fixed fallback fonts missing weight/style. (#56771)
- (Preview only) Fixed an issue where auto compaction would not be triggered. (#59469)
- Fixed the "Loading Commit History..." message in the History tab being stuck on projects with empty or no repositories. (#58649; thanks Jeremy-Qian)
- Fixed
zed: open logandzed: reveal log in file managerappearing and erroring when Zed was launched directly from a terminal. These actions are now hidden in that scenario, since logs go to stdout rather than Zed's log file. (#57114; thanks tredondo) - Fixed a file descriptor leak on macOS. (#59128)
- Fixed a race condition that caused collab users to not receive/send any audio to their peers. (#59195)
- Fixed agent panel errors telling users to check their API key when the provider doesn't use one (Zed account, ChatGPT subscription). Permission errors also now show the provider's actual message. (#59119)
- Fixed agent terminal tool hanging with a
$prompt when commands encounter syntax errors or unsupported shell features like process substitution. (#59270; thanks procr1337) - Fixed agent threads failing to restore after quitting or updating Zed while a response was still in progress. (#58962)
- Fixed an issue where Git blame text would overlap with line numbers in the gutter. (#59008; thanks lingyaochu)
- Fixed an issue where splitting brackets inside line comments inserted an extra line and broke the comment formatting. (#59260; thanks lingyaochu)
- Fixed an issue where the worktree picker's "Remove Worktree from Window" button could act on the wrong worktree if the list updated at the moment of the click. (#59084)
- Fixed archiving an agent thread incorrectly deleting manually-created git worktrees. (#58275)
- Fixed a bug where Zed stopped watching changes to the
.gitdirectory if it was added to the project-localfile_scan_exclusions. (#57895; thanks AlvaroParker) - Fixed dark shadow and gradient artifacts in the agent panel and multibuffer headers when using a transparent or blurred window background. (#58981; thanks ebertn)
- Fixed dev container Dockerfiles not expanding build args written in the bare
$VARform. (#59280; thanks tnayuki) - Fixed dragged file mentions in the agent composer being appended to the end of the prompt instead of inserted at the cursor. (#55127; thanks saberoueslati)
- Fixed external agent servers and debug adapters leaking helper processes (e.g. node workers and MCP servers) on Windows. (#58885)
- Fixed file change events not reporting changed paths in remote projects. (#58157)
- Fixed ghost project appearing in the window project picker and sidebar when switching between local and remote projects. (#59272; thanks procr1337)
- Fixed horizontal scrollbars not being rendered behind buffer headers in split editors. (#53782; thanks cppcoffee)
- Fixed inline assistant prompt sometimes not appearing, or lingering after dismissal, when that line was soft-wrapped. (#59018)
- Fixed mermaid diagram labels overflowing and overlapping nodes when long labels wrap. (#59140)
- Fixed misalignment of column selection on rows that contain multi-byte characters. (#57097; thanks Dnreikronos)
- Fixed missing keybinding hints in the "Recent Projects" picker action button tooltips. (#59030)
- Fixed orphaned processes being leaked on macOS. (#59156)
- Fixed pasting text starting with a scheme-like prefix (such as
editor: ...) over a selection in a Markdown buffer incorrectly creating a Markdown link. (#59071; thanks TomPlanche) - Fixed pending subagent file changes being discarded when editing an earlier message in the agent panel. (#59060)
- Fixed renaming a folder with a dot in its name selecting only the part before the dot. (#59390; thanks IbrahimKhan12)
- Fixed settings input fields not clearing when a setting was reset to its default while the field was focused. (#59395)
- Fixed sticky scroll anchoring to unhelpful context rows for multiline signatures when symbol metadata provides a more precise name range. (#56333; thanks saberoueslati)
- Fixed the "Reopen in Dev Container" suggestion re-appearing in new git worktrees after choosing "Don't Show Again". (#58576)
- Fixed the active debug line color not updating when switching themes while the debugger is paused (#58736). (#59274; thanks Dnreikronos)
- Fixed the agent panel offering a thinking toggle for models that cannot run with thinking disabled. (#58980)
- Fixed the agent permission dialog's "Always Allow" action having no keybinding on macOS; it is now bound to
cmd-alt-y, matching Linux and Windows. (#58365; thanks wazer24) - Fixed the "Remote Projects" modal not being dismissed on "Open Folder" click. (#58889; thanks mateioprea)
- Fixed validation of
command_aliasessetting to avoid showing warnings when aliasing to an arbitrary string. (#57812) - Fixed project grouping for opened subdirectories that share the same parent Git repository. (#57998; thanks alisinabh)
- Fixed Markdown preview tabs not being restored when reopening a workspace. (#56972; thanks cbedard)
- Removed a dead link in the agent menu. (#59232)
- Removed the agent server chip from the extension UI search filter. (#59231)