v1.4.2
zed-industries/zedv1.4.2May 27, 2026by zed-zippy[bot]
AI Summary
This release introduces significant enhancements to the AI agent, including support for skills and global agent instructions via AGENTS.md, alongside improvements to Git diff views and Linux font rendering.
Key Highlights
- Added agent skills and global AGENTS.md file support.
- Improved Git diff view with base branch selection and keyboard shortcuts.
- Added support for image output from MCP tools and OAuth client pre-registration.
Breaking Changes
- Removed the rules library and replaced it with skills support.
- Replaced the `@rule` autocomplete entry with `@skill` in agent chat input.
New Features
- Agent skills support
- Global AGENTS.md file for user-wide instructions
- Base branch selection in branch diff view
- `editor: toggle all diff hunks` action
- Support for image output from MCP tools
- OAuth client pre-registration in MCP client
- `buffer_font_fallbacks` support on Linux
Full Release Notes
This week's release includes [support for agent skills](https://zed.dev/docs/ai/skills), a global `AGENTS.md` file for user-wide agent instructions, the ability to choose a base branch in the branch diff view, and a new `editor: toggle all diff hunks` action.
## Features
### AI
- Agent: Added support for skills.
- Agent: Added support for a global `AGENTS.md` file alongside `settings.json` for user-wide instructions that are included in every project’s system prompt. ([#56757](https://github.com/zed-industries/zed/pull/56757))
- Agent: Added commands to open global and project-specific `AGENTS.md` rules. ([#57847](https://github.com/zed-industries/zed/pull/57847))
- Agent: Added `agent: new terminal thread` for defining custom shortcuts to launch an Agent Panel terminal thread. ([#57400](https://github.com/zed-industries/zed/pull/57400))
- Agent: Added support for image output from MCP tools. ([#57134](https://github.com/zed-industries/zed/pull/57134))
- Agent: Added support for OAuth client pre-registration with a client ID and client secret in the built-in MCP client. ([#52900](https://github.com/zed-industries/zed/pull/52900))
- Agent: Improved file and skill mention disambiguation in the Agent Panel. ([#50097](https://github.com/zed-industries/zed/pull/50097); thanks [jmg-duarte](https://github.com/jmg-duarte), [#56926](https://github.com/zed-industries/zed/pull/56926))
- OpenCode: Updated available models and metadata, including reasoning support, image support, and token counts. ([#57076](https://github.com/zed-industries/zed/pull/57076); thanks [Vlaaaaaaad](https://github.com/Vlaaaaaaad))
### Git
- Added the ability to choose the base branch in the branch diff view. ([#56569](https://github.com/zed-industries/zed/pull/56569))
- Added keyboard shortcuts for switching between the Changes and History tabs: `cmd-1`/`cmd-2` on macOS and `ctrl-1`/`ctrl-2` on Linux/Windows. ([#56743](https://github.com/zed-industries/zed/pull/56743))
- Added `editor: toggle all diff hunks` to expand or collapse all diff hunks at once. ([#56421](https://github.com/zed-industries/zed/pull/56421))
- Improved the display of user avatars in Git-related surfaces. ([#56755](https://github.com/zed-industries/zed/pull/56755))
- Improved diff stats by formatting large line counts with thousand separators. ([#56754](https://github.com/zed-industries/zed/pull/56754))
- Added the `git.show_stage_restore_buttons` setting to hide Stage/Restore buttons on diff hunks. ([#56740](https://github.com/zed-industries/zed/pull/56740))
### Languages
- Added runnables for C++. ([#57161](https://github.com/zed-industries/zed/pull/57161); thanks [Helmutt03](https://github.com/Helmutt03))
### Linux
- Added support for `buffer_font_fallbacks` on Linux. ([#54878](https://github.com/zed-industries/zed/pull/54878); thanks [Albab-Hasan](https://github.com/Albab-Hasan))
- Improved the first mouse-driven text copy action on Wayland. ([#50406](https://github.com/zed-industries/zed/pull/50406); thanks [soundslocke](https://github.com/soundslocke))
### Other
- Added `markdown_preview_code_font_family` to override the code font in the markdown preview. ([#56744](https://github.com/zed-industries/zed/pull/56744); thanks [wln](https://github.com/wln))
- Improved CSV preview with column pinning to keep identifiers visible while scrolling. ([#56619](https://github.com/zed-industries/zed/pull/56619); thanks [HalavicH](https://github.com/HalavicH))
- Improved restricted mode by making it more obvious and requiring immediate action when opening an untrusted project. ([#57056](https://github.com/zed-industries/zed/pull/57056))
- Improved truncated text labels so they no longer show trailing spaces or punctuation before the ellipsis. ([#57106](https://github.com/zed-industries/zed/pull/57106))
## Bug Fixes
- Agent: Fixed image output from tools not being reloaded when restoring a thread. ([#57143](https://github.com/zed-industries/zed/pull/57143))
- MCP OAuth: Fixed authentication failing when an MCP server returned a broken metadata URL. ([#53502](https://github.com/zed-industries/zed/pull/53502))
- MCP OAuth: Fixed OAuth client registration failing with some MCP servers. ([#53501](https://github.com/zed-industries/zed/pull/53501))
- Fixed AI completions from OpenAI-compatible providers failing when token usage details were missing. ([#55919](https://github.com/zed-industries/zed/pull/55919); thanks [marius851000](https://github.com/marius851000))
- Git Graph: Fixed breakage that occurred when Git’s `log.showSignature` setting was enabled. ([#55708](https://github.com/zed-industries/zed/pull/55708); thanks [toddlerer](https://github.com/toddlerer))
- OpenAI: Fixed an issue where error messages would not appear properly. ([#57750](https://github.com/zed-industries/zed/pull/57750))
- Fixed certain ACP registry agents not cleaning up old versions. ([#55290](https://github.com/zed-industries/zed/pull/55290); thanks [cppcoffee](https://github.com/cppcoffee))
- Fixed some Gemini tool calls failing because Zed could send incomplete tool schemas. ([#57160](https://github.com/zed-industries/zed/pull/57160))
- Fixed a bug where using Gemini with certain tools, especially via MCP, resulted in "Invalid JSON payload received" errors due to incompatible JSON schema formats. ([#49292](https://github.com/zed-industries/zed/pull/49292); thanks [dastrobu](https://github.com/dastrobu))
- Fixed `zed --new ssh://host/path` reusing an existing SSH window instead of opening a new one. This also applied to other URL-shaped path arguments. ([#54408](https://github.com/zed-industries/zed/pull/54408))
- Fixed a bug where non-ASCII characters in diagnostic messages were incorrectly rendered with spurious `\` characters. ([#55782](https://github.com/zed-industries/zed/pull/55782); thanks [alkinun](https://github.com/alkinun))
- Fixed a crash in GPUI when typing into an Input widget inside a cached view ([#50456](https://github.com/zed-industries/zed/issues/50456)). ([#50665](https://github.com/zed-industries/zed/pull/50665); thanks [xcb3d](https://github.com/xcb3d))
- Fixed a panic that could occur when streaming in text with the `edit_file` tool. ([#57100](https://github.com/zed-industries/zed/pull/57100))
- Fixed a panic when loading certain Tree-sitter grammars containing supertypes. ([#57183](https://github.com/zed-industries/zed/pull/57183))
- Fixed a rare panic that could occur when lines in the editor contained many invisible characters. ([#57137](https://github.com/zed-industries/zed/pull/57137))
- Fixed agent edits sometimes not getting auto-accepted when they were committed. ([#56892](https://github.com/zed-industries/zed/pull/56892))
- Fixed the agent erroring when using Copilot as a provider and switching between OpenAI and Anthropic models. ([#56655](https://github.com/zed-industries/zed/pull/56655))
- Fixed bash syntax highlighting for conditional expressions, arithmetic expressions, and related operators. ([#56484](https://github.com/zed-industries/zed/pull/56484); thanks [terror](https://github.com/terror))
- Fixed the activity indicator in the status bar not opening a menu with items to cancel running actions. ([#56865](https://github.com/zed-industries/zed/pull/56865))
- Fixed commit title length checks miscounting multi-byte characters as multiple characters. ([#57025](https://github.com/zed-industries/zed/pull/57025); thanks [koxya](https://github.com/koxya))
- Fixed context server availability updates when a new worktree is added to or removed from a project. ([#51244](https://github.com/zed-industries/zed/pull/51244); thanks [rioriost](https://github.com/rioriost))
- Fixed importing the VS Code setting `files.simpleDialog.enable` with the opposite value. ([#55678](https://github.com/zed-industries/zed/pull/55678); thanks [Earlopain](https://github.com/Earlopain))
- Fixed macOS Cmd-E/Cmd-G find behavior so Cmd-E seeds find from the cursor or selection and Cmd-G advances through the newly seeded matches. ([#56681](https://github.com/zed-industries/zed/pull/56681))
- Fixed markdown preview content being clipped past the pane edge when the buffer search bar is open. ([#55009](https://github.com/zed-industries/zed/pull/55009); thanks [tkilaker](https://github.com/tkilaker))
- Fixed Mermaid diagrams not rendering with the default UI typeface. ([#56695](https://github.com/zed-industries/zed/pull/56695))
- Fixed npm-backed tool installs to better respect npm release-age filters. ([#56957](https://github.com/zed-industries/zed/pull/56957))
- Fixed pressing "New Thread" or `cmd-n` doing nothing when the Agent Panel's Settings view was open. ([#56818](https://github.com/zed-industries/zed/pull/56818))
- Fixed running Zed on Ubuntu 20.04 installed via the installer by bundling the required `libstdc++.so`. ([#57132](https://github.com/zed-industries/zed/pull/57132))
- Fixed Settings UI search returning unrelated results for multi-word queries. ([#56835](https://github.com/zed-industries/zed/pull/56835))
- Fixed the `agent: toggle profile selector` keybinding being ignored while the agent was generating a response. ([#56784](https://github.com/zed-industries/zed/pull/56784); thanks [Rfluid](https://github.com/Rfluid))
- Fixed the Agent Panel’s @-mention menu not appearing when `@` immediately follows `(`, `[`, or `{`. ([#55504](https://github.com/zed-industries/zed/pull/55504))
- Fixed tool paths preferring files in subdirectories named after the project root. ([#56230](https://github.com/zed-industries/zed/pull/56230); thanks [procr1337](https://github.com/procr1337))
- Fixed UI freezes on Linux (Wayland) with certain GPU/driver combinations. ([#57077](https://github.com/zed-industries/zed/pull/57077); thanks [higorprado](https://github.com/higorprado))
- Fixed text selection not always matching the mouse position in markdown blocks in the Agent Panel. ([#56861](https://github.com/zed-industries/zed/pull/56861); thanks [timvermeulen](https://github.com/timvermeulen))
- Fixed `zed://` links focusing Zed and improved handling of `zed://agent` links. ([#57047](https://github.com/zed-industries/zed/pull/57047))
- Fixed `workspace: open files` ignoring the Project Panel's `sort_mode` setting. ([#56720](https://github.com/zed-industries/zed/pull/56720); thanks [hron](https://github.com/hron))
- Fixed undo behavior after accepting LSP completions, so completions and their additional edits are reverted together. ([#53980](https://github.com/zed-industries/zed/pull/53980); thanks [HuaGu-Dragon](https://github.com/HuaGu-Dragon))
- Fixed the Python REPL UI not populating correctly in remote projects. ([#54709](https://github.com/zed-industries/zed/pull/54709); thanks [MostlyKIGuess](https://github.com/MostlyKIGuess))
- Removed code lens blocks from diff views to fix broken background highlights. ([#56726](https://github.com/zed-industries/zed/pull/56726))
- Fixed "speed: Extra inputs are not permitted" errors for Opus 4.6 and 4.7 in the Anthropic API provider. ([#57707](https://github.com/zed-industries/zed/pull/57707))
- Fixed code lens flickering when no commands were resolved. ([#57790](https://github.com/zed-industries/zed/pull/57790))
## Breaking Changes and Notices
- Removed the rules library and replaced it with skills support.
- Replaced the `@rule` autocomplete entry with `@skill` in the agent chat input. ([#56902](https://github.com/zed-industries/zed/pull/56902))