b2f32c5
agent: Fix OpenAI models not getting first message (#30941)
Click to expand commit body
Closes #30733
Release Notes:
- N/A
Oleksiy Syvokon
created
186660e
agent: Fix path checks in edit_file (#30909)
Click to expand commit body
- Fixed bug where creating a file failed when the root path wasn't
provided
- Many new checks for the edit_file path
Closes #30706
Release Notes:
- N/A
Oleksiy Syvokon
created
6b0d58d
agent: Fix unnecessary "tool result too long" (#30798)
Cherry-picked Fix project search unsaved edits (#30864)
Closes #30820
Release Notes:
- Fixed an issue where entering a new search in the project search would
drop unsaved edits in the project search buffer
---------
Co-authored-by: Mark Janssen <20283+praseodym@users.noreply.github.com>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Mark Janssen <20283+praseodym@users.noreply.github.com>
gcp-cherry-pick-bot[bot]
,
Ben Kunkle
, and
Mark Janssen
created
2c86118
debugger: Prevent pane context menu from showing on secondary mouse click in list entries (#30781)
Click to expand commit body
This PR prevents the debug panel pane context menu from showing when you
click your secondary mouse button in **stackframe**, **breakpoint** and
**module** list entries.
Release Notes:
- N/A
de30643
debugger: Make the stack frame list and module list keyboard-navigable (#30682)
Click to expand commit body
- Switch stack frame list and module list to `UniformList` to access
scrolling behavior
- Implement `menu::` navigation actions
Release Notes:
- Debugger Beta: Added support for menu navigation actions (`ctrl-n`,
`ctrl-p`, etc.) in the stack frame list and module list.
Cole Miller
created
235fd06
workspace: Remove default keybindings for close active dock (cherry-pick #30691) (#30736)
Click to expand commit body
Cherry-picked workspace: Remove default keybindings for close active
dock (#30691)
Release Notes:
- N/A
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
gcp-cherry-pick-bot[bot]
and
Ben Brandt
created
c408200
Fix rejecting overwritten files if the agent previously edited them (cherry-pick #30744) (#30745)
Click to expand commit body
Cherry-picked Fix rejecting overwritten files if the agent previously
edited them (#30744)
Release Notes:
- Fixed rejecting overwritten files if the agent had previously edited
them.
Co-authored-by: Antonio Scandurra <me@as-cii.com>
gcp-cherry-pick-bot[bot]
and
Antonio Scandurra
created
Before

After

Release Notes:
- N/A
Thread doesn't run pending tools when `stop_reason` is not `ToolUse`.
Perhaps we should change that so that it always runs pending tools if
there are some, but for now this change just fixes setting `stop_reason`
for Google models.
Release Notes:
- N/A
Oleksiy Syvokon
created
1c638a1
agent: Don't duplicate recommended models in all models list (#30692)
1077f27
debugger: Fix launch picker program arg not using relative paths (#30680)
Click to expand commit body
Release Notes:
- N/A
Anthony Eid
created
f4eea0d
debugger: Fix panics when debugging with inline values or confirming in console (#30677)
Click to expand commit body
The first panic was caused by an unwrap that assumed a file would always
have a root syntax node.
The second was caused by a double lease panic when clicking enter in the
debug console while there was a completion menu open
Release Notes:
- N/A
Closes #ISSUE
Release Notes:
- Breaking change: The actions used while developing Zed have been
renamed from `debug:` to `dev:` to avoid confusion with the new debugger
feature:
- - `dev::OpenDebugAdapterLogs`
- - `dev::OpenSyntaxTreeView`
- - `dev::OpenThemePreview`
- - `dev::OpenLanguageServerLogs`
- - `dev::OpenKeyContextView`
255d8f7
agent: Overwrite files more cautiously (#30649)
Click to expand commit body
1. The `edit_file` tool tended to use `create_or_overwrite` a bit too
often, leading to corruption of long files. This change replaces the
boolean flag with an `EditFileMode` enum, which helps Agent make a more
deliberate choice when overwriting files.
With this change, the pass rate of the new eval increased from 10% to
100%.
2. eval: Added ability to run eval on top of an existing thread. Threads
can now be loaded from JSON files in the `SerializedThread` format,
which makes it easy to use real threads as starting points for
tests/evals.
3. Don't try to restore tool cards when running in headless or eval mode
-- we don't have a window to properly do this.
Release Notes:
- N/A
Oleksiy Syvokon
created
22f76ac
windows: Remove unneeded ranges for `replace_and_mark_text_in_range` (#30668)
Click to expand commit body
Release Notes:
- N/A
张小白
created
25cc05b
Use `Vec` instead of `SmallVec` for `glyphs` field of `ShapedRun` (#30664)
Click to expand commit body
This glyphs field is usually larger than 8 elements, and SmallVec is not
efficient when it cannot store the value inline.
This change also adds precise glyphs run preallocation in some places
`ShapedRun` is constructed.
Release Notes:
- N/A
Michael Sloan
created
a4766e2
Add tool result image support to Gemini models (#30647)
Click to expand commit body
Release Notes:
- Add tool result image support to Gemini models
- Focus the console's query bar (if it exists) when focusing the console
- Fix incorrect focus handles used for the console and terminal at the
`Subview` level
Release Notes:
- N/A
Co-authored-by: Piotr <piotr@zed.dev>
Co-authored-by: Anthony <anthony@zed.dev>
Cole Miller
,
Piotr
, and
Anthony
created
f1fe505
debugger: Show language icons in debug scenario picker (#30662)
Click to expand commit body
We attempt to resolve the language name in this order
1. Based on debug adapter if they're for a singular language e.g. Delve
2. File extension if it exists
3. If a language name exists within a debug scenario's label
In the future I want to use locators to also determine the language as
well and refresh scenario list when a new scenario has been saved
Release Notes:
- N/A
2b74163
context_editor: Allow copying entire line when selection is empty (#30612)
Click to expand commit body
Closes #27879
Release Notes:
- Allow copying entire line when selection is empty in text threads
Bennet Bo Fenner
created
71ea7ae
Misc optimization/cleanup of use of Cosmic Text on Linux (#30658)
Click to expand commit body
* Use cosmic_text `metadata` attr to write down the `FontId` from the
input run to avoid searching the list of fonts when laying out every
glyph.
* Instead of checking on every glyph if `postscript_name` is an emoji
font, just store `is_known_emoji_font`.
* Clarify why `font_id_for_cosmic_id` is used, and when its use is
valid.
Release Notes:
- N/A
Release Notes:
- N/A
---------
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Remco Smits
and
Anthony Eid
created
f98c6fb
Update panels serialization from global to per-workspace (#30652)
Click to expand commit body
Closes #27834
This PR changes project panel, outline panel and collab panel
serialization from global to per-workspace, so configurations are
restored only within the same workspace. Handles remote workspaces too.
Opening a new window will start with a fresh panel defaults e.g. width.
Release Notes:
- Improved project panel, outline panel, and collab panel to persist
width on a per-workspace basis. New windows will use the width specified
in the `default_width` setting.
Smit Barmase
created
1ace5a2
editor: Fix signature hover popover incorrect width instead of adapting to its content (#30646)
Click to expand commit body
Before:
<img width="935" alt="Screenshot 2025-05-13 at 18 03 21"
src="https://github.com/user-attachments/assets/5320e559-7c60-4ad6-8ab6-99dcbcd1d42e"
/>
After:
<img width="349" alt="Screenshot 2025-05-13 at 18 45 21"
src="https://github.com/user-attachments/assets/98412e13-b879-490a-a1b4-88f97bb84774"
/>
----
Release Notes:
- Fixed issue where signature popover displayed at incorrect width
instead of adapting to its content.
----
cc @smitbarmase
Stanislav Alekseev
created
dd65946
Add image input support for OpenAI models (#30639)
Click to expand commit body
Release Notes:
- Added input image support for OpenAI models
This PR adds the ability to expand a debugger stack trace into a multi
buffer and view each frame as it's own excerpt.
Release Notes:
- N/A
---------
Co-authored-by: Remco Smits <djsmits12@gmail.com>
- **Show relevant tasks in debugger: start**
- **Add history too**
Closes #ISSUE
Release Notes:
- N/A
---------
Co-authored-by: Cole <cole@zed.dev>
Co-authored-by: Anthony <anthony@zed.dev>
Conrad Irwin
,
Cole
, and
Anthony
created
7eb226b
docs: Add docs for `hover_popover_delay` and update hover delay (#30620)
Click to expand commit body
- Add docs for `hover_popover_delay`.
- Set `hover_popover_delay` to `300` from `350` which matches [VSCode's
hover
delay](https://github.com/microsoft/vscode/blob/ed48873ba23ae0a06a0eafb328ca1ce62b7d4b72/src/vs/editor/common/config/editorOptions.ts#L2219).
Release Notes:
- Added `hover_popover_delay` to settings which determines time to wait
in milliseconds before showing the informational hover box.
This is very basic support for them. There are a number of other TODOs
before this is really a first-class supported feature, so not adding any
release notes for it; for now, this PR just makes it so that if
read_file tries to read a PNG (which has come up in practice), it at
least correctly sends it to Anthropic instead of messing up.
This also lays the groundwork for future PRs for more first-class
support for images in tool calls across more image file formats and LLM
providers.
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Co-authored-by: Agus Zubiaga <agus@zed.dev>
Richard Feldman
,
Agus Zubiaga
, and
Agus Zubiaga
created
f01af00
Update nixpkgs, add direnv to gitignore (#30292)
Click to expand commit body
This also moves nixpkgs to use `channels.nixos.org` since those tarballs
are 30mb in size as compared to 45mb github ones
Release Notes:
- N/A
----
cc @P1n3appl3
Stanislav Alekseev
created
01488c4
Fix project search focus not toggling between query and results on ESC (#30613)
Click to expand commit body
Before:
https://github.com/user-attachments/assets/dc5b7ab3-b9bc-4aa3-9f0c-1694c41ec7e7
After:
https://github.com/user-attachments/assets/8087004e-c1fd-4390-9f79-b667e8ba874b
Release Notes:
- Fixed project search focus not toggling between query and results on
ESC