Commit log

f8d4804 zed 0.201.6

Joseph T. Lyons created

33f60b8 acp: Automatically install gemini under Zed's data dir (#37054)

Click to expand commit body
Closes: https://github.com/zed-industries/zed/issues/37089

Instead of looking for the gemini command on `$PATH`, by default we'll
install our own copy on demand under our data dir, as we already do for
language servers and debug adapters. This also means we can handle
keeping the binary up to date instead of prompting the user to upgrade.

Notes:

- The download is only triggered if you open a new Gemini thread
- Custom commands from `agent_servers.gemini` in settings are respected
as before
- A new `agent_servers.gemini.ignore_system_version` setting is added,
similar to the existing settings for language servers. It's `true` by
default, and setting it to `false` disables the automatic download and
makes Zed search `$PATH` as before.
- If `agent_servers.gemini.ignore_system_version` is `false` and no
binary is found on `$PATH`, we'll fall back to automatic installation.
If it's `false` and a binary is found, but the version is older than
v0.2.1, we'll show an error.

Release Notes:

- acp: By default, Zed will now download and use a private copy of the
Gemini CLI binary, instead of searching your `$PATH`. To make Zed search
your `$PATH` for Gemini CLI before attempting to download it, use the
following setting:

```
{
  "agent_servers": {
    "gemini": {
      "ignore_system_version": false
    }
  }
}
```

Cole Miller created

233071c Have ACP respect always_allow_tool_actions (#37104)

Click to expand commit body
Release Notes:

- ACP agents now respect the always_allow_tool_actions setting

Richard Feldman created

bff778b agent2: Fix model deduplication to use provider ID and model ID (#37088)

Click to expand commit body
Closes #37043

Previously claude sonnet 4 was missing from copilot as it was colliding
with zed's claude-sonnet-4 model id. Now we do deduplication based upon
model and provider id both.

| Before | After |
|--------|--------|
| <img width="784" height="950" alt="CleanShot 2025-08-28 at 18 31
28@2x"
src="https://github.com/user-attachments/assets/d49d5a17-7271-417d-bb5e-bc380071e810"
/> | <img width="720" height="876" alt="CleanShot 2025-08-28 at 18 31
42@2x"
src="https://github.com/user-attachments/assets/a5100c05-994e-4e19-ab20-34c0258b977c"
/> |

Release Notes:

- Fixed an issue where models with the same ID from different providers
(such as Claude Sonnet 4 from both Zed and Copilot) were incorrectly
deduplicated in the model selector—now all variants are shown.

Umesh Yadav created

58a2de8 acp: Don't cancel editing when scrolling message out of view (#37020)

Click to expand commit body
Release Notes:

- agent: Fixed a bug that canceled editing when scrolling the user
message out of view.

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Antonio Scandurra and Bennet Bo Fenner created

eb2ac6d acp: Add more logs to model selector to diagnose issue (#36997)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Joseph T. Lyons <JosephTLyons@gmail.com>
Co-authored-by: Katie Geer <katie@zed.dev>

Bennet Bo Fenner , Antonio Scandurra , Cole Miller , Joseph T. Lyons , and Katie Geer created

db5b243 language_models: Fix tool calling for `x-ai/grok-code-fast-1` model via OpenRouter (#37094)

Click to expand commit body
Closes #37022
Closes #36994

This update ensures all Grok models use the JsonSchemaSubset format for
tool schemas.

A previous fix for this issue was too specific, only targeting grok-4
models. This caused other variants, like grok-code-fast-1, to be missed.
We've now broadened the logic to correctly apply the setting to the
entire Grok model family.

Release Notes:

- Fix tool calling for `x-ai/grok-code-fast-1` model via OpenRouter.

Umesh Yadav created

3988c10 zed 0.201.5

Cole Miller created

2f4cfcd acp: Fix model selector sometimes showing no models (#37006)

Click to expand commit body
Release Notes:

- acp: Fix an issue where the model selector would sometimes be empty

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

a6a4835 acp: Fix gemini process being leaked (#37012)

Click to expand commit body
Release Notes:

- acp: Fixed a bug that caused external agent server subprocesses to be
leaked.

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Antonio Scandurra <me@as-cii.com>

Cole Miller , Agus Zubiaga , Bennet Bo Fenner , and Antonio Scandurra created

64ec0f6 acp: Fix model selector sometimes showing no models

Bennet Bo Fenner created

6e0a3f0 Restore token count for text threads (#36989)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Antonio Scandurra and Bennet Bo Fenner created

47b3e77 Ensure we use the new agent when opening the panel for the first time (#36988)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

e6fbcf1 acp: Upgrade errors (#36980)

Click to expand commit body
- **Pass --engine-strict to gemini install command**
- **Make it clearer that if upgrading fails, you need to fix i**

Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

98e2d3e v0.201.x stable

Joseph T. Lyons created

15330de acp: Require gemini version 0.2.0 (#36960)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

fe7e793 thread view: Fix cut-off review button (#36970)

Danilo Leal created

d9342b7 thread view: Add one more UI clean up pass (#36965)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

f603e2c Add xAI's Grok Code Fast 1 model (#36959)

Click to expand commit body
Release Notes:

- Add the `grok-code-fast-1` model to xAI's list of available models.

Daniel Dye created

1bbf962 thread view: Adjust thinking block UI (#36958)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Danilo Leal and Conrad Irwin created

ea102ff acp: Enable feature flag for everyone (#36928)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

de81615 acp: Add onboarding modal & title bar banner (#36784)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Danilo Leal and Bennet Bo Fenner created

b5b66b7 thread view: Improve agent installation UI (#36957)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Danilo Leal and Conrad Irwin created

ca70f09 thread view: Refine tool call UI (#36937)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Danilo Leal and Bennet Bo Fenner created

1f35c62 Revert "ai: Auto select user model when there's no default" (#36932)

Click to expand commit body
Reverts zed-industries/zed#36722

Release Notes:

- N/A

Bennet Bo Fenner created

6c81805 acp: Improve matching logic when adding new entry to agent_servers (#36926)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

ba07eb2 acp: Polish UI (#36927)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

dabad05 agent2: Always finalize diffs from the edit tool (#36918)

Click to expand commit body
Previously, we wouldn't finalize the diff if an error occurred during
editing or the tool call was canceled.

Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Ben Brandt and Antonio Scandurra created

28b0b4c acp: Add button to configure custom agent in the configuration view (#36923)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

6a7588c acp: Send user-configured MCP tools (#36910)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

ee2b1f9 Remove unused files (#36909)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Conrad Irwin created

4174b72 acp: Rename dev command (#36908)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

d0471d4 thread view: Add link to docs in the toolbar plus menu (#36883)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

1d96a7a zed 0.201.4

Joseph T. Lyons created

662e6a8 Sync `Cargo.lock` with `Cargo.toml`

Joseph T. Lyons created

f5ef0e3 acp: Show output for read_file tool in a code block (#36900)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

0b9ff53 acp: Update error matching (#36898)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

fb766a5 thread view: Fix some design papercuts (#36893)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Matt Miller <mattrx@gmail.com>

Danilo Leal , Conrad Irwin , Ben Brandt , and Matt Miller created

40ceeea acp: Add telemetry (#36894)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Bennet Bo Fenner and Conrad Irwin created

92a6ae1 agent: Add section for agent servers in settings view (#35206)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <cole@zed.dev>

Danilo Leal and Cole Miller created

5d8e0f6 acp: Model-specific prompt capabilities for 1PA (#36879)

Click to expand commit body
Adds support for per-session prompt capabilities and capability changes
on the Zed side (ACP itself still only has per-connection static
capabilities for now), and uses it to reflect image support accurately
in 1PA threads based on the currently-selected model.

Release Notes:

- N/A

Cole Miller created

66d9fb0 Require confirmation for fetch tool (#36881)

Click to expand commit body
Using prompt injection, the agent may be tricked into making a fetch
request that includes unexpected data from the conversation in the URL.

As agent conversations may contain sensitive information (like private
code, or
potentially even API keys), this seems bad.

The easiest way to prevent this is to require the user to look at the
URL
before the model is allowed to fetch it.

Thanks to @ant4g0nist for bringing this to our attention.

Release Notes:

- agent panel: The fetch tool now requires confirmation.

Conrad Irwin created

8fccb89 acp: Add Reauthenticate to dropdown (#36878)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>

Bennet Bo Fenner and Conrad Irwin created

7b17be6 acp: Remember following state (#36793)

Click to expand commit body
A beta user reported that following was "lost" when asking for
confirmation, I
suspect they moved their cursor in the agent file while reviewing the
change.
Now we will resume following when the agent starts up again.

Release Notes:

- N/A

Conrad Irwin created

7a6f01f acp: Simplify control flow for native agent loop (#36868)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>

Antonio Scandurra and Bennet Bo Fenner created

c3574e6 agent2: Less noisy logs (#36863)

Click to expand commit body
Release Notes:

- N/A

Bennet Bo Fenner created

b3be6cc thread view: Prevent user message controls to be cut-off (#36865)

Click to expand commit body
In the thread view, when focusing on the user message, we display the
editing control container absolutely-positioned in the top right.
However, if there are no rules items and no restore checkpoint button
_and_ it is the very first message, the editing controls container would
be cut-off. This PR fixes that by giving it a bit more top padding.

Release Notes:

- N/A

Danilo Leal created

f3ab8d6 acp: Show retry button for errors (#36862)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Antonio Scandurra <me@as-cii.com>

Bennet Bo Fenner and Antonio Scandurra created

5d0c696 acp: Fix read_file tool flickering (#36854)

Click to expand commit body
We were rendering a Markdown link like `[Read file x.rs (lines
Y-Z)](@selection)` while the tool ran, but then switching to just `x.rs`
as soon as we got the file location from the tool call (due to an
if/else in the UI code that applies to all tools). This caused a
flicker, which is fixed by having `initial_title` return just the
filename from the input as it arrives instead of a link that we're going
to stop rendering almost immediately anyway.

Release Notes:

- N/A

Cole Miller created

6e45a89 thread view: Add a few UI tweaks (#36845)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created