Commit log

6c0eaf6 zed 0.200.3

Julia Ryan created

e9e376d Separate minidump crashes from panics (#36267)

Click to expand commit body
The minidump-based crash reporting is now entirely separate from our
legacy panic_hook-based reporting. This should improve the association
of minidumps with their metadata and give us more consistent crash
reports.

Release Notes:

- N/A

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

Julia Ryan and Max Brunsfeld created

78e56ce keymap_ui: Ensure keybind with empty arguments can be saved (#36393)

Click to expand commit body
Follow up to #36278 to ensure this bug is actually fixed. Also fixes
this on two layers and adds a test for the lower layer, as we cannot
properly test it in the UI.

Furthermore, this improves the error message to show some more context
and ensures the status toast is actually only shown when the keybind was
successfully updated: Before, we would show the success toast whilst
also showing an error in the editor.

Lastly, this also fixes some issues with the status toast (and
animations) where no status toast or no animation would show in certain
scenarios.

Release Notes:

- N/A

Finn Evers created

0367e93 onboarding: Fix minimap typo on editing page (#36143)

Click to expand commit body
This PR fixes a small typo on the onboarding editing page where it
should be "Minimap" instead of "Mini Map"

Release Notes:

- N/A

Finn Evers created

e2dec85 agent: Create checkpoint before/after every edit operation (#36253)

Click to expand commit body
1. Previously, checkpoints only appeared when an agent's edit happened
immediately after a user message. This is rare (agent usually collects
some context first), so they were almost never shown. This is now fixed.

2. After this change, a checkpoint is created after every edit
operation. So when the agent edits files five times in a single dialog
turn, we will now display five checkpoints.

As a bonus, it's now possible to undo only a part of a long agent
response.

Closes #36092, #32917

Release Notes:

- Create agent checkpoints more frequently (before every edit)

Oleksiy Syvokon created

4a0e8f0 agent_ui: Ensure that all configuration views get rendered with full width (#36362)

Click to expand commit body
Closes #36097

Release Notes:

- Fixed API key input fields getting shrunk in Agent Panel settings view
on low panel widths paired with high UI font sizes.

Piotr Osiewicz created

c2f0df9 Add capabilities to OpenAI-compatible model settings (#36370)

Click to expand commit body
### TL;DR
* Adds `capabilities` configuration for OpenAI-compatible models
* Relates to
https://github.com/zed-industries/zed/issues/36215#issuecomment-3193920491

### Summary
This PR introduces support for configuring model capabilities for
OpenAI-compatible language models. The implementation addresses the
issue that not all OpenAI-compatible APIs support the same features -
for example, Cerebras' API explicitly does not support
`parallel_tool_calls` as documented in their [OpenAI compatibility
guide](https://inference-docs.cerebras.ai/resources/openai#currently-unsupported-openai-features).

### Changes

1. **Model Capabilities Structure**:
- Added `ModelCapabilityToggles` struct for UI representation with
boolean toggle states
- Implemented proper parsing of capability toggles into
`ModelCapabilities`

2. **UI Updates**:
- Modified the "Add LLM Provider" modal to include checkboxes for each
capability
- Each OpenAI-compatible model can now be configured with its specific
capabilities through the UI

3. **Configuration File Structure**:
- Updated the settings schema to support a `capabilities` object for
each `openai_compatible` model
- Each capability (`tools`, `images`, `parallel_tool_calls`,
`prompt_cache_key`) can be individually specified per model

### Example Configuration

```json
{
  "openai_compatible": {
    "Cerebras": {
      "api_url": "https://api.cerebras.ai/v1",
      "available_models": [
        {
          "name": "gpt-oss-120b",
          "max_tokens": 131000,
          "capabilities": {
            "tools": true,
            "images": false,
            "parallel_tool_calls": false,
            "prompt_cache_key": false
          }
        }
      ]
    }
  }
}
```

### Tests Added

- Added tests to verify default capability values are correctly applied
- Added tests to verify that deselected toggles are properly parsed as
`false`
- Added tests to verify that mixed capability selections work correctly

Thanks to @osyvokon for the desired `capabilities` configuration
structure!


Release Notes:

- OpenAI-compatible models now have configurable capabilities (#36370;
thanks @calesennett)

---------

Co-authored-by: Oleksiy Syvokon <oleksiy@zed.dev>

Cale Sennett and Oleksiy Syvokon created

2bd6166 keymap_ui: Don't try to parse empty action arguments as JSON (#36278)

Click to expand commit body
Closes #ISSUE

Release Notes:

- Keymap Editor: Fixed an issue where leaving the arguments field empty
would result in an error even if arguments were optional

Ben Kunkle created

2ab445d zed 0.200.2

Joseph T. Lyons created

b96f76f openai: Don't send prompt_cache_key for OpenAI-compatible models (#36231)

Click to expand commit body
Some APIs fail when they get this parameter

Closes #36215

Release Notes:

- Fixed OpenAI-compatible providers that don't support prompt caching
and/or reasoning

Oleksiy Syvokon created

e9a4f67 openai: Don't send reasoning_effort if it's not set (#36228)

Click to expand commit body
Release Notes:

- N/A

Oleksiy Syvokon created

177cf12 project: Fix LSP TextDocumentSyncCapability dynamic registration (#36234)

Click to expand commit body
Closes #36213

Use `textDocument/didChange`
([docs](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_synchronization))
instead of `textDocument/synchronization`.

Release Notes:

- Fixed an issue where Dart projects were being formatted incorrectly by
the language server.

smit created

fda9369 Emit a `BreadcrumbsChanged` event when associated settings changed (#36177)

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

Release Notes:

- Fixed a bug where changing the `toolbar.breadcrumbs` setting didn't
immediately update the UI when saving the `settings.json` file.

Joseph T. Lyons created

08351cb Bump to 0.200.1 for @smitbarmase

Zed Bot created

ab41359 ci: Disable FreeBSD builds (#36140)

Click to expand commit body
Revert accidental change introduced in
[#35880](https://github.com/zed-industries/zed/pull/35880/files#diff-b803fcb7f17ed9235f1e5cb1fcd2f5d3b2838429d4368ae4c57ce4436577f03fL706)

Release Notes:

- N/A

smit created

d29341b copilot: Fix Copilot fails to sign in (#36138)

Click to expand commit body
Closes #36093

Pin copilot version to 1.354 for now until further investigation.

Release Notes:

- Fixes issue where Copilot failed to sign in.

Co-authored-by: MrSubidubi <dev@bahn.sh>

smit and MrSubidubi created

189ea49 v0.200.x preview

Joseph T. Lyons created

0b9c9f5 onboarding: Make Welcome page persistent (#36127)

Click to expand commit body
Release Notes:

- N/A

Anthony Eid created

2da80e4 emmet: Use `index.js` directly to launch language server (#36126)

Click to expand commit body
This PR updates the Emmet extension to use the `index.js` file directly
to launch the language server.

This provides better cross-platform support, as we're not relying on
platform-specific `.bin` wrappers.

Release Notes:

- N/A

Marshall Bowers created

d9a94a5 onboarding: Remove feature flag and old welcome crate (#36110)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: MrSubidubi <dev@bahn.sh>
Co-authored-by: Anthony <anthony@zed.dev>

Danilo Leal , MrSubidubi , and Anthony created

a7442d8 onboarding: Add more telemetry (#36121)

Click to expand commit body
1. Welcome Page Open
2. Welcome Nav clicked
3. Skip clicked
4. Font changed
5. Import settings clicked
6. Inlay Hints
7. Git Blame
8. Format on Save
9. Font Ligature
10. Ai Enabled
11. Ai Provider Modal open


Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Anthony Eid and Marshall Bowers created

6c1f195 Enhance icon detection for files with custom suffixes (#34170)

Click to expand commit body
Fixes custom file suffixes (module.ts) of some icon themes like: 

- **Symbols Icon Theme** 
<img width="212" alt="image"
src="https://github.com/user-attachments/assets/419ba1b4-9d8e-46cd-891b-62fb63a8c5ae"
/>

- **Bearded Icon Theme**
<img width="209" alt="image"
src="https://github.com/user-attachments/assets/72974fce-fa72-4368-8d96-7feea7b59b7a"
/>

Release Notes:

- Fixed icon detection for files with custom suffixes like `module.ts`
that are overwritten by the language's icon `.ts`

Gilmar Sales created

23cd5b5 agent2: Initial infra for checkpoints and message editing (#36120)

Click to expand commit body
Release Notes:

- N/A

---------

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

Ben Brandt and Antonio Scandurra created

f4b0332 Hoist `rodio` to workspace level (#36113)

Click to expand commit body
This PR hoists `rodio` up to a workspace dependency.

Release Notes:

- N/A

Marshall Bowers created

abde730 onboarding: Adjust page layout (#36112)

Click to expand commit body
Fix max-height and make it scrollable as well, if needed.

Release Notes:

- N/A

Danilo Leal created

2b3dbe8 agent2: Allow tools to be provider specific (#36111)

Click to expand commit body
Our WebSearch tool requires access to a Zed provider

Release Notes:

- N/A

Ben Brandt created

7f1a5c6 ui: Make toggle button group responsive (#36100)

Click to expand commit body
This PR improves the toggle button group to be more responsive across
different layouts. This is accomplished by ensuring each button takes up
the same amount of space in the parent containers layout.

Ideally, this should be done with grids instead of a flexbox container,
as this would be much better suited for this purpose. Yet, since we lack
support for this, we go with this route for now.

| Before | After |
| --- | --- |
| <img width="1608" height="1094" alt="Bildschirmfoto 2025-08-13 um 11
24 26"
src="https://github.com/user-attachments/assets/2a4b5a59-6483-4f79-8fcb-e26e22071795"
/> | <img width="1608" height="1094" alt="Bildschirmfoto 2025-08-13 um
11 29 36"
src="https://github.com/user-attachments/assets/e6402729-6a8f-4a44-b79e-a569406edfff"
/> |


Release Notes:

- N/A

Finn Evers created

6307105 Don't show default shell breadcrumbs (#36070)

Click to expand commit body
Release Notes:

- N/A

localcc created

8d63312 Small worktree scan style fixes (#36104)

Click to expand commit body
Part of https://github.com/zed-industries/zed/issues/35780

Release Notes:

- N/A

Kirill Bulatov created

81474a3 Change default pane split directions (#36101)

Click to expand commit body
Closes #32538

This PR adjusts the defaults for splitting panes along the horizontal
and vertical actions. Based upon user feedback, the adjusted values seem
more reasonable as default settings, hence, go with these instead.

Release Notes:

- Changed the default split directions for the `pane: split horizontal`
and `pane: split vertical` actions. You can restore the old behavior by
modifying the `pane_split_direction_horizontal` and
`pane_split_direction_vertical` values in your settings.

Finn Evers created

db497ac Agent2 Model Selector (#36028)

Click to expand commit body
Release Notes:

- N/A

---------

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

Ben Brandt and Bennet Bo Fenner created

8ff2e3e language_models: Add reasoning_effort for custom models (#35929)

Click to expand commit body
Release Notes:

- Added `reasoning_effort` support to custom models

Tested using the following config:
```json5
  "language_models": {
    "openai": {
      "available_models": [
        {
          "name": "gpt-5-mini",
          "display_name": "GPT 5 Mini (custom reasoning)",
          "max_output_tokens": 128000,
          "max_tokens": 272000,
          "reasoning_effort": "high" // Can be minimal, low, medium (default), and high
        }
      ],
      "version": "1"
    }
  }
```

Docs:
https://platform.openai.com/docs/api-reference/chat/create#chat_create-reasoning_effort

This work could be used to split the GPT 5/5-mini/5-nano into each of
it's reasoning effort variant. E.g. `gpt-5`, `gpt-5 low`, `gpt-5
minimal`, `gpt-5 high`, and same for mini/nano.

Release Notes:

* Added a setting to control `reasoning_effort` in OpenAI models

Cretezy created

96093aa onboarding: Link git clone button with action (#35999)

Click to expand commit body
Release Notes:

- N/A

Anthony Eid created

dc87f4b Add 4.1 to models page (#36086)

Click to expand commit body
Adds opus 4.1 to models page in docs

Release Notes:

- N/A

morgankrey created

1957e1f Add locations to native agent tool calls, and wire them up to UI (#36058)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Conrad <conrad@zed.dev>

Cole Miller and Conrad created

d78bd8f Fix external agent still being marked as generating after error response (#35992)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

32975c4 windows: Fix auto update failure when launching from the cli (#34303)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

张小白 and Max Brunsfeld created

658d56b cli: Do not rely on Spotlight for --channel support (#36082)

Click to expand commit body
I've recently disabled Spotlight on my Mac and found that this code path
(which I rely on a lot) ceased working for me.

Closes #ISSUE

Release Notes:

- N/A

Piotr Osiewicz created

13a2c53 onboarding: Fix onboarding font context menu not scrolling to selected entry open (#36080)

Click to expand commit body
The fix was changing the picker kind we used from `list` variant to a
`uniform` list

`Picker::list()` still has a bug where it's unable to scroll to it's
selected entry when the list is first openned. This is likely caused by
list not knowing the pixel offset of each element it would have to
scroll pass to get to the selected element


Release Notes:

- N/A

Co-authored-by: Danilo Leal <daniloleal09@gmail.com>

Anthony Eid and Danilo Leal created

cd234e2 Eliminate host targets from rust toolchain file (#36077)

Click to expand commit body
Only cross-compilation targets need to be listed in the rust toolchain.
So we only need to list the wasi target for extensions, and the musl
target for the linux remote server. Previously, we were causing mac,
linux, and windows target to get installed onto all developer
workstations, which is unnecessary.

Release Notes:

- N/A

Max Brunsfeld created

b564b1d outline: Fix nesting in multi-name declarations in Go and C++ (#36076)

Click to expand commit body
An alternative might be to adjust the logic to not nest items when their
ranges are the same, but then clicking them doesn't work properly /
moving the cursor does not change which is selected. This could probably
be made to work with some extra logic there, but it seems overkill.

The downside of fixing it at the query level is that other parts of the
declaration are not inside the item range. This seems to be fine for
single line declarations - the nearest outline item is highlighted.
However, if a part of the declaration is not included in an item range
and is on its own line, then no outline item is highlighted.

Release Notes:

- Outline Panel: Fixed nesting of var and field declarations with
multiple identifiers in Go and C++

C++ before:

<img width="743" height="227" alt="image"
src="https://github.com/user-attachments/assets/af1a1d76-ecdc-4999-ae9c-95591726ccca"
/>

C++ after:

<img width="795" height="250" alt="image"
src="https://github.com/user-attachments/assets/49667ed3-e088-48b3-a9f0-6a119b5e7648"
/>

Go before:

<img width="859" height="306" alt="image"
src="https://github.com/user-attachments/assets/ecc7530a-ca16-4f37-b8d1-60687f178b12"
/>

Go after:

<img width="900" height="334" alt="image"
src="https://github.com/user-attachments/assets/d741cfb0-59e5-4d27-bd6a-f422204dc972"
/>

Michael Sloan created

48ae02c Don't retry for PaymentRequiredError or ModelRequestLimitReachedError (#36075)

Click to expand commit body
Release Notes:

- Don't auto-retry for "payment required" or "model request limit
reached" errors (since retrying won't help)

Richard Feldman created

255bb0a telemetry: Reduce the amount of telemetry events fired (#36060)

Click to expand commit body
1. Extension loaded events are now condensed into a single event with a
Vec of (extension_id, extension_version) called id_and_versions.
2. Editor Saved & AutoSaved are merged into a singular event with a type
field that is either "manual" or "autosave”.
3. Editor Edited event will only fire once every 10 minutes now.
4. Editor Closed event is fired when an editor item (tab) is removed
from a pane



cc: @katie-z-geer 

Release Notes:

- N/A

---------

Co-authored-by: Marshall Bowers <git@maxdeviant.com>

Anthony Eid and Marshall Bowers created

628b105 agent2: Fix some UI glitches (#36067)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

7167f19 open_ai: Send `prompt_cache_key` to improve caching (#36065)

Click to expand commit body
Release Notes:

- N/A

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

Oleksiy Syvokon and Michael Sloan created

7ff0f15 open_ai: Log inputs that caused parsing errors (#36063)

Click to expand commit body
Release Notes:

- N/A

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

Oleksiy Syvokon and Michael Sloan created

7df8e05 Ignore whitespace in git blame invocation (#35960)

Click to expand commit body
This works around a bug wherein inline git blame is unavailable for
files with CRLF line endings. At the same time, this prevents users from
seeing whitespace-only changes in the editor's git blame

Closes #35836

Release Notes:

- N/A *or* Added/Fixed/Improved ...

Filip Binkiewicz created

d030bb6 emmet: Bump to v0.0.5 (#36066)

Click to expand commit body
This PR bumps the Emmet extension to v0.0.5.

Changes:

- https://github.com/zed-industries/zed/pull/35599
- https://github.com/zed-industries/zed/pull/36064

Release Notes:

- N/A

Marshall Bowers created

b62f959 windows: Fix message loop using too much CPU (#35969)

Click to expand commit body
Closes #34374

This is a leftover issue from #34374. Back in #34374, I wanted to use
DirectX to handle vsync, after all, that’s how 99% of Windows apps do
it. But after discussing with @maxbrunsfeld , we decided to stick with
the original vsync approach given gpui’s architecture.

In my tests, there’s no noticeable performance difference between this
PR’s approach and DirectX vsync. That said, this PR’s method does have a
theoretical advantage, it doesn’t block the main thread while waiting
for vsync.


The only difference is that in this PR, on Windows 11 we use a newer API
instead of `DwmFlush`, since Chrome’s tests have shown that `DwmFlush`
has some problems. This PR also removes the use of
`MsgWaitForMultipleObjects`.


Release Notes:

- N/A

---------

Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>

张小白 and Max Brunsfeld created

3a04657 emmet: Add workaround for leading `/` on Windows paths (#36064)

Click to expand commit body
This PR adds a workaround for the leading `/` on Windows paths
(https://github.com/zed-industries/zed/issues/20559).

Release Notes:

- N/A

Marshall Bowers created