c294000
Bump to 0.181.8 for @bennetbo
Zed Bot created
c294000
Bump to 0.181.8 for @bennetbo
Zed Bot created
147d262
gemini: Fix "invalid argument" error when request contains no tools (cherry-pick #28747) (#28749)
Cherry-picked gemini: Fix "invalid argument" error when request contains
no tools (#28747)
When we do not have any tools, we want to set the `tools` field to
`None`
Release Notes:
- Fixed an issue where Gemini requests would sometimes return a Bad
Request ("Invalid argument...")
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
gcp-cherry-pick-bot[bot] and Bennet Bo Fenner created
f295c0c
zed 0.181.7
Peter Tripp created
62edeb0
Add support for OpenAI GPT-4.1 models (#28708)
Release Notes: - Add support for OpenAI GPT-4.1 via Copilot Chat and OpenAI API --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Umesh Yadav , Danilo Leal , and Bennet Bo Fenner created
95e8684
copilot_chat: Add Gemini 2.5 Pro support to Copilot Chat (#28660)
Richard Hao created
73f621e
Clean up environment loading a bit (cherry-pick #28356) (#28698)
Cherry-picked Clean up environment loading a bit (#28356) Closes #ISSUE Release Notes: - N/A --------- Co-authored-by: Cole Miller <cole@zed.dev>
gcp-cherry-pick-bot[bot] and Cole Miller created
9f6eac7
Backport git store bugfix to v0.181.x (#28592)
Closes #ISSUE Release Notes: - Fixed a bug that could cause the staged status of entries in the git panel to be stale.
Cole Miller created
7440be5
zed 0.181.6
Peter Tripp created
c1352e4
Fix rustls in Cargo.lock
Peter Tripp created
bfd7efc
Try to weak-link ScreenCaptureKit always (#28585)
Closes #ISSUE Release Notes: - N/A *or* Added/Fixed/Improved ...
Conrad Irwin created
6a9095f
Reapply support for X11 screenshare (#28160)
Reapplies #27807 after [revert due to not building on ARM](https://github.com/zed-industries/zed/pull/28141) by updating scap to include [a fix to its build on ARM](https://github.com/zed-industries/scap/commit/08f0a01417505cc0990b9931a37e5120db92e0d0) Release Notes: - N/A --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Michael Sloan and Marshall Bowers created
b969a66
gpui: Use NSOperatingSystemVersion provided by cocoa (#28055)
Use the `NSOperatingSystemVersion` struct provided by the cocoa crate instead of our own. Additionally we can directly use `isOperatingSystemAtLeastVersion` instead of manually implementing version comparison logic. The `isOperatingSystemAtLeastVersion` instance method has been available since MacOS 10.10, which released a decade ago. Documentation for `isOperatingSystemAtLeastVersion `: https://developer.apple.com/documentation/foundation/nsprocessinfo/1414876-isoperatingsystematleastversion Release Notes: - N/A
tidely created
a86647d
Fix a panic in the git store (cherry-pick #28590) (#28594)
Cherry-picked Fix a panic in the git store (#28590) Closes #ISSUE Release Notes: - Fixed a panic that could occur when git statuses were updated. Co-authored-by: Cole Miller <cole@zed.dev>
gcp-cherry-pick-bot[bot] and Cole Miller created
0e316a5
Bump rustls (cherry-pick #28531) (#28534)
Cherry-picked Bump rustls (#28531) Closes #26699 Release Notes: - Fixed a panic when enabling or disabling a VPN on macOS Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] and Conrad Irwin created
4b82d78
Fix merge conflicts jumping (cherry-pick #28508) (#28511)
Cherry-picked Fix merge conflicts jumping (#28508) This regressed in #27568, oops. Release Notes: - Fixed a bug causing conflicted files in the git panel to jump to the "Tracked" section as soon as they were staged. Co-authored-by: Cole Miller <cole@zed.dev>
gcp-cherry-pick-bot[bot] and Cole Miller created
23e114f
format: Re-implement support for formatting with code actions that contain commands (cherry-pick #28392) (#28426)
Cherry-picked format: Re-implement support for formatting with code actions that contain commands (#28392) Closes #27692 Closes #27935 Release Notes: - Fixed a regression where code-actions used when formatting on save were rejected if they contained commands Co-authored-by: Ben Kunkle <ben@zed.dev>
gcp-cherry-pick-bot[bot] and Ben Kunkle created
4f04f93
git: Always reload current branch after pushing (cherry-pick #28327) (#28394)
Closes #ISSUE Release Notes: - Fixed the git panel sometimes failing to update after pushing to a remote.
Cole Miller created
ce951e4
Fix panic when a file in a path-based multibuffer excerpt is renamed (cherry-pick #28364) (#28393)
Cherry-picked Fix panic when a file in a path-based multibuffer excerpt is renamed (#28364) Closes #ISSUE Release Notes: - Fixed a panic that could occur when paths changed in the project diff. Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: Cole Miller <cole@zed.dev> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] , Cole Miller , and Conrad Irwin created
3941cab
v0.181.x stable
Joseph T. Lyons created
3e87cdf
project: Workaround invalid code action edits from pyright (cherry-pick #28354) (#28366)
Cherry-picked project: Workaround invalid code action edits from pyright
(#28354)
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Piotr Osiewicz <piotr@zed.dev>
fixes issue where:
In a two line python file like so
```
Path()
```
If the user asks for code actions on `Path` and they select (`From
pathlib import path`)
the result they get is
```
Pathfrom pathlib import Path
Path()
```
Instead of
```
from pathlib import Path
Path()
```
This is due to a non-lsp-spec-compliant response from pyright below
```json
{"jsonrpc":"2.0","id":40,"result":[{"title":"from pathlib import Path","edit":{"changes":{"file:///Users/neb/Zed/example-project/pyright-project/main.py":[{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":4}},"newText":"Path"},{"range":{"start":{"line":2,"character":0},"end":{"line":2,"character":0}},"newText":"from pathlib import Path\n\n\n"}]}},"kind":"quickfix"}]}
```
Release Notes:
- Fixed an issue when using auto-import code actions provided by pyright
(or basedpyright) where the import would be jumbled with the scoped
import resulting in an invalid result
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Ben Kunkle <ben@zed.dev>
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
gcp-cherry-pick-bot[bot] , Ben Kunkle , Max Brunsfeld , and Anthony Eid created
684c765
Tell the model not to act on TODO type comments (#28358)
Release Notes: - Adjusted system prompt to direct it to never act on TODO-type comments it encounters, unless the user directly asked it to do so or they relate to the current task at hand.
Joseph T. Lyons created
77598f5
Use tree-sitter when returning symbols to the model for a given file (#28352)
This also increases the threshold for when we return an outline during `read_file`. Release Notes: - Fixed an issue that caused the agent to fail reading large files if the LSP hadn't started yet.
Antonio Scandurra created
99643ab
Tell the model not to remove tests (#28349)
Release Notes: - Adjusted system prompt to direct it to never remove tests as a way to have the test suite pass, unless the user directly asks for test removal.
Joseph T. Lyons created
bf1680e
agent: Display "generating" label in the active thread (#28297)
Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Danilo Leal and Bennet Bo Fenner created
2b91e50
agent: Truncate bash tool output (#28291)
The bash tool will now truncate its output to 8192 bytes (or the last newline before that). We also added a global limit for any tool that produces a clearly large output that wouldn't fit the context window. Release Notes: - agent: Truncate bash tool output --------- Co-authored-by: Michael Sloan <mgsloan@gmail.com>
Agus Zubiaga and Michael Sloan created
54f7152
Tell the model not to create .bak files (#28244)
Release Notes: - Adjusted system prompt to avoid having the agent create backup files unnecessarily.
Richard Feldman created
25b7f67
Tell the system prompt not to write incomplete code (#28245)
Sometimes agents do this. I've had some success responding by telling it not to do this, so trying out having it in the system prompt. Release Notes: - Adjusted the system prompt to avoid incomplete code generation.
Richard Feldman created
f259fb4
Fix local task dropped on the wrong thread (cherry-pick #28290) (#28343)
Cherry-picked Fix local task dropped on the wrong thread (#28290) Release Notes: - Fixed a panic during shutdown of the remote server Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot] and Conrad Irwin created
079b9c3
agent: Navigate to line when clicking on filepath in markdown codeblock (#28329)
Release Notes: - N/A
Bennet Bo Fenner created
eb85d23
agent: Add support for Google Gemini 2.5 preview (#28326)
Adds support for the new `gemini-2.5-pro-preview-03-25` Release Notes: - Added support for `gemini-2.5-pro-preview-03-25` in the assistant
Bennet Bo Fenner created
569132d
zed 0.181.5
Joseph T. Lyons created
2a60092
Try to identify dSYMs by UUID not channel (cherry-pick #28268) (#28294)
Cherry-picked Try to identify dSYMs by UUID not channel (#28268) This should make it possible to more reliably symbolicate crash reports from nightly, and from users with pending auto-updates. Release Notes: - N/A --------- Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: Ben Kunkle <ben.kunkle@gmail.com>
gcp-cherry-pick-bot[bot] , Conrad Irwin , and Ben Kunkle created
bcaa7cb
Properly store editor restoration data (cherry-pick #28296) (#28299)
gcp-cherry-pick-bot[bot] created
bb1ae36
agent: Add headers for code blocks (#28253)
<img width="639" alt="image" src="https://github.com/user-attachments/assets/1fd51387-cbdc-474d-b1a3-3d0201f3735a" /> Release Notes: - N/A --------- Co-authored-by: Danilo Leal <daniloleal09@gmail.com> Co-authored-by: Antonio Scandurra <me@as-cii.com>
Bennet Bo Fenner , Danilo Leal , and Antonio Scandurra created
8400adb
agent: Refine individual file item design in the edit disclosure (#28283)
<img src="https://github.com/user-attachments/assets/f1ad0598-d864-407f-8b81-6ca29e2ffae3" width="650"/> Release Notes: - N/A
Danilo Leal created
7230d17
agent: Add the history button back in the toolbar and make it a toggle (#28275)
Release Notes: - agent: The history view is now more easily accessible via the icon button in the Agent Panel toolbar. --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Danilo Leal and Bennet Bo Fenner created
350fd6d
agent: Copy text as Markdown (#28272)
Release Notes: - agent: Copying text in the Agent Panel will now copy it as Markdown. Co-authored-by: Antonio Scandurra <me@as-cii.com>
Marshall Bowers and Antonio Scandurra created
45fea28
agent: Add a way to go back to thread from settings/history (#28273)
Release Notes: - N/A
Bennet Bo Fenner created
08bf1ef
agent: Adjust the thread generation design (#28193)
This PR simplifies the button to send a new message as well as the "generation" display design. Release Notes: - N/A --------- Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Danilo Leal and Bennet Bo Fenner created
0f5184a
markdown: Move `open_url` to the `MarkdownElement` as `on_url_click` (#28269)
Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Marshall Bowers and Antonio Scandurra created
45aff05
Fix bad unicode calculations in do_completion (cherry-pick #28259) (#28286)
Cherry-picked Fix bad unicode calculations in do_completion (#28259) Co-authored-by: João Marcos <marcospb19@hotmail.com> Release Notes: - Fixed a panic with completions around non-ASCII code --------- Co-authored-by: João Marcos <marcospb19@hotmail.com> Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com> Co-authored-by: João Marcos <marcospb19@hotmail.com>
gcp-cherry-pick-bot[bot] , Conrad Irwin , and João Marcos created
9fd7b19
markdown: Don't retain `MarkdownStyle` in favor of using `MarkdownElement` directly (#28255)
This PR removes the retained `MarkdownStyle` on the `Markdown` entity in favor of using the `MarkdownElement` directly and passing the `MarkdownStyle` to it. This makes it so switching themes will be reflected live in the code block styles. Release Notes: - N/A --------- Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Agus Zubiaga <hi@aguz.me>
Marshall Bowers , Antonio Scandurra , and Agus Zubiaga created
cb1b17f
agent: Remove duplicated keybinding for creating new thread in Linux (#28254)
Release Notes: - N/A
Danilo Leal created
e2eb7ea
Fix typo in system prompt (#28246)
Release Notes: - N/A
Richard Feldman created
18e7d1c
prompt_store: Remove additional code for /project (#27981)
Found leftover from https://github.com/zed-industries/zed/pull/27660 Release Notes: - N/A
Neo Nie created
d55cb8f
agent: Display keybinding to delete Prompt Editor item (#28168)
This PR makes the keybinding to remove Prompt Editor items visible in the icon button tooltip. Release Notes: - N/A
Danilo Leal created
a00ae09
Link to cited code blocks (#28217)
<img width="612" alt="Screenshot 2025-04-06 at 9 59 41 PM" src="https://github.com/user-attachments/assets/3a996b4a-ef5c-4ca6-bd16-3b180b364a3a" /> Release Notes: - Agent panel now shows links to relevant source code files above code blocks.
Richard Feldman created
46280a6
Restore direct use of the input text for Markdown `Text` (#27620)
PR #24388 changed the markdown parsing to copy parsed text in order to handle markdown escaping, removing the optimization to instead reuse text from the input. Another issue with that change was that handling of finding links within `Text` intermixed use of `text` and `parsed`, relying on the offsets matching up (which I believe was true in practice). The solution is to distinguish pulldown_cmark `Text` nodes that share bytes with the input and those that do not. Release Notes: - N/A
Michael Sloan created
3a9fe61
zed 0.181.4
Joseph T. Lyons created
28cca25
agent: Refresh UI when context or thread history changes (#28188)
I found a few more cases where the UI wasn't updated immediately after an interaction. Release Notes: - agent: Fixed delay after removing threads from "Past Interactions" - agent: Fixed delay after adding/remove context via keyboard
Agus Zubiaga created