Commit log

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

42b7dbe Remove beta tag from cursor keymap (#36061)

Click to expand commit body
Release Notes:

- N/A

Co-authored-by: Anthony Eid <hello@anthonyeid.me>

Mikayla Maki and Anthony Eid created

bfbb184 Fix management of rust-analyzer binaries on windows (#36056)

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


* Avoid removing the just-downloaded exe
* Invoke exe within nested version directory

Release Notes:

- Fix issue where Rust-analyzer was not installed correctly on windows

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Max Brunsfeld and Lukas Wirth created

978b75b vim: Support filename in :tabedit and :tabnew commands (#35775)

Click to expand commit body
Update both `:tabedit` and `:tabnew` commands in order to support a
single argument, a filename, that, when provided, ensures that the new
tab either opens an existing file or associates the new tab with the
filename, so that when saving the buffer's content, the file is created.

Relates to #21112 

Release Notes:

- vim: Added support for filenames in both `:tabnew` and `:tabedit` commands

Dino created

1f20d5b Fix nightly icon (#36051)

Click to expand commit body
Release Notes:

- N/A

localcc created

9de04ce language_models: Add vision support for OpenAI gpt-5, gpt-5-mini, and gpt-5-nano models (#36047)

Click to expand commit body
## Summary
Enable image processing capabilities for GPT-5 series models by updating
the `supports_images()` method.

## Changes
- Add vision support for `gpt-5`, `gpt-5-mini`, and `gpt-5-nano` models
- Update `supports_images()` method in
`crates/language_models/src/provider/open_ai.rs`

## Models with Vision Support (after this PR)
- gpt-4o
- gpt-4o-mini
- gpt-4.1
- gpt-4.1-mini
- gpt-4.1-nano
- gpt-5 (new)
- gpt-5-mini (new)
- gpt-5-nano (new)
- o1
- o3
- o4-mini

This brings GPT-5 vision capabilities in line with other OpenAI models
that support image processing.

Release Notes:

- Added vision support for OpenAI models

Rishabh Bothra created

d8fc536 docs: Update OpenAI models list (#36050)

Click to expand commit body
Closes #ISSUE

Release Notes:

- N/A

Oleksiy Syvokon created

39c19ab Update windows alpha GitHub Issue template (#36049)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

b105028 agent2: Add custom UI for resource link content blocks (#36005)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Agus Zubiaga <agus@zed.dev>

Danilo Leal and Agus Zubiaga created

d216244 python: Fix venv activation in remote projects (#36043)

Click to expand commit body
Crux of the issue was that we were checking whether a venv activation
script exists on local filesystem, which is obviously wrong for remote
projects. This PR also does away with `source` for venv activation in
favor of `.`, which is compliant with `sh`

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Closes #34648

Release Notes:

- Python: fixed activation of virtual environments in terminals for
remote projects

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Piotr Osiewicz and Lukas Wirth created

360d4db python: Fix flickering in the status bar (#36039)

Click to expand commit body
- **util: Have maybe! use async closures instead of async blocks**
- **python: Fix flickering of virtual environment indicator in status
bar**

Closes #30723

Release Notes:

- Python: Fixed flickering of the status bar virtual environment
indicator

---------

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Piotr Osiewicz and Lukas Wirth created

4495337 Include mention context in acp-based native agent (#36006)

Click to expand commit body
Also adds data-layer support for symbols, thread, and rules.

Release Notes:

- N/A

---------

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

Agus Zubiaga and Cole Miller created

2444321 Support profiles in agent2 (#36034)

Click to expand commit body
We still need a profile selector.

Release Notes:

- N/A

---------

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

Antonio Scandurra and Ben Brandt created

13bf45d python: Fix toolchain serialization not working with multiple venvs in a single worktree (#36035)

Click to expand commit body
Our database did not allow more than entry for a given toolchain for a
single worktree (due to incorrect primary key)

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Release Notes:

- Python: Fixed toolchain selector not working with multiple venvs in a
single worktree.

Co-authored-by: Lukas Wirth <lukas@zed.dev>

Piotr Osiewicz and Lukas Wirth created

b61b714 go: Add support for running sub-tests in table tests (#35657)

Click to expand commit body
One killer feature for the Go runner is to execute individual subtests
within a table-test easily. Goland has had this feature forever, while
in VSCode this has been notably missing.


https://github.com/user-attachments/assets/363417a2-d1b1-43ca-8377-08ce062d6104


Release Notes:

- Added support to run Go table-test subtests.

Lukas Spiss created

cc5eb24 zeta: Add latency telemetry for 1% of edit predictions (#36020)

Click to expand commit body
Release Notes:

- N/A

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

Michael Sloan and Oleksiy created

52a9101 vim: Add ctrl-y/e in insert mode (#36017)

Click to expand commit body
Closes #17292

Release Notes:

- vim: Added ctrl-y/ctrl-e in insert mode to copy the next character
from the line above or below

Conrad Irwin created

1a79883 Fix running vim tests with --features neovim (#36014)

Click to expand commit body
This was broken incidentally in
https://github.com/zed-industries/zed/pull/33417

A better fix would be to fix app shutdown to take control of the
executor so that we *can* run
foreground tasks; but that is a bit fiddly (draft #36015) 

Release Notes:

- N/A

Conrad Irwin created

481e3e5 Ignore capability registrations with empty capabilities (#36000)

Kirill Bulatov created

b35e696 docs: Add a missing comma in Rust debugging JSON (#36007)

Click to expand commit body
Update the Rust debugging doc to include a missing comma in one of the
example JSON's.

Matt created

add67bd Remove unnecessary argument from Vim#update_editor (#36001)

Click to expand commit body
Release Notes:

- N/A

Conrad Irwin created

fa3d0aa gpui: Allow selection of "Services" menu independent of menu title (#34115)

Click to expand commit body
Release Notes:

- N/A

---

In the same vein as #29538, the "Services" menu on macOS depended on the
text being exactly "Services", not allowing for i18n of the menu name.

This PR introduces a new menu type called `OsMenu` that defines a
special menu that can be populated by the system. Currently, it takes
one enum value, `ServicesMenu` that tells the system to populate its
contents with the items it would usually populate the "Services" menu
with.

An example of this being used has been implemented in the `set_menus`
example:
`cargo run -p gpui --example set_menus`

---

Point to consider:

In `mac/platform.rs:414` the existing code for setting the "Services"
menu remains for backwards compatibility. Should this remain now that
this new method exists to set the menu, or should it be removed?

---------

Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com>

Victor Tran and Mikayla Maki created

094e878 agent2: Refine terminal tool call display (#35984)

Click to expand commit body
Release Notes:

- N/A

Danilo Leal created

54d4665 Add windows issue template (#35998)

Click to expand commit body
Release Notes:

- N/A

Joseph T. Lyons created

2c84e33 Fix icon padding (#35990)

Click to expand commit body
Release Notes:

- N/A

localcc created

bb6ea22 agent2: Port more tools (#35987)

Click to expand commit body
Release Notes:

- N/A

---------

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

Bennet Bo Fenner , Ben Brandt , and Antonio Scandurra created

365b5aa Centralize `always_allow` logic when authorizing agent2 tools (#35988)

Click to expand commit body
Release Notes:

- N/A

---------

Co-authored-by: Cole Miller <cole@zed.dev>
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>

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

56c4992 Fix underline flickering (#35989)

Click to expand commit body
Closes #35559

Release Notes:

- Fixed underline flickering

localcc created

76b95d4 Try to diagnose memory access violation in Windows tests (#35926)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

39dfd52 python: Create DAP download directory sooner (#35986)

Click to expand commit body
Closes #35980

Release Notes:

- Fixed Python Debug sessions not starting up when a session is started
up for the first time.

Piotr Osiewicz created

42bf5a1 Delay rendering tool call diff editor until it has a revealed range (#35901)

Click to expand commit body
Release Notes:

- N/A

Cole Miller created

7965052 Make SwitchField component clickable from the keyboard when focused (#35830)

Click to expand commit body
Release Notes:

- N/A

Anthony Eid created

62270b3 git: Add ability to clone remote repositories from Zed (#35606)

Click to expand commit body
This PR adds preliminary git clone support through using the new
`GitClone` action. This works with SSH connections too.

- [x] Get backend working
- [x] Add a UI to interact with this

Future follow-ups:
- Polish the UI
- Have the path select prompt say "Select Repository clone target"
instead of “Open”
- Use Zed path prompt if the user has that as a setting
- Add support for cloning from a user's GitHub repositories directly

Release Notes:

- Add the ability to clone remote git repositories through the `git:
Clone` action

---------

Co-authored-by: hpmcdona <hayden_mcdonald@brown.edu>

Anthony Eid and hpmcdona created

12084b6 Fix keys not being sent to terminal (#35979)

Click to expand commit body
Fixes #35057

Release Notes:

- Fix input being sent to editor/terminal when pending keystrokes are
resolved

Conrad Irwin created

6478e66 Stricter `disable_ai` overrides (#35977)

Click to expand commit body
Settings overrides (e.g. local project settings, server settings) can no
longer change `disable_ai` to `false` if it was `true`; they can only
change it to `true`. In other words, settings can only cause AI to be
*more* disabled, they can't undo the user's preference for no AI (or the
project's requirement not to use AI).

Release Notes:

- Settings overrides (such as local project settings) can now only
override `disable_ai` to become `true`; they can no longer cause
otherwise-disabled AI to become re-enabled.

---------

Co-authored-by: Assistant <assistant@anthropic.com>
Co-authored-by: David Kleingeld <git@davidsk.dev>

Richard Feldman , Assistant , and David Kleingeld created

abb64d2 Ignore project-local settings for always_allow_tool_actions (#35976)

Click to expand commit body
Now `always_allow_tool_actions` is only respected as the user's global
setting, not as an overridable project-local setting. This way, you
don't have to worry about switching into a project (or switching
branches within a project) and discovering that suddenly your tool calls
no longer require confirmation.

Release Notes:

- Removed always_allow_tool_actions from project-local settings (it is
now global-only)

Co-authored-by: David Kleingeld <git@davidsk.dev>

Richard Feldman and David Kleingeld created

8dbded4 agent2: Add now, grep, and web search tools (#35974)

Click to expand commit body
Release Notes:

- N/A

---------

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

Ben Brandt , Bennet Bo Fenner , and Antonio Scandurra created

ebcce87 Port some more tools to `agent2` (#35973)

Click to expand commit body
Release Notes:

- N/A

Antonio Scandurra created

d5ed569 zeta: Reduce request payload (#35968)

Click to expand commit body
1. Don't send diagnostics if there are more than 10 of them. This fixes
an issue with sending 100kb requests for projects with many warnings.

2. Don't send speculated_output and outline, as those are currently
unused.


Release Notes:

- Improved edit prediction latency

Oleksiy Syvokon created

a88c533 language: Fix rust-analyzer removing itself on download (#35971)

Click to expand commit body
Release Notes:

- N/A\

Lukas Wirth created

702a95f Fix underline DPI (#35816)

Click to expand commit body
Release Notes:

- Fixed wavy underlines looking inconsistent on different displays

localcc created

086ea3c Port `terminal` tool to agent2 (#35918)

Click to expand commit body
Release Notes:

- N/A

---------

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

Antonio Scandurra and Ben Brandt created

422e0a2 project: Add more dynamic capability registrations for LSP (#35306)

Click to expand commit body
Closes #34204

Adds the ability to dynamically register and unregister code actions for
language servers such as Biome.

See more:
https://github.com/zed-industries/zed/issues/34204#issuecomment-3134227856

Release Notes:

- Fixed an issue where the Biome formatter was always used even when
`require_config_file` was set to true and the project had no config
file.

---------

Co-authored-by: Kirill Bulatov <kirill@zed.dev>

smit and Kirill Bulatov created

e132c7c dap_adapters: Log CodeLldb version fetching errors (#35943)

Click to expand commit body
Release Notes:

- N/A

Lukas Wirth created