3db19e1
zed 0.185.14
Joseph T. Lyons created
3db19e1
zed 0.185.14
Joseph T. Lyons created
76b2955
editor: Use default gutter margin instead of `horizontal_padding` for horizontal content padding (#30138)
This PR changes the way a horizontal margin is added in editors. It removes the possibility to set a custom `horizontal_padding` for an editor and utilizes the default `gutter_dimension` instead. This change is made to ensure that no issues with soft-wrapping occurs for any editor that has a `horizontal_margin` set (see #26893 for more context on the implications here`. Furthermore, it ensures that the text actually renders properly when scrolling horizontally and is not cut-off. ### Horizontal padding: | `main` | This PR | | --- | --- | |  |  | ### Editor horizontally scrolled: | `main` | This PR | | --- | --- | |  |  | Notice the difference at the horizontal borders. The margin added for the `edit_file_tool` was 4 pixels. The `descent`, whilst not exactly, is roughly the same here and also scales with the font size nicely. Furthermore, it seems that the `gutter_dimensions.margin` should be present anyway, given the following comment https://github.com/zed-industries/zed/blob/0b00256f5884fd17b4f834730b31f365613f3683/crates/editor/src/element.rs#L6887-L6889 so ensuring this property is actually set and not 0 seems to be reasonable given the circumstances. Please note though that this will apply to all editors in the app. Again, this seems like it should be the case anyway, just wanted to mention this again. Should the fix like this not be wanted, I can change this here so that the `horizontal_margin` is better accounted for when soft-wrapping in an editor. Feel free to let me know in this case. Release Notes: - N/A
Finn Evers created
5ba44fe
agent: Fuzzy search in model selector (#30281)
This change enables fuzzy search on model providers and names. For example, the query "z41" will match "zed/gpt-4.1". Release Notes: - Agent: Improved model selection with fuzzy search support
Oleksiy Syvokon created
db79f4f
agent: Render edit tool error as markdown (#30325)
Release Notes: - agent: Render edit tool error as markdown and allow selecting it
Agus Zubiaga created
2940962
agent: Fix autoscrolling to history entry (#30321)
We were still using entry indexes to scroll, but the list now includes the separators as items, so the indexes need to be translated Release Notes: - agent: Fix autoscrolling to history entry when navigating via keyboard
Agus Zubiaga created
c09d53b
agent: Fix message editor's button positions when expanded (#30311)
Fixes an issue introduced by #29959 which caused the message editor to overflow from the agent panel bounds, making the bottom buttons invisible when the editor was expanded (cmd+esc). Fixing this required changing the base structure of the agent panel, but things seem to work as expected: https://github.com/user-attachments/assets/fc4c97fb-f7cb-4f54-a268-c30fbcb1649f Release Notes: - agent: Fix message editor's button positions when expanded
Agus Zubiaga created
150f394
bedrock: Fix UX bug (#28350)
Closes #29072, #28390, Release Notes: - AWS Bedrock: Fixed case where user couldn't delete manually added AWS credentials. --------- Co-authored-by: Marshall Bowers <git@maxdeviant.com> Co-authored-by: Peter Tripp <peter@zed.dev>
Shardul Vaidya , Marshall Bowers , and Peter Tripp created
cd0ef6f
Add a divider below "Usage" in the Edit Prediction menu (#30284)
As it felt untidy without it. Release Notes: - N/A
Danilo Leal created
a9e5bed
Fix error when Copilot calls tools without arguments (cherry-pick #30371) (#30375)
Cherry-picked Fix error when Copilot calls tools without arguments (#30371) Fixes https://github.com/zed-industries/zed/issues/30346 The model can output an empty string to indicate the absence of arguments, which can't be parsed as a `serde_json::Value`. When that happens, we now create an empty object instead on behalf of the model. Release Notes: - Fixed a bug that prevented Copilot models from calling the `diagnostic` tool. Co-authored-by: Antonio Scandurra <me@as-cii.com>
gcp-cherry-pick-bot[bot] and Antonio Scandurra created
c0e128e
Include `EditAgent`'s raw output when inspecting thread (cherry-pick #30337) (#30342)
Cherry-picked Include `EditAgent`'s raw output when inspecting thread (#30337) This allows us to debug the raw edits that were generated when people report feedback, when running evals and when opening the thread as Markdown. Release Notes: - Improved debug output for agent threads. Co-authored-by: Antonio Scandurra <me@as-cii.com>
gcp-cherry-pick-bot[bot] and Antonio Scandurra created
3c22ad9
Make `copilot::SignIn` open sign-in modal when needed (cherry-pick #30239) (#30349)
Cherry-picked Make `copilot::SignIn` open sign-in modal when needed (#30239) Also: * Makes sign out show status notifications and errors. * Reinstall now prompts for sign-in after start. Addresses some of #29250, but not all of it. Release Notes: - N/A Co-authored-by: Michael Sloan <michael@zed.dev>
gcp-cherry-pick-bot[bot] and Michael Sloan created
eff23ab
agent: Show checkmark for current profile, not default profile (cherry-pick #30314) (#30333)
Cherry-picked agent: Show checkmark for current profile, not default profile (#30314) Closes #ISSUE Release Notes: - agent: Fixed a bug that caused the profile selector to display a checkmark next to the wrong profile. Co-authored-by: Cole Miller <cole@zed.dev>
gcp-cherry-pick-bot[bot] and Cole Miller created
743f75f
zed 0.185.13
Joseph T. Lyons created
f143227
language_models: Improve subscription states in the Agent configuration view (#30252)
This PR improves the subscription states in the Agent configuration view to the new billing system. Zed Free (legacy): <img width="638" alt="Screenshot 2025-05-08 at 8 42 59 AM" src="https://github.com/user-attachments/assets/7b62d4c1-2a9c-4c6a-aa8f-060730b6d7b3" /> Zed Free (new): <img width="640" alt="Screenshot 2025-05-08 at 8 43 56 AM" src="https://github.com/user-attachments/assets/8a48448e-813e-4633-955d-623d3e6d603c" /> Zed Pro trial: <img width="641" alt="Screenshot 2025-05-08 at 8 45 52 AM" src="https://github.com/user-attachments/assets/1ec7ee62-e954-48e7-8447-4584527307c9" /> Zed Pro: <img width="636" alt="Screenshot 2025-05-08 at 8 47 21 AM" src="https://github.com/user-attachments/assets/f934b2e3-0943-4b78-b8dc-0a31e731d8fb" /> Release Notes: - agent: Improved the subscription-related information in the configuration view.
Marshall Bowers created
ce6e82c
collab: Treat staff as having usage-based pricing enabled (#30020)
This PR makes it so staff are treated as having opted-in to usage-based pricing. Release Notes: - N/A
Marshall Bowers created
009963f
Improve token counting for OpenAI models (#30242)
tiktoken_rs is a bit behind (and even upstream tiktoken doesn't have all of these models) We were incorrectly using the cl100k tokenizer for some models that actually use the o200k tokenizers. So that is updated. I also made the match arms specific so that we do a better job of catching whether or not tiktoken-rs accurately supports new models we add in. I will also do a PR upstream to see if we can move some of this logic back out if tiktoken better supports the newer models. Release Notes: - Improved tokenizer support for openai models.
Ben Brandt created
5d49675
Reuse conversation cache when streaming edits (#30245)
Release Notes: - Improved latency when the agent applies edits.
Antonio Scandurra created
5c22af3
agent: Rename a number of constructs from Assistant to Agent (#30196)
This PR renames a number of constructs in the `agent` crate from the "Assistant" terminology to "Agent". Not comprehensive, but it's a start. Release Notes: - N/A
Marshall Bowers created
7bffd47
Remove `assistant` crate (#30168)
This PR removes the `assistant` crate, as it is no longer used. Release Notes: - N/A
Marshall Bowers created
ee9040a
agent: Tweak wording when configuring profiles (#30027)
cc @danilo-leal Release Notes: - N/A Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Bennet Bo Fenner and Danilo Leal created
35ed225
Use fit instead of center for Agent following (#30228)
Makes it easier to review the Agent edits since more of the previous edits will be visible on screen. Release Notes: - N/A
Ben Brandt created
e616579
agent: Improve Gemini tool schema compatibility (#30216)
Closes #30056 Apparently the API supports the "default" field now, so we can remove that transformation. However, optional is not supported See https://ai.google.dev/api/caching#Schema Release Notes: - agent: Improve tool schema compatibility for Gemini models
Bennet Bo Fenner created
cb22acc
mistral: Add new Mistral medium model (#30171)
Release Notes: - Added `mistral-medium` to the Mistral provider.
versecafe created
552382f
Load Profile state from Thread and tie visibility to the thread's model (#30090)
When deciding if a model supports tools or not, we weren't reading from the configured model in a given thread. This also stores the profile on the thread, which matches the behavior of the Model and Max Mode, which we also already store per thread. Hopefully this helps alleviate some confusion. Release Notes: - agent: Save profile selection per-Agent thread
Ben Brandt created
317103b
zed 0.185.12
Joseph T. Lyons created
59cab2a
Allow opening the FS root dir as a remote project (#30190)
### Todo * [x] Allow opening `ssh://username@host:/` from the CLI * [x] Allow selecting `/` in the `open path` picker * [x] Allow selecting the home directory in the `open path` picker Release Notes: - Changed the initial state of the SSH project picker to show the full path to your home directory on the remote machine, instead of `~`. - Added the ability to open `/` as a project folder over SSH --------- Co-authored-by: Agus Zubiaga <hi@aguz.me>
Max Brunsfeld and Agus Zubiaga created
cd4024a
Use agent panel font size for all content in thread / history views and fix text thread font size adjust (#30041)
Release Notes: - N/A
Michael Sloan created
7a37a02
Avoid empty schema in copilot dummy tool (#30178)
Copilot chat still returns a 400 if the dummy tool uses the `{}` schema.
This is a follow-up to https://github.com/zed-industries/zed/pull/30007.
Release Notes:
- Fixed a bug where agent edits would fail when using GitHub Copilot
Chat.
Co-authored-by: Agus Zubiaga <hi@aguz.me>
Max Brunsfeld and Agus Zubiaga created
0fe173d
zed 0.185.11
Peter Tripp created
0cbfd55
agent: Improve onboarding modal background illustration (#30137)
Tone down the grid background a bit more so text is more legible. Release Notes: - N/A
Danilo Leal created
4e8d053
agent: Improve consecutive tool use callout spacing (#30145)
Release Notes: - agent: Fix "consecutive tool use limit" callout spacing
Agus Zubiaga created
cfaf16a
agent: Fix profile menu hover flicker after settings update (#30109)
Closes #30091 Follow-up to #29958 This PR fixes the profile menu flickering due to the documentation aside after updating the agent dock position over the settings file. The problem arose because the `documentation_side` could get out of sync with the actual agent panel dock position. The `documentation_side` was only updated whenever the user changed the agent panel position using the UI, but not when updating the position in the settings file. You can reproduce this easily by changing the `agent.dock` position to the opposite site in your settings, which will make the profile menu flicker again in some scenarios due to the de-sync. This PR fixes this behavior by computing the position during render, thus the actual set panel position and the documentation position can never get out of sync Release Notes: - Fixed the agent profile menu flickering after updating the assistant panel dock position in the settings.
Finn Evers created
cf30cc7
language_models: Update copy for Zed Pro subscription (#30152)
This PR updates the copy around the Zed Pro description to be more accurate. Release Notes: - agent: Updated some copy about Zed Pro in the configuration view.
Marshall Bowers created
3845fbe
Legal Terms: May 6th 2025 update (#30151)
Updated terms for Agent panel launch. Release Notes: - N/A
Peter Tripp created
3c9d39b
Send up Zed version with edit prediction and completion requests (#30136)
This PR makes it so we send up an `x-zed-version` header with the client's version when making a request to llm.zed.dev for edit predictions and completions. Release Notes: - N/A
Marshall Bowers created
85f63c9
agent: Use correct timezone for thread history separators (#30059)
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
3cabcd7
Fix agent reading and editing files over SSH (#30144)
Release Notes: - Fixed a bug that would prevent the agent from working over SSH. --------- Co-authored-by: Nathan Sobo <nathan@zed.dev> Co-authored-by: Richard Feldman <oss@rtfeldman.com> Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Cole Miller <m@cole-miller.net>
Antonio Scandurra , Nathan Sobo , Richard Feldman , Max Brunsfeld , and Cole Miller created
c833618
Restore tool cards on thread deserialization (#30053)
Release Notes: - N/A --------- Co-authored-by: Julia Ryan <juliaryan3.14@gmail.com>
Mikayla Maki and Julia Ryan created
1d6a5b2
agent: Make feedback buttons more minimal (#30133)
Also swapped out the svgs for `ThumbsDown` and `ThumbsUp`, and added `DocumentText`. Release Notes: - N/A
Danilo Leal created
3f96f70
Improve Ollama tool use (#30120)
<img width="458" alt="Screenshot 2025-05-07 at 9 37 39 AM" src="https://github.com/user-attachments/assets/80f8a9b8-6a13-4e84-b91d-140e11475638" /> <img width="603" alt="Screenshot 2025-05-07 at 9 37 33 AM" src="https://github.com/user-attachments/assets/7fe67a68-3885-4a0e-a282-aad37e92068b" /> Release Notes: - Ollama models no longer require the supports_tools field in settings (defaults to false) --------- Co-authored-by: Antonio Scandurra <me@as-cii.com>
Richard Feldman and Antonio Scandurra created
b5c6567
zed 0.185.10
Antonio Scandurra created
792bae2
Fix zero-sized message editors when context strip is empty (cherry-pick #30079) (#30085)
Cherry-picked Fix zero-sized message editors when context strip is empty (#30079) 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> Co-authored-by: Antonio Scandurra <me@as-cii.com> Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com> Co-authored-by: Nathan Sobo <nathan@zed.dev>
gcp-cherry-pick-bot[bot] , Antonio Scandurra , Ben Brandt , and Nathan Sobo created
012f4c2
Avoid panic when opening thread as markdown in non-local project (cherry-pick #30061) (#30062)
Cherry-picked Avoid panic when opening thread as markdown in non-local project (#30061) 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. Co-authored-by: Cole Miller <cole@zed.dev>
gcp-cherry-pick-bot[bot] and Cole Miller created
9b6f442
Update onboading modal copy
Marshall Bowers created
f4c6b2f
agent: Remove feature flag checks (#30055)
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
150f356
v0.185.x stable
Joseph T. Lyons created
8512ba4
lmstudio: Fix streaming not working in v0.3.15 (#30013)
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
b6cb653
agent: Launch it (#30005)
This PR enables the Agent-related feature flags on the client. Release Notes: - N/A
Marshall Bowers created
41fe53b
Add an onboarding banner for the Agent panel (#30050)
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
6c29cbe
git_ui: Fix resetting of onboarding banner (#30051)
This PR fixes an issue where the Git onboarding banner wasn't able to be reset. Release Notes: - N/A
Marshall Bowers created