v1.7.2

obra/superpowersv1.7.2Jun 17, 2026by zed-zippy[bot]

AI Summary

A feature-rich update focused on AI Agent capabilities, including context compaction and skills management, alongside significant Git workflow improvements and Markdown preview styling upgrades.

Key Highlights

  • AI Agent auto-compaction and manual `/compact` command
  • Custom git commands on branches/tags via `$ZED_GIT_REF`
  • Improved Markdown preview styling for better readability
  • Skills management moved into the settings UI
  • Performance improvements for diffs and large buffers

New Features

  • Agent context compaction and thread import flow improvements
  • Custom git commands context menu for refs
  • Markdown block quote toggle action
  • Clickable `zed://` links in the terminal
  • Settings window scope picker for User/Project settings

Full Release Notes

This week's release includes automatic agent context compaction that you can also trigger manually with the new `/compact` command, cleaner and more legible Markdown preview styling, and support for running custom git commands on git graph branches and tags.

## Features

### AI

- Agent: Added auto-compaction and `/compact` to Zed Agent. ([#58931](https://github.com/zed-industries/zed/pull/58931))
- Agent: Improved agent skills management by moving it into the settings UI. ([#58701](https://github.com/zed-industries/zed/pull/58701))
- Agent: Improved how we communicate problems relative to skills, in both the agent panel and the settings UI. ([#58838](https://github.com/zed-industries/zed/pull/58838))
- Agent: Improved the UX of the thread import flow. ([#57791](https://github.com/zed-industries/zed/pull/57791))
- Agent: Improved auto scroll location when using read-file tool. ([#58640](https://github.com/zed-industries/zed/pull/58640); thanks [liigo](https://github.com/liigo))
- Agent: Show context window usage and cost metrics for external agents that support it. ([#58680](https://github.com/zed-industries/zed/pull/58680))
- Agent: Allow deleting sessions from history for external agents that support it. ([#58680](https://github.com/zed-industries/zed/pull/58680))
- Agent: Allow loading skills whose descriptions exceed the 1024-byte limit by showing warnings instead of failing to load them. ([#58356](https://github.com/zed-industries/zed/pull/58356))
- Agent: Removed the misleading "Always allow" button from agent permission prompts for edits to the agent skills directory, since those edits always require confirmation. ([#58463](https://github.com/zed-industries/zed/pull/58463))
- Agent: Updated OpenCode models (added MiniMax M3, Qwen 3.7 Plus, DeepSeek V4 Flash, MiniMax M3 Free, and Nemotron 3 Ultra Free; removed Nemotron 3 Super Free, Qwen 3.5 Plus; updated MiniMax M2.7, MiniMax M2.5, Qwen 3.6 Plus). ([#58743](https://github.com/zed-industries/zed/pull/58743); thanks [Vlaaaaaaad](https://github.com/Vlaaaaaaad))

### Git

- Added a context menu for ref labels (branches, remote refs, and tags) in the git graph that runs custom git commands against the clicked ref, available as `$ZED_GIT_REF` (e.g. `git checkout $ZED_GIT_REF`). ([#58781](https://github.com/zed-industries/zed/pull/58781); thanks [aobatact](https://github.com/aobatact))
- Improved commit details changed-file lists with an optional tree view. ([#58198](https://github.com/zed-industries/zed/pull/58198); thanks [chirivelli](https://github.com/chirivelli))
- Added `Add to .git/info/exclude` option under a new `Git` submenu in the project panel and git panel context menus, alongside the existing `Add to .gitignore` action. ([#57044](https://github.com/zed-industries/zed/pull/57044); thanks [TomPlanche](https://github.com/TomPlanche))
- Added a button to the git worktree picker to remove an open worktree from the current window. ([#58996](https://github.com/zed-industries/zed/pull/58996))
- Improved worktree navigation UX when a given project has more than one loaded. ([#58555](https://github.com/zed-industries/zed/pull/58555))
- Warnings about the lengths of commit message titles are now disabled by default. ([#58960](https://github.com/zed-industries/zed/pull/58960))
- Reduced short commit SHAs in blame and commit tooltips from 8 to 7, consistent with the graph and history views. ([#58741](https://github.com/zed-industries/zed/pull/58741); thanks [albertbogusz](https://github.com/albertbogusz))
- Improved scrolling performance in diff views containing large hunks with many computed word diffs. ([#58639](https://github.com/zed-industries/zed/pull/58639))
- Improved the performance of the project diff, especially in the presence of merge conflicts. ([#57859](https://github.com/zed-industries/zed/pull/57859))
- Added icon for the Chromium code review remote provider. ([#57713](https://github.com/zed-industries/zed/pull/57713); thanks [hferreiro](https://github.com/hferreiro))
- Added the SourceHut remote icon. ([#58668](https://github.com/zed-industries/zed/pull/58668); thanks [medzernik](https://github.com/medzernik))

### Languages

- Improved markdown preview styles, making it more legible and easier to parse. ([#58465](https://github.com/zed-industries/zed/pull/58465))
- LSP: Improved Zed's memory usage when a language server emits messages faster than the foreground thread can handle them. ([#58867](https://github.com/zed-industries/zed/pull/58867))
- Improved `editor: go to definition` to avoid repeatedly querying the language server while moving the mouse over the same symbol or an unresolved position. ([#58429](https://github.com/zed-industries/zed/pull/58429))
- Added a `markdown: toggle block quote` action. ([#58383](https://github.com/zed-industries/zed/pull/58383))
- Added support for surrounding selected Markdown text with `~` by typing `~`. ([#58614](https://github.com/zed-industries/zed/pull/58614))
- Improved indentation for C/C++ to be more consistent. ([#58740](https://github.com/zed-industries/zed/pull/58740); thanks [Helmutt03](https://github.com/Helmutt03))
- Added the ability to stylize built-in Python exceptions and warnings using the `type.class.builtin` syntax capture. ([#58176](https://github.com/zed-industries/zed/pull/58176); thanks [allachance](https://github.com/allachance))
- Detected `.envrc` files as Shell Script. ([#58573](https://github.com/zed-industries/zed/pull/58573); thanks [injust](https://github.com/injust))
- Dropped `fish` from `modeline_aliases`, which forced the file to be detected as Shell Script instead of Fish. ([#58550](https://github.com/zed-industries/zed/pull/58550))

### Terminal

- Made `zed://` links clickable in the terminal. ([#58910](https://github.com/zed-industries/zed/pull/58910); thanks [r4victor](https://github.com/r4victor))

### Vim / Helix

- Disabled the IME in Vim normal and visual modes on Linux Wayland. ([#58237](https://github.com/zed-industries/zed/pull/58237); thanks [feeiyu](https://github.com/feeiyu))

### Collaboration

- Improved call controls design, making it clearer what button shares _the project_ vs. _the screen_. ([#58691](https://github.com/zed-industries/zed/pull/58691))

### Other

- Improved the settings window: Sub-pages such as Skills and per-language settings now have a scope picker in the breadcrumb, so you can switch between User and project settings without leaving the page. ([#58698](https://github.com/zed-industries/zed/pull/58698))
- Improved the performance of applying edits to large buffers. ([#58681](https://github.com/zed-industries/zed/pull/58681))
- Added `default_open_behavior`, which controls which action (add to sidebar/open in new window) should be the default when selecting a project from the recent projects menu. ([#58805](https://github.com/zed-industries/zed/pull/58805))
- Improved dev extension installation times for language extensions with multiple grammars or language servers. ([#55160](https://github.com/zed-industries/zed/pull/55160))
- Outline: Improved symbol search with more consistent fuzzy matching and support for multi-term queries. ([#56477](https://github.com/zed-industries/zed/pull/56477); thanks [feitreim](https://github.com/feitreim))

## Bug Fixes

- Agent: Fix for current agent not being selected when creating a new git worktree. ([#58636](https://github.com/zed-industries/zed/pull/58636))
- Agent: Fixed the scrollbar appearing on wrapped code blocks in the agent chat. ([#58472](https://github.com/zed-industries/zed/pull/58472); thanks [albertbogusz](https://github.com/albertbogusz))
- Sidebar: Fixed a bug where affordances to collapse the project header would appear when searching. ([#58696](https://github.com/zed-industries/zed/pull/58696))
- Sidebar: Fixed bracketed ellipsis title prefixes (such as `[...]`) not rendering the ellipsis icon. ([#58269](https://github.com/zed-industries/zed/pull/58269))
- Fixed a bug that caused the project icons to render in the recent projects picker. ([#57940](https://github.com/zed-industries/zed/pull/57940))
- Fixed a bug where diff hunk controls were being displayed in the non-editable commit view multibuffer. ([#58514](https://github.com/zed-industries/zed/pull/58514); thanks [chirivelli](https://github.com/chirivelli))
- Fixed a bug where the update version button would be stuck in the "Downloading..." step. ([#58435](https://github.com/zed-industries/zed/pull/58435))
- Fixed a crash that could occur when restoring an agent terminal in a remote project. ([#58533](https://github.com/zed-industries/zed/pull/58533))
- Fixed a crash when splitting a pane containing a commit view. ([#58853](https://github.com/zed-industries/zed/pull/58853))
- Fixed a freeze on Linux Wayland when reading the clipboard from a slow or unresponsive application. ([#58826](https://github.com/zed-industries/zed/pull/58826))
- Fixed a memory leak when restarting a language server while the LSP log view was tracking it. ([#58866](https://github.com/zed-industries/zed/pull/58866))
- Fixed a race where LLM and edit prediction requests made immediately after switching organizations could be attributed to the previously selected organization. ([#58915](https://github.com/zed-industries/zed/pull/58915))
- Fixed a rare crash that could occur while using the uncommitted diff. ([#58266](https://github.com/zed-industries/zed/pull/58266))
- Fixed a UI freeze that could occur when installing auto-updates. ([#58767](https://github.com/zed-industries/zed/pull/58767); thanks [lingyaochu](https://github.com/lingyaochu))
- Fixed a workspace restoration issue where Zed would restore a window with none of its projects opened by default. ([#58392](https://github.com/zed-industries/zed/pull/58392))
- Fixed an issue with project search on Windows where multiline string searches would not work correctly due to newline differences. ([#58628](https://github.com/zed-industries/zed/pull/58628))
- Fixed clicks on titlebar controls being delayed on the macOS 27 beta. ([#58947](https://github.com/zed-industries/zed/pull/58947))
- Fixed conflicts disappearing too quickly from the project diff when editing. ([#57859](https://github.com/zed-industries/zed/pull/57859))
- Fixed conflicts sometimes taking a while to appear in the project diff during large merges. ([#57859](https://github.com/zed-industries/zed/pull/57859))
- Fixed crash on newline below with a cursor on a deleted line of a diff. ([#58542](https://github.com/zed-industries/zed/pull/58542))
- Fixed cursor styles, such as the pointer cursor, not applying to floating windows, dialogs, and popups. ([#58493](https://github.com/zed-industries/zed/pull/58493); thanks [madcodelife](https://github.com/madcodelife))
- Fixed debugging Rust tests in nested modules sometimes immediately exiting with "0 tests matched". ([#54787](https://github.com/zed-industries/zed/pull/54787))
- Fixed diagnostic navigation triggering unnecessary LSP requests when edit predictions are disabled. ([#56055](https://github.com/zed-industries/zed/pull/56055); thanks [aviatesk](https://github.com/aviatesk))
- Fixed feature-flag-gated tools (such as the LSP tools) being listed in agent profile configuration when they could not actually be used by the agent. ([#58581](https://github.com/zed-industries/zed/pull/58581); thanks [rabbiveesh](https://github.com/rabbiveesh))
- Fixed file hyperlinks in the agent panel not opening files when clicked. ([#56024](https://github.com/zed-industries/zed/pull/56024))
- Fixed files and directories disappearing from a worktree when renamed in a project opened through a symlinked root. ([#58624](https://github.com/zed-industries/zed/pull/58624); thanks [tankztz](https://github.com/tankztz))
- Fixed format selections not being available for cursor ranges when the active formatter supports range formatting. ([#56571](https://github.com/zed-industries/zed/pull/56571); thanks [terror](https://github.com/terror))
- Fixed git graph loading forever for empty repositories. ([#58959](https://github.com/zed-industries/zed/pull/58959))
- Fixed Git UI not refreshing on Linux for repositories using the reftable backend. ([#58719](https://github.com/zed-industries/zed/pull/58719); thanks [albertbogusz](https://github.com/albertbogusz))
- Fixed Helix mode selecting one extra line after undoing a newline delete. ([#55365](https://github.com/zed-industries/zed/pull/55365); thanks [GoldStrikeArch](https://github.com/GoldStrikeArch))
- Fixed language servers automatically restarting on file changes after running "Stop All Language Servers"; they now stay stopped until explicitly restarted. ([#51468](https://github.com/zed-industries/zed/pull/51468))
- Fixed macOS system font fallback not being applied, which could leave some characters without a fallback font. ([#58020](https://github.com/zed-industries/zed/pull/58020); thanks [douo](https://github.com/douo))
- Fixed non-descriptive error messages when the remote agent process disconnected. ([#58780](https://github.com/zed-industries/zed/pull/58780))
- Fixed old threads that mention Rules being inaccessible after Rules were migrated to Skills. ([#58560](https://github.com/zed-industries/zed/pull/58560))
- Fixed opening agent-created files outside the current project, such as global skill files. ([#58367](https://github.com/zed-industries/zed/pull/58367))
- Fixed OpenRouter API errors showing empty messages when fetching the model list. ([#58502](https://github.com/zed-industries/zed/pull/58502); thanks [ChihweiLHBird](https://github.com/ChihweiLHBird))
- Fixed OpenRouter models not appearing until restart after adding an API key. ([#58551](https://github.com/zed-industries/zed/pull/58551); thanks [ChihweiLHBird](https://github.com/ChihweiLHBird))
- Fixed project panel needing a second click to change the file if the window is not in focus. ([#58562](https://github.com/zed-industries/zed/pull/58562); thanks [ChintanAcharya](https://github.com/ChintanAcharya))
- Fixed prompt darkened backdrop/background rendering outside client-decorated window boundaries on Linux. ([#57608](https://github.com/zed-industries/zed/pull/57608); thanks [albertbogusz](https://github.com/albertbogusz))
- Fixed rendering of control-characters in syntax tree view. ([#59012](https://github.com/zed-industries/zed/pull/59012); thanks [konstantinoscs](https://github.com/konstantinoscs))
- Fixed Reveal in Finder/File Manager shortcuts not working when an image tab is focused. ([#56438](https://github.com/zed-industries/zed/pull/56438); thanks [terror](https://github.com/terror))
- Fixed some SSH issues on Windows that prevented connecting to a remote. ([#52491](https://github.com/zed-industries/zed/pull/52491); thanks [Zaenalos](https://github.com/Zaenalos))
- Fixed tab switcher truncating long file names, making files with a shared prefix indistinguishable. ([#58483](https://github.com/zed-industries/zed/pull/58483); thanks [saberoueslati](https://github.com/saberoueslati))
- Fixed task variables like `$ZED_FILE` not updating when re-running a recently used task after switching the active editor (#55879). ([#57380](https://github.com/zed-industries/zed/pull/57380); thanks [007qr](https://github.com/007qr))
- Fixed the agent panel flickering and becoming unusable when a permission prompt with tall content (such as a plan awaiting approval) was scrolled out of view. ([#58689](https://github.com/zed-industries/zed/pull/58689))
- Fixed the tab switcher not selecting the first (best) match when you start typing a query. ([#58424](https://github.com/zed-industries/zed/pull/58424); thanks [maignal](https://github.com/maignal))
- Fixed the window title not updating when switching between workspaces in a multi-workspace window. ([#58401](https://github.com/zed-industries/zed/pull/58401))
- Fixed unbounded memory growth when images are repeatedly loaded and released. ([#58874](https://github.com/zed-industries/zed/pull/58874))
- Fixed “editor: toggle inline values” not appearing in the command palette or responding to keybindings. ([#58921](https://github.com/zed-industries/zed/pull/58921))
- Fixed not being able to drag the settings UI window on macOS. ([#59216](https://github.com/zed-industries/zed/pull/59216))
- Fixed an issue where the close button could overflow within a workspace error popup. ([#59186](https://github.com/zed-industries/zed/pull/59186))
- Removed a dead link in the agent menu. ([#59232](https://github.com/zed-industries/zed/pull/59232))
- Removed the agent server chip from the extension UI search filter. ([#59231](https://github.com/zed-industries/zed/pull/59231))

## Breaking Changes and Notices

- Removed support for extensions downloading language servers, debuggers, and MCP servers on 32-bit architectures. Extensions may still work if you manually specify a path to an appropriate binary, but downloading a binary for a 32-bit architecture will no longer succeed. ([#58259](https://github.com/zed-industries/zed/pull/58259))
- Removed the `experimental.auto_microphone_volume` setting (since #58036 microphone volumes are now normalized by default). ([#58677](https://github.com/zed-industries/zed/pull/58677))