Commit log

e0b2729 zed 0.186.2

Peter Tripp created

78f9852 agent: Improve onboarding modal background illustration (#30137)

Click to expand commit body
Tone down the grid background a bit more so text is more legible.

Release Notes:

- N/A

Danilo Leal created

6eee344 agent: Improve consecutive tool use callout spacing (#30145)

Click to expand commit body
Release Notes:

- agent: Fix "consecutive tool use limit" callout spacing

Agus Zubiaga created

080ef04 agent: Fix profile menu hover flicker after settings update (#30109)

Click to expand commit body
Closes #30091
Follow-up to #29958

This PR fixes the profile menu flickering due to the documentation aside
after updating the agent dock position over the settings file.

The problem arose because the `documentation_side` could get out of sync
with the actual agent panel dock position. The `documentation_side` was
only updated whenever the user changed the agent panel position using
the UI, but not when updating the position in the settings file.

You can reproduce this easily by changing the `agent.dock` position to
the opposite site in your settings, which will make the profile menu
flicker again in some scenarios due to the de-sync.

This PR fixes this behavior by computing the position during render,
thus the actual set panel position and the documentation position can
never get out of sync

Release Notes:

- Fixed the agent profile menu flickering after updating the assistant
panel dock position in the settings.

Finn Evers created

a7b882c language_models: Update copy for Zed Pro subscription (#30152)

Click to expand commit body
This PR updates the copy around the Zed Pro description to be more
accurate.

Release Notes:

- agent: Updated some copy about Zed Pro in the configuration view.

Marshall Bowers created

202a19e Legal Terms: May 6th 2025 update (#30151)

Click to expand commit body
Updated terms for Agent panel launch.

Release Notes:

- N/A

Peter Tripp created

ace7f57 Send up Zed version with edit prediction and completion requests (#30136)

Click to expand commit body
This PR makes it so we send up an `x-zed-version` header with the
client's version when making a request to llm.zed.dev for edit
predictions and completions.

Release Notes:

- N/A

Marshall Bowers created

d0da6f7 agent: Use correct timezone for thread history separators (#30059)

Click to expand commit body
Turns out `naive_local` doesn't actually offset a `DateTime<Utc>` to the
local timezone before creating a `NaiveDate`.

Release Notes:

- agent: Use correct timezone for thread history separators

Agus Zubiaga created

13743ef Fix agent reading and editing files over SSH (#30144)

Click to expand commit body
Release Notes:

- Fixed a bug that would prevent the agent from working over SSH.

---------

Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Cole Miller <m@cole-miller.net>

Antonio Scandurra , Nathan Sobo , Richard Feldman , Max Brunsfeld , and Cole Miller created

03f9b1e Restore tool cards on thread deserialization (#30053)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>

Mikayla Maki and Julia Ryan created

453125e agent: Make feedback buttons more minimal (#30133)

Click to expand commit body
Also swapped out the svgs for `ThumbsDown` and `ThumbsUp`, and added
`DocumentText`.

Release Notes:

- N/A

Danilo Leal created

e8dadb1 Improve Ollama tool use (#30120)

Click to expand commit body
<img width="458" alt="Screenshot 2025-05-07 at 9 37 39 AM"
src="https://github.com/user-attachments/assets/80f8a9b8-6a13-4e84-b91d-140e11475638"
/>

<img width="603" alt="Screenshot 2025-05-07 at 9 37 33 AM"
src="https://github.com/user-attachments/assets/7fe67a68-3885-4a0e-a282-aad37e92068b"
/>


Release Notes:

- Ollama models no longer require the supports_tools field in settings
(defaults to false)

---------

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

Richard Feldman and Antonio Scandurra created

a1c5a58 zed 0.186.1

Antonio Scandurra created

703af39 Fix zero-sized message editors when context strip is empty (cherry-pick #30079) (#30086)

Click to expand commit body
Cherry-picked Fix zero-sized message editors when context strip is empty
(#30079)

Release Notes:

- Fixed a bug that would cause the message composer in the agent panel
to not render when the context strip was empty.

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>

Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>

gcp-cherry-pick-bot[bot] , Antonio Scandurra , Ben Brandt , and Nathan Sobo created

dc9b1d3 Avoid panic when opening thread as markdown in non-local project (cherry-pick #30061) (#30063)

Click to expand commit body
Cherry-picked Avoid panic when opening thread as markdown in non-local
project (#30061)

Right now `agent: open active thread as markdown` will always panic when
you try to use it over collab or when SSH remoting. This PR makes it log
an error instead (we should follow up by restoring full remote support).

Release Notes:

- Prevented `agent: open active thread as markdown` from panicking when
used in a non-local project.

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

gcp-cherry-pick-bot[bot] and Cole Miller created

affec54 Update onboading modal copy

Marshall Bowers created

4cde597 agent: Remove feature flag checks (#30055)

Click to expand commit body
This PR removes all of the feature flag checks related to the Agent.

Tried to do this in the least invasive way possible; we can follow up
with a full removal.

Release Notes:

- N/A

Marshall Bowers created

2e2ad6c v0.186.x preview

Joseph T. Lyons created

28e664c agent: Launch it (#30005)

Click to expand commit body
This PR enables the Agent-related feature flags on the client.

Release Notes:

- N/A

Marshall Bowers created

300da3b Add an onboarding banner for the Agent panel (#30050)

Click to expand commit body
This PR adds an onboarding banner for the Agent panel:

<img width="262" alt="Screenshot 2025-05-06 at 6 54 58 PM"
src="https://github.com/user-attachments/assets/52849e64-7d5d-488c-8456-4d7bd97f8ebd"
/>

Release Notes:

- N/A

Marshall Bowers created

0db8668 git_ui: Fix resetting of onboarding banner (#30051)

Click to expand commit body
This PR fixes an issue where the Git onboarding banner wasn't able to be
reset.

Release Notes:

- N/A

Marshall Bowers created

ffc07a2 Use agent panel font size for all content in thread / history views and fix text thread font size adjust (#30041)

Click to expand commit body
Release Notes:

- N/A

Michael Sloan created

bbffe1e debugger: Unify landing state for new session modal (#30046)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Piotr Osiewicz created

cec1d25 collab: Don't transfer existing usage when upgrading to Zed Pro (#30045)

Click to expand commit body
This PR makes it so we don't transfer existing usage over when upgrading
from a trial to Zed Pro.

Release Notes:

- N/A

Marshall Bowers created

3cdf5ce agent: Allow customizing temperature by provider/model (#30033)

Click to expand commit body
Adds a new `agent.model_parameters` setting that allows the user to
specify a custom temperature for a provider AND/OR model:

```json5
    "model_parameters": [
      // To set parameters for all requests to OpenAI models:
      {
        "provider": "openai",
        "temperature": 0.5
      },
      // To set parameters for all requests in general:
      {
        "temperature": 0
      },
      // To set parameters for a specific provider and model:
      {
        "provider": "zed.dev",
        "model": "claude-3-7-sonnet-latest",
        "temperature": 1.0
      }
    ],
```

Release Notes:

- agent: Allow customizing temperature by provider/model

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Agus Zubiaga , Max Brunsfeld , and Marshall Bowers created

0055a20 Remember max mode setting per-thread and add a user setting (#30042)

Click to expand commit body
Supersedes: https://github.com/zed-industries/zed/pull/29936

Thanks for your contribution @imumesh18, but we had a slightly different
take on it :)

Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Mikayla Maki and Ben Brandt created

6bb6e48 agent: Only show the trial upsell in the thread view (#30040)

Click to expand commit body
This PR makes it so we only show the trial upsell in the thread view.

Fixes https://github.com/zed-industries/zed/issues/30037.

Release Notes:

- Agent Beta: Changed the trial upsell to only be visible in the thread
view.

Marshall Bowers created

91cfce0 Clean up some styling issues in the editing tool card and render the animated lines a bit smaller (#30038)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Michael Sloan <mgsloan@gmail.com>

Nathan Sobo and Michael Sloan created

9d1604b agent: Add missing Linux keybindings (#30032)

Click to expand commit body
This PR updates the default Linux keybindings to align with changes made
to the macOS bindings in #29943.

Release Notes:

- N/A

Cole Miller created

0fdc045 Fix token count not appearing for the first message (#30035)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Mikayla Maki and Ben Brandt created

5002156 ci: Add check for formatting `default.json` (#30034)

Click to expand commit body
This PR adds a check in CI to ensure that `assets/settings/default.json`
is formatted consistently.

Release Notes:

- N/A

Marshall Bowers created

bd11bb5 Add setting to hide onboarding banners (#29709)

Click to expand commit body
Closes #28637 aka #29219.

Release Notes:

- Added `workspace.title_bar.show_onboarding_banner` preference to hide
onboarding banners.
- Relocated `workspace.show_user_picture` preference to
`workspace.title_bar.show_user_picture`.

anteater created

c92b2e3 Avoid panicking when edit agent emits an empty old_text tag (#30030)

Click to expand commit body
Release Notes:

- Fixed a panic that could sometimes occur when the agent applies edits.

Co-authored-by: Nathan <nathan@zed.dev>

Antonio Scandurra and Nathan created

09d3ff9 debugger: Rework language association with the debuggers (#29945)

Click to expand commit body
- Languages now define their preferred debuggers in `config.toml`.
- `LanguageRegistry` now exposes language config even for languages that
are not yet loaded. This necessitated extension registry changes (we now
deserialize config.toml of all language entries when loading new
extension index), but it should be backwards compatible with the old
format. /cc @maxdeviant

Release Notes:

- N/A

---------

Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Remco Smits <djsmits12@gmail.com>
Co-authored-by: Anthony <anthony@zed.dev>

Piotr Osiewicz , Anthony Eid , Remco Smits , and Anthony created

544e8fc agent: Don't render trial upsell when not using the Zed provider (#30029)

Click to expand commit body
This PR makes it so we don't render the trial upsell when not using the
Zed provider.

Release Notes:

- Agent Beta: Changed Zed Pro trial upsell to only be displayed when
using a model through the Zed provider.

Marshall Bowers created

b83d00d agent: Fix "tool cancelled" status being overapplied to failed tool calls (#30021)

Click to expand commit body
Release Notes:

- Agent Beta: Fixed a bug that caused past failed tool calls to
incorrectly display as cancelled by the user.

Cole Miller created

7a9165d agent: Don't render usage callouts when not using the Zed provider (#30025)

Click to expand commit body
This PR makes it so we don't render the usage callouts when not using
the Zed provider.

Release Notes:

- Agent Beta: Changed usage callouts to only be displayed when using a
model through the Zed provider.

Marshall Bowers created

80236d0 agent: Handle context servers that do not provide a configuration in MCP setup dialog (#30023)

Click to expand commit body
<img width="674" alt="image"
src="https://github.com/user-attachments/assets/0ccb89e2-1dc1-4caf-88a7-49159f43979f"
/>
<img width="675" alt="image"
src="https://github.com/user-attachments/assets/790e5d45-905e-45da-affa-04ddd1d33c65"
/>

Release Notes:

- N/A

Bennet Bo Fenner created

a743035 lmstudio: Fix streaming not working in v0.3.15 (#30013)

Click to expand commit body
Closes #29781

Tested this with llama3, gemma3 and qwen3.

This is a breaking change, which means after adding this code changes in
future version zed we will require atleast lmstudio >= 0.3.15. For
context why it's breaking changes check out the issue: #29781.

What this doesn't try to solve is:

* Tool calling, thinking text rendering. Will raise a seperate PR for
these as those are not required in this PR to make it work.


https://github.com/user-attachments/assets/945f9c73-6323-4a88-92e2-2219b760a249

Release Notes:

- lmstudio: Fixed Zed support for LMStudio >= v0.3.15 (breaking change -- older versions are no longer supported).

---------

Co-authored-by: Peter Tripp <peter@zed.dev>

Umesh Yadav and Peter Tripp created

bbfcd88 debugger: Allow locators to generate full debug scenarios (#30014)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

---------

Co-authored-by: Anthony <anthony@zed.dev>
Co-authored-by: Remco Smits <djsmits12@gmail.com>

Piotr Osiewicz , Anthony , and Remco Smits created

a378b3f collab: Treat staff as having usage-based pricing enabled (#30020)

Click to expand commit body
This PR makes it so staff are treated as having opted-in to usage-based
pricing.

Release Notes:

- N/A

Marshall Bowers created

6d2c39c Fix checkpoints not being rendered (#30019)

Click to expand commit body
Closes #ISSUE

Release Notes:

- Agent Beta: Fixed a bug causing "Restore Checkpoint" buttons in the
agent panel not to be rendered.

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

Cole Miller and Antonio Scandurra created

1a80103 Silence error log when deserializing agent panel navigation history (#30011)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Cole Miller created

6cb4365 collab: Disable usage-based billing thresholds (#30016)

Click to expand commit body
This PR disables the usage-based billing thresholds.

Release Notes:

- N/A

Marshall Bowers created

007fd05 Adds a way to dismiss workspace notifications (#30015)

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

* On `menu::Cancel` action (`ESC`), close notifications, one by one, if
`Workspace` gets to handle this action.
More specific, focused items contexts (e.g. `Editor`) take priority.

* Allows to temporarily suppress notifications of this kind either by
clicking a corresponding button in the UI, or using
`workspace::SuppressNotification` action.

This might not work well out of the box for all notifications and might
require further improvement.


https://github.com/user-attachments/assets/0ea49ee6-cd21-464f-ba74-fc40f7a8dedf


Release Notes:

- Added a way to dismiss workspace notifications

Kirill Bulatov created

7d361ec Fall back to old key when loading agent settings (#30001)

Click to expand commit body
This PR updates #29943 to fall back to loading agent panel settings from
the old `assistant` key if the `agent` key is not present. Edits to
these settings will also target `assistant` in this situation instead of
`agent` as before.

Release Notes:

- Agent Beta: Fixed a regression that caused the agent panel not to
load, or buttons in the agent panel not to work.

Cole Miller created

a9d5b20 docs: Add link to `formatter` settings from configuring-languages (#29981)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Peter Tripp <peter@zed.dev>

drathier and Peter Tripp created

0f50e6b Fix error when requesting completion to Copilot Chat without tools (#30007)

Click to expand commit body
The API will return a Bad Request (with no error message) when tools
were used previously in the conversation but no tools are provided as
part of a new request.

Inserting a dummy tool seems to circumvent this error.

Release Notes:

- Fixed an error that could sometimes occur when editing using Copilot
Chat.

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

Antonio Scandurra and Bennet Bo Fenner created

fed5f89 agent: Add enabled indicator in Max Mode tooltip (#30008)

Click to expand commit body
This PR adds an enabled indicator in the Max Mode tooltip to show when
it is enabled:

<img width="409" alt="Screenshot 2025-05-06 at 9 49 48 AM"
src="https://github.com/user-attachments/assets/43d3f6dd-5658-467a-9df9-606ce326426a"
/>

Release Notes:

- Agent Beta: Added an indicator in the Max Mode tooltip to show when it
is enabled.

Co-authored-by: Danilo <danilo@zed.dev>

Marshall Bowers and Danilo created

0963559 agent: Add label to Max Mode toggle (#30003)

Click to expand commit body
This PR adds a label to the Max Mode toggle, for increased clarity:

<img width="647" alt="Screenshot 2025-05-06 at 9 16 35 AM"
src="https://github.com/user-attachments/assets/38cd55fb-43ad-430b-8b4c-5adf707317cf"
/>

Release Notes:

- Agent Beta: Added a label to the Max Mode toggle.

Marshall Bowers created