Commit log

0a44048 Lowercase settings.json for vscode settings importer (#30131)

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

Release Notes:

- N/A

Peter Tripp created

a4aa446 Better match path-like strings in terminal (#30087)

Click to expand commit body
Start to capture `foo/bar:20:in`-like strings as valid pointers to line
20 in a file

Closes https://github.com/zed-industries/zed/issues/28194

Release Notes:

- Fixed terminal cmd-click not registering `foo/bar:20:in`-like paths

Kirill Bulatov created

a4e26e0 debugger: Reduce indent level and step size in variable list (#30122)

Click to expand commit body
This improves the look of the variable list when it's the debug panel is
docked on a side

### Before

![image](https://github.com/user-attachments/assets/6e886fc4-1579-4f4c-bda5-6850d080f34b)
### After

![image](https://github.com/user-attachments/assets/5c4528e5-aa01-4035-9f67-fdf22ce82e34)

Release Notes:

- N/A

Anthony Eid created

542c4a3 docs: Add section about agent notification (#30121)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

e44d167 docs: Add section about following the agent (#30119)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

c1d4f08 docs: Fix links in ai section (#30116)

Click to expand commit body
There were a number of broken links in the new agent panel docs. This
fixes them by replacing `(/ai/` with `(./`

Release Notes:

- N/A

James Roberts created

48dfdc4 docs: Fix links in ai section (#30116)

Click to expand commit body
There were a number of broken links in the new agent panel docs. This
fixes them by replacing `(/ai/` with `(./`

Release Notes:

- N/A

James Roberts created

2618191 Add TypeScript support to ESLint flat config (#30044)

Click to expand commit body
Sync ESLint flat config names with [the latest
docs](https://eslint.org/docs/latest/use/configure/configuration-files#configuration-file).
New ESLint has native support for `eslint.config.ts`

Release Notes:

- N/A

---------

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

Andrey Sitnik and Peter Tripp created

1a52099 debugger: Add inline value tests (#29815)

Click to expand commit body
## Context

This PR improves the accuracy of our inline values for Rust/Python. It
does this by only adding inline value hints to the last valid use of a
variable and checking whether variables are valid within a given scope
or not.

We also added tests for Rust/Python inline values and inline values
refreshing when stepping in a debug session.

### Future tasks
1. Handle functions that have inner functions defined within them.
2. Add inline values to variables that were used in inner scopes but not
defined in them.
3. Move the inline value provider trait and impls to the language trait
(or somewhere else).
4. Use Semantic tokens as the first inline value provider and fall back
to tree sitter
5. add let some variable statement, for loops, and function inline value
hints to Rust.
6. Make writing tests more streamlined. 
6.1 We should be able to write a test by only passing in variables,
language, source file, expected result, and stop position to a function.
7. Write a test that has coverage for selecting different stack frames. 

co-authored-by: Remco Smits \<djsmits12@gmail.com\>

Release Notes:

- N/A

---------

Co-authored-by: Remco Smits <djsmits12@gmail.com>

Anthony Eid and Remco Smits created

7bc3f74 Fix panel button context menu overlap with tooltip hint (#30108)

Click to expand commit body
This fix works by disabling the tooltip whenever the menu is being
rendered.

### Before

![image](https://github.com/user-attachments/assets/0b275931-fd1f-4748-88dd-cb76a52f8810)
### After

![image](https://github.com/user-attachments/assets/7260eb48-3a24-43ee-8df7-b6c48e8a4024)


Release Notes:

- Fix panel button tooltip overlapping with the panel button's right
click menu

Anthony Eid created

0276594 Use the console for errors too (#29992)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

f7e7712 Do not flicker when switching cmd-hovered words in terminal (#30098)

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


https://github.com/user-attachments/assets/4624c256-8dfb-48eb-a726-6cf130d946da

Terminal may update its hovered word way before reporting it to the
terminal view, and that processing the file check later.
Hence, store the terminal hover data in the terminal view and avoid
highlights when it's different from what the terminal has (as the source
of truth here).

In addition, now only does hover refreshes when the terminal hover
actually changes, not on every event report.

Release Notes:

- Fixed underline flicker when switching cmd-hovered words in terminal

Kirill Bulatov created

c19a5c2 Revert "Stop generating in the Agent panel when the user edits a previous message (#29915)" (#30092)

Click to expand commit body
This reverts commit ce053c9bff0699c922e62c0b3618249e0b9801b9.

Closes #ISSUE

Release Notes:

- N/A

Ben Brandt created

9711fb4 Fix zero-sized message editors when context strip is empty (#30079)

Click to expand commit body
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>

Antonio Scandurra , Ben Brandt , and Nathan Sobo created

c15e5d2 docs: Fix links to /ai/configuration (#30069)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

858d61a docs: Update old /assistant links (#30067)

Click to expand commit body
Take 2

Release Notes:

- N/A

Oleksiy Syvokon created

1fcd264 workspace: Fix inactive pane dimming (#29473)

Click to expand commit body
Closes #27173

Problem:

Active panes nested within axes were incorrectly receiving opacity
overlays, while inactive panes in nested structures would get multiple
overlays applied, making them appear darker than intended.

Solution:

I fixed this by distinguishing between leaf panes and axes in the
rendering pipeline, applying overlays only to elements that are both
leaf panes and not active, ensuring consistent visual treatment
regardless of their position in the hierarchy.

Release Notes:

- Fixed an issue where `inactive_opacity` settings would be applied to
panes multiple times and even to the active pane when nested within
another pane.

Ron Harel created

60d51d5 docs: fix redirects and update old /assistant links (#30065)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

03b635b Avoid panic when opening thread as markdown in non-local project (#30061)

Click to expand commit body
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.

Cole Miller created

f7511c3 docs: Follow up tweaks to AI docs (#30060)

Click to expand commit body
Follow up to https://github.com/zed-industries/zed/pull/29747

Release Notes:

- N/A

Danilo Leal created

264097e 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

795fadc docs: Overhaul AI documentation (#29747)

Click to expand commit body
To support the Agentic Editing launch. To dos before merging:

- [ ] Anything marked as `todo!` within `docs/src` (Anyone)
- [x] Check all internal links (Joe)
- Joe: I checked all links and fixed all aside from a few that I
annotated with `todo!` comments
- [ ] Update images (Danilo)
- [ ] Go over / show images of tool cards in agent panel overview
(Danilo)
- [ ] Point billing FAQ to new billing docs (Joe)
- [x] Redirects external links
    - [ ] Needs testing
- [x] Delete old docs
- [ ] Ensure all mentioned bindings use the `{#kb ...}` format and that
they are rendering correctly
- [ ] All agent-related actions are now `agent::` and not `assistant::`
- [x] Mention support of `.rules` files in `rules.md`

Release Notes:

- N/A

---------

Co-authored-by: Joseph T. Lyons <josephtlyons@gmail.com>
Co-authored-by: morgankrey <morgankrey@gmail.com>
Co-authored-by: Smit Barmase <37347831+smitbarmase@users.noreply.github.com>
Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>
Co-authored-by: Peter Tripp <peter@zed.dev>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

Danilo Leal , Joseph T. Lyons , morgankrey , Smit Barmase , Ben Kunkle , Peter Tripp , Ben Kunkle , Mikayla Maki , and Ben Brandt created

3897558 agent: Tweak onboarding modal copy (#30057)

Click to expand commit body
This PR tweaks the copy for the Agent's onboarding modal.

Release Notes:

- N/A

Marshall Bowers created

5539d82 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

0cdd8bd 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

ab3e5cd Bump Zed to v0.187 (#30052)

Click to expand commit body
Release Notes:

-N/A

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