425f32e
agent: Add the `single_file_review` setting to the UI (#29859)
Click to expand commit body
Release Notes:
- agent: Add the `single_file_review` setting to the UI
Danilo Leal
created
9c11d24
Fix hiding editor toolbar and add `agent_review` setting (#29854)
Click to expand commit body
Closes #29836
The agent diff toolbar item was causing the editor toolbar to show even
when all the other elements were disabled via settings.
This PR fixes this by setting the location to
`ToolbarItemLocation::Hidden` in the states where it shouldn't show.
It also adds a new a `toolbar.agent_review` setting to hide the agent
review buttons altogether. However, if the other toolbar elements are
hidden and the file isn't under review, the editor toolbar will still be
hidden. So you only need to set this to `false` if you don't want them
to show up even under agent review.
Release Notes:
- N/A
Agus Zubiaga
created
1fc57ea
feature_flags: Add a constant to control Agent-related feature flags (#29853)
Click to expand commit body
This PR adds a singular constant that controls the Agent-related feature
flags.
This way we can tweak this one value when we're ready to build the final
build for the launch.
Release Notes:
- N/A
Marshall Bowers
created
c3d2831
collab: Use new subscription usage tables (#29848)
Click to expand commit body
This PR updates Collab to use the new subscription usage tables added in
#29847.
Release Notes:
- N/A
Marshall Bowers
created
c124797
collab: Add new tables for subscription usages and meters (#29847)
Click to expand commit body
This PR adds two new tables:
- `subscription_usages_v2`
- `subscription_usage_meters_v2`
These are the same as the old ones, except using UUIDs as primary keys.
Release Notes:
- N/A
Marshall Bowers
created
12c26a4
collab: Don't try to transfer usage when a Zed Pro trial is canceled (#29843)
Click to expand commit body
This PR fixes an issue where we would erroneously try to transfer
existing subscription usage when a Zed Pro trial was canceled.
Release Notes:
- N/A
Marshall Bowers
created
7f8e3fd
ui: Implement `ParentElement` for `Banner` (#29834)
Click to expand commit body
This PR implements the `ParentElement` trait for the `Banner` component
so that it can use the real children APIs instead of a bespoke one.
Release Notes:
- N/A
Marshall Bowers
created
f0515d1
agent: Show a notice when reaching consecutive tool use limits (#29833)
Click to expand commit body
This PR adds a notice when reaching consecutive tool use limits when
using normal mode.
Here's an example with the limit artificially lowered to 2 consecutive
tool uses:
https://github.com/user-attachments/assets/32da8d38-67de-4d6b-8f24-754d2518e5d4
Release Notes:
- agent: Added a notice when reaching consecutive tool use limits when
using a model in normal mode.
Marshall Bowers
created
10a7f2a
agent: Add several UX improvements (#29828)
Click to expand commit body
Still a work in progress.
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Cole Miller <m@cole-miller.net>
Co-authored-by: Nathan Sobo <1789+nathansobo@users.noreply.github.com>
Co-authored-by: Cole Miller <53574922+cole-miller@users.noreply.github.com>
Danilo Leal
,
Bennet Bo Fenner
,
Nathan Sobo
,
Cole Miller
,
Nathan Sobo
, and
Cole Miller
created
5053562
agent: Refresh the profile selector and modal design (#29816)
Click to expand commit body
- [x] Separate MCP servers from tools in the profile customization modal
view
- [x] Group MCP tools in the MCP picker and add a heading
- [x] Separate bult-in profiles from custom ones in the dropdown
selector
- [x] Separate bult-in profiles from custom ones in the modal
- [ ] Enable looping through items via keybinding without opening the
dropdown (will be done on a follow-up PR)
- [ ] Stretch: Focus on the currently active item upon opening the
dropdown (will be done on a follow-up PR)
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <53836821+bennetbo@users.noreply.github.com>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Danilo Leal
,
Bennet Bo Fenner
,
Bennet Bo Fenner
, and
Bennet Bo Fenner
created
1877fce
agent: Fix default cursor position on reviewing editors (#29825)
Click to expand commit body
The cursor wasn't always placed at the first hunk for review editors.
Release Notes:
- N/A
Agus Zubiaga
created
6431630
agent: Review edits in single-file editors (#29820)
Click to expand commit body
Enables reviewing agent edits from single-file editors in addition to
the multibuffer experience we already had.
https://github.com/user-attachments/assets/a2c287f0-51d6-43a1-8537-821498b91983
This feature can be turned off by setting `assistant.single_file_review:
false`.
Release Notes:
- agent: Review edits in single-file editors
Agus Zubiaga
created
04772bf
Add support for queuing status updates in cloud language model provider (#29818)
Click to expand commit body
This sets us up to display queue position information to the user, once
our language model backend is updated to support request queuing.
The JSON returned by the LLM backend will need to look like this:
```json
{"queue": {"status": "queued", "position": 1}}
{"queue": {"status": "started"}}
{"event": {"THE_UPSTREAM_MODEL_PROVIDER_EVENT": "..."}}
```
Release Notes:
- N/A
---------
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Also `now` in `write` profile
Release Notes:
- Tools for manipulating directories no longer require confirmation, and
are enabled in the Write profile
- Enabled `now` and `list_directory` tools by default in Write profile
---------
Co-authored-by: Cole Miller <m@cole-miller.net>
Co-authored-by: Cole Miller <cole@zed.dev>
Richard Feldman
,
Cole Miller
, and
Cole Miller
created
9547d42
Support @-mentions in inline assists and when editing old agent panel messages (#29734)
Click to expand commit body
Closes #ISSUE
Co-authored-by: Bennet <bennet@zed.dev>
Release Notes:
- Added support for context `@mentions` in the inline prompt editor and
when editing past messages in the agent panel.
---------
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Cole Miller
,
Bennet Bo Fenner
, and
Ben Brandt
created
Previously, the assistant panel width was not persisted across sessions.
This meant that upon restarting the Zed editor, the panel would revert
to its default size, disrupting the user's preferred layout.
This pull request introduces persistence for the assistant panel width.
The width is now saved to the key-value store when the editor is closed
and restored on startup, ensuring a consistent UI experience across
different sessions.
Release Notes:
- agent: Add assistant panel width persistence
---------
Signed-off-by: Umesh Yadav <umesh4257@gmail.com>
Umesh Yadav
created
da98e30
debugger: Clear active debug line on thread continued (#29811)
Click to expand commit body
I also moved the breakpoint store to session from local mode, because
both remote/local modes will need the ability to remove active debug
lines.
Release Notes:
- N/A
Also have its description say it should only be used on request
Release Notes:
- N/A
Richard Feldman
created
e6f6b35
extension_api: Add documentation to context server configuration (#29800)
Click to expand commit body
Release Notes:
- N/A
Bennet Bo Fenner
created
fde621f
agent: Ensure that web search tool is always available (#29799)
Click to expand commit body
Some changes in the LanguageModelRegistry caused the web search tool not
to show up, because the `DefaultModelChanged` event is not emitted at
startup anymore.
Release Notes:
- agent: Fixed an issue where the web search tool would not be available
after starting Zed (only when using zed.dev as a provider).
Bennet Bo Fenner
created
c4556e9
collab: Fix adding users to feature flags when migrating to new billing (#29795)
Click to expand commit body
This PR fixes an issue where users were not being added to the feature
flags when being migrated to the new billing.
Release Notes:
- N/A
Marshall Bowers
created
7e2de84
Properly score fuzzy match queries with multiple chars in lower case (#29794)
Click to expand commit body
Closes https://github.com/zed-industries/zed/issues/29526
Release Notes:
- Fixed file finder crashing for certain file names with multiple chars
in lowercase form
Kirill Bulatov
created
d1b35be
Use proper settings in the diagnostics section (#29791)
Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/29706
Release Notes:
- N/A
Co-authored-by: Cole Miller <cole@zed.dev>
Kirill Bulatov
and
Cole Miller
created
49a71ec
collab: Update billing migration endpoint to work for users without active subscriptions (#29792)
Click to expand commit body
This PR updates the billing migration endpoint to work for users who do
not have an active subscription.
This will allow us to use the endpoint to migrate all users.
Release Notes:
- N/A
This PR makes agent previews render like any other preview in the
component preview list & pages.
Page:

List:

Release Notes:
- N/A
Nate Butler
created
225deb6
agent: Add animation in the edit file tool card until a diff is assigned (#29773)
Click to expand commit body
This PR prevents this edit card from being shown expanded but empty,
like this:
<img width="590" alt="Screenshot 2025-05-01 at 7 38 47 PM"
src="https://github.com/user-attachments/assets/147d3d73-05b9-4493-8145-0ee915f12cd9"
/>
Now, we will show an animation until it has a diff computed.
https://github.com/user-attachments/assets/52900cdf-ee3d-4c3b-88c7-c53377543bcf
Release Notes:
- N/A
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Max Brunsfeld
and
Danilo Leal
created
33011f2
Open diagnostics editor faster when fetching cargo diagnostics (#29787)
Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/29706
Release Notes:
- N/A
Kirill Bulatov
created
e14d078
Fix tasks not being stopped on reruns (#29786)
Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/28993
* Tone down tasks' cancellation logging
* Fix task terminals' leak, disallowing to fully cancel the task by
dropping the terminal off the pane:
https://github.com/zed-industries/zed/blob/f619d5f02af100c34e286af294a42a01dcfb238c/crates/terminal_view/src/terminal_panel.rs#L1464-L1471
Release Notes:
- Fixed tasks not being stopped on reruns
Kirill Bulatov
created
460ac96
Use project environment in LSP runnables context (#29761)
Click to expand commit body
Release Notes:
- Fixed the tasks from LSP not inheriting the worktree environment
----
cc @SomeoneToIgnore
Stanislav Alekseev
created
3553984
Allow `StreamingEditFileTool` to also create files (#29785)
Click to expand commit body
Refs #29733
This pull request introduces a new field to the `StreamingEditFileTool`
that lets the model create or overwrite a file in a streaming way. When
one of the `assistant.stream_edits` setting / `agent-stream-edits`
feature flag is enabled, we are going to disable the `CreateFileTool` so
that the agent model can only use `StreamingEditFileTool` for file
creation.
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
Antonio Scandurra
,
Ben Brandt
, and
Oleksiy Syvokon
created
f619d5f
debugger: Add debug task picker to new session modal (#29702)
Click to expand commit body
## Preview

### TODO
- [x] Add scenario picker to new session modal
- [x] Make debugger start action open new session modal instead of task
modal
- [x] Fix `esc` not clearing the cancelling the new session modal while
it's in scenario or attach mode
- [x] Resolve debug scenario's correctly
Release Notes:
- N/A
Anthony Eid
created
ba59305
Use rust-analyzer's flycheck as source of cargo diagnostics (#29779)
Click to expand commit body
Follow-up of https://github.com/zed-industries/zed/pull/29706
Instead of doing `cargo check` manually, use rust-analyzer's flycheck:
at the cost of more sophisticated check command configuration, we keep
much less code in Zed, and get a proper progress report.
User-facing UI does not change except `diagnostics_fetch_command` and
`env` settings removed from the diagnostics settings.
Release Notes:
- N/A
This PR fixes a typo in `typos.toml`. How ironic.
Release Notes:
- N/A
Marshall Bowers
created
1ffedf4
collab: Add endpoint for migrating users to new billing (#29769)
Click to expand commit body
This PR adds a new `POST /billing/subscriptions/migrate` endpoint for
migrating users to the new billing system.
When called with a GitHub user ID this endpoint will:
1. Find the active billing subscription for this user (if they have one)
2. Cancel the subscription and send a final invoice
3. Ensure the user is in the `new-billing` and `assistant2` feature
flags
Release Notes:
- N/A
Marshall Bowers
created
d25da97
Run additional checks from script/clippy if local (#29768)
Click to expand commit body
Should cut down on the number of CI cycles if you're forgetful like I
am!
Release Notes:
- N/A
Cole Miller
created
e1e3f2e
Improve handling of remote-tracking branches in the picker (#29744)
Click to expand commit body
Release Notes:
- Changed the git branch picker to make remote-tracking branches less
prominent
---------
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Cole Miller
and
Anthony Eid
created
92b9ecd
agent: Do not render unnecessary lines in edit file tool card (#29766)
Click to expand commit body
This PR prevents any unnecessary lines from being rendered in the edit
file tool card in the case of small diffs.
I think this (hopefully) addresses the last remaining task from
https://github.com/zed-industries/zed/pull/29448.
| `main` | This PR |
| --- | --- |
| <img width="634" alt="main"
src="https://github.com/user-attachments/assets/7c06394e-957a-4d36-a484-5974687041e9"
/> | <img width="634" alt="PR"
src="https://github.com/user-attachments/assets/84206d5a-a93a-4a42-99ca-7cdebb0d91bb"
/> |
(The last empty line in the second image is an empty line present in the
file itself)
---
n the second commit I also preemtively disabled vertical overscrolling
for full mode editors which are sized by content. This is basically the
same fix as in https://github.com/zed-industries/zed/pull/28471.
Strictly speaking, this is not needed for the fix here, but I thought it
might be nice to have for the future to prevent any issues from occuring
due to overscroll.
Release Notes:
- agent: Improved rendering of small diffs for the edit file tool card.
Finn Evers
created
758d260
collab: Add ability to initiate a checkout session for the Zed Free plan (#29767)
Click to expand commit body
This PR adds the ability to initiate a checkout session for the Zed Free
plan.
Release Notes:
- N/A
Marshall Bowers
created
8d4d3ba
agent: Add design adjustments to MCP config flow (#29765)
Click to expand commit body
Mostly somewhat small UI tweaks around the MCP extension config flow and
the settings section.
Release Notes:
- N/A
Danilo Leal
created
7c23d13
agent: Render the max mode toggle using a muted color (#29763)
Click to expand commit body
This PR updates the max mode toggle to use the muted color.
This makes it fit in more with the rest of the controls.
<img width="243" alt="Screenshot 2025-05-01 at 5 24 01 PM"
src="https://github.com/user-attachments/assets/57267d29-3c7b-4ea9-b6b9-81c42f6b7e1c"
/>
Release Notes:
- agent: Adjusted the color of the max mode toggle.
Marshall Bowers
created
ad87c54
Make context pills clickable while editing (#29740)
Click to expand commit body
Release Notes:
- Fixed a bug where clicking context pills switched into the "editing
message" state instead of clicking the pill.
Co-authored-by: Michael <michael@zed.dev>
Co-authored-by: Ben <ben@zed.dev>
Now instead of the model hallucinating tool calls, we get requests for
more context:
<img width="620" alt="Screenshot 2025-05-01 at 12 45 49 PM"
src="https://github.com/user-attachments/assets/847d5c14-82f6-4234-b85a-8cd2bc7ab11d"
/>
It still knows how to answer general questions:
<img width="624" alt="Screenshot 2025-05-01 at 12 47 44 PM"
src="https://github.com/user-attachments/assets/43ab0fc3-4cc8-452f-b26b-474b5d31919f"
/>
Release Notes:
- Fixed the model still trying to do tool calls when no tools selected
(e.g. in `Manual` profile).
---------
Co-authored-by: Ben <ben@zed.dev>
Co-authored-by: Michael <michael@zed.dev>
Richard Feldman
,
Ben
, and
Michael
created
d7e1815
Respect cursor_pointer when a ButtonLike is disabled (#29737)
Click to expand commit body
This is desirable for when we want to use a `ButtonLike` to show a
tooltip over an icon, and we don't want it to show the "not allowed"
cursor on hover.
Release Notes:
- N/A
Closes #29527
It looks funny in the diff, but the symlinks are indeed correct:
-
https://github.com/evaporei/zed/blob/fix/license-symlinks/crates/askpass/LICENSE-GPL
-
https://github.com/evaporei/zed/blob/fix/license-symlinks/crates/ui_macros/LICENSE-GPL
I did check all ~170 crates, these were the only inconsistent ones.
Release Notes:
- N/A
Eva Pace
created
2a319ef
Add `editor::GoToParentModule` for rust-analyzer backed projects (#29755)
Click to expand commit body
Support rust-analyzer's "go to parent module" action
https://rust-analyzer.github.io/book/contributing/lsp-extensions.html#parent-module
Release Notes:
- Added `editor::GoToParentModule` for rust-analyzer backed projects
---------
Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>