a1be619
chore: Fix broken CI (#31003)
Click to expand commit body
Closes #ISSUE Release Notes: - N/A
Piotr Osiewicz created
a1be619
chore: Fix broken CI (#31003)
Closes #ISSUE Release Notes: - N/A
Piotr Osiewicz created
a092e2d
extension: Add debug_adapters to extension manifest (#30676)
Also pass worktree to the get_dap_binary. Release Notes: - N/A
Piotr Osiewicz created
b1c7fa1
Debounce language server file system events (#30773)
This helps prevent a race condition where the language server would update in the middle of a `git checkout` Release Notes: - N/A
Agus Zubiaga created
df66237
Add minimap vscode settings import (#30997)
Looks like we missed these when adding the minimap. Release Notes: - N/A Co-authored-by: Kirill Bulatov <mail4score@gmail.com>
Julia Ryan and Kirill Bulatov created
ca513f5
title_bar: Fix config merging to respect priority (#30980)
This is a follow-up to #30450 so that _global_ `title_bar` configs shadow _defaults_. The way `SettingsSources::json_merge` works is by considering non-json-nulls as values to propagate. So it's important that configs be `Option<T>` so any intent in overriding values is captured. This PR follows the same `*Settings<FileContent = *SettingsContent>` pattern used throughout to keep the `Option`s in the "settings content" type with the finalized values in the "settings" type. Release Notes: - N/A
Andres Suarez created
e9c9a8a
gpui: Correct the image id in the example image_loading (#30990)
The image id "image-1" already exists so the id should be "image-4" Release Notes: - N/A
Michael Angerman created
315321b
Add end of service notifications (#30982)
Release Notes: - N/A --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com> Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Mikayla Maki , Max Brunsfeld , and Marshall Bowers created
c747a57
Revert "client: Add support for HTTP/HTTPS proxy" (#30979)
Reverts zed-industries/zed#30812 This PR broke nightly builds on linux by adding an OpenSSL dependency to the `remote_server` binary, which failed to link when building against musl. Release Notes: - N/A
Max Brunsfeld created
f73c8e5
collab: Don't create a Zed Free subscription if one already exists in Stripe (#30983)
This PR adds a check for if a Zed Free subscription already exists in Stripe before we try to create one. Release Notes: - N/A
Marshall Bowers created
f7a0834
collab: Create Zed Free subscription when issuing an LLM token (#30975)
This PR makes it so we create a Zed Free subscription when issuing an LLM token, if one does not already exist. Release Notes: - N/A --------- Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Marshall Bowers and Max Brunsfeld created
83d513a
Continue processing Stripe events after seeing one that's > 1 day old (#30971)
This mostly affects local development. It fixes a bug where we would only process one Stripe event per polling period (5 seconds) when hitting old events. Release Notes: - N/A Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Max Brunsfeld and Marshall Bowers created
b440e1a
collab: Allow starting a trial from Zed Free (#30970)
This PR makes it so a user can initiate a checkout session for a Zed Pro trial while on the Zed Free plan. Release Notes: - N/A Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Marshall Bowers and Max Brunsfeld created
5c4f9e5
Allow updater to check for updates after downloading one (#30969)
Closes https://github.com/zed-industries/zed/issues/8968 This PR addresses the following scenario: 1. User's Zed polls for an update, finds one, and installs it 2. User doesn't immediately restart Zed, a new update is released, and the previous version of Zed would stop polling (ignoring the new update) 3. User eventually restarts Zed and is immediately prompted to install another update With this change, the auto-updater will continue polling for and installing new versions even after an initial update is found, reducing update prompts on restart. --- This PR does not address the following scenario: 1. User's Zed polls for an update, finds one, and installs it 2. Another update is released before the next scheduled polling interval 3. User restarts Zed and is immediately prompted to install the newer update Release Notes: - Improved the auto-updater to continue checking for updates even after finding and installing an initial update. This reduces situations where users are prompted to install another update immediately after restarting from a previous update. Co-authored-by: Ben Kunkle <Ben.kunkle@gmail.com>
Joseph T. Lyons and Ben Kunkle created
05f8001
collab: Only subscribe to Zed Free if there isn't an existing active subscription (#30967)
This PR adds a sanity check to ensure that we only subscribe the user to Zed Free if they don't already have an active subscription. Release Notes: - N/A
Marshall Bowers created
b93c674
collab: Require product code for `POST /billing/subscriptions` (#30968)
This PR makes the `product` field required in the request body for `POST /billing/subscriptions`. We were already passing this everywhere, in practice. Release Notes: - N/A
Marshall Bowers created
fdec966
collab: Subscribe to Zed Free when a subscription is canceled or paused (#30965)
This PR makes it so that when a Stripe subscription is canceled or paused we'll subscribe the user to Zed Free. Release Notes: - N/A
Marshall Bowers created
9041f73
git: Save buffer when resolving a conflict from the project diff (#30762)
Closes #30555 Release Notes: - Changed the project diff to autosave the targeted buffer after resolving a merge conflict.
Cole Miller created
844c7ad
Ctrl/Alt-V to select by page in Emacs keymap (#30858)
Problem: In addition to PgUp/PgDown Emacs also binds `Ctrl-V` to page
down and `Meta-V` to page up. These keys wouldn't extend the selection
in Zed.
Reason: Only PageUp/PageDown were assigned to
`editor::SelectPage{Up|Down}` in the `Editor && selection_mode` context.
Solution: In the `Editor && selection_mode` context, bind `Ctrl-V` to
`editor::SelectPageDown` and `Alt-V` to `editor::SelectPageUp`, both in
the mac and linux keymaps.
Release Notes:
- Added to the Emacs keymap bindings for Ctrl/Alt-V in the selection
mode to extend the selection one page up/down
Antti Kaihola created
926f377
language_models: Add tool use support for Mistral models (#29994)
Closes https://github.com/zed-industries/zed/issues/29855 Implement tool use handling in Mistral provider, including mapping tool call events and updating request construction. Add support for tool_choice and parallel_tool_calls in Mistral API requests. This works fine with all the existing models. Didn't touched anything else but for future. Fetching models using their models api, deducting tool call support, parallel tool calls etc should be done from model data from api response. <img width="547" alt="Screenshot 2025-05-06 at 4 52 37 PM" src="https://github.com/user-attachments/assets/4c08b544-1174-40cc-a40d-522989953448" /> Tasks: - [x] Add tool call support - [x] Auto Fetch models using mistral api - [x] Add tests for mistral crates. - [x] Fix mistral configurations for llm providers. Release Notes: - agent: Add tool call support for existing mistral models --------- Co-authored-by: Peter Tripp <peter@zed.dev> Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
Umesh Yadav , Peter Tripp , and Bennet Bo Fenner created
26a8cac
extension_host: Turn on parallel compilation (#30942)
Precursor to other optimizations, but this already gets us a big
improvement.
Wasm compilation can easily be parallelized, and with all of the cores
on my M4 Max this already gets us an 86% improvement, bringing loading
an extension down to <9ms.
Not all setups will see this much improvement, but it will use the cores
available (it just uses rayon under the hood like we do elsewhere).
Since we load extensions in sequence, this should have a nice impact for
users with a lot of extensions.
#### Before
```
Benchmarking load: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 6.5s, or reduce sample count to 70.
load time: [64.859 ms 64.935 ms 65.027 ms]
Found 8 outliers among 100 measurements (8.00%)
2 (2.00%) low mild
3 (3.00%) high mild
3 (3.00%) high severe
```
#### After
```
load time: [8.8685 ms 8.9012 ms 8.9344 ms]
change: [-86.347% -86.292% -86.237%] (p = 0.00 < 0.05)
Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
2 (2.00%) high mild
```
Release Notes:
- N/A
Ben Brandt created
c7aae6b
zed: Fix no way to open local folder from remote window (#30954)
Closes #27642 Currently, the `Open (cmd-o)` action is used to open a local folder picker when in a local project, and Zed's remote path modal in the case of a remote project. While this looks intentional, there is now no way to open a local project when you are in a remote project window. Neither by shortcut, nor by UI, as the "Open Local Folder" button uses the same `Open` action. The reverse is not true, as we already have an `Open Remote (ctrl-cmd-o)` action to open the remote modal, where you can select "Add Folder" which opens the same Zed's remote path modal. This already works in both local and remote window cases. This PR makes two changes: 1. It changes `Open (cmd-o)` action such that it should always open the local file picker regardless of which project is currently open, local or remote. This way we have two non-ambiguios actions `Open` and `Open Remote`. 2. It also changes the "Open a project" button (which shows up when no project is open in the project panel) to open the recent modal (which contains buttons to open either local or remote) instead of choosing on behalf of the user. P.S. If we want to open Zed's remote path modal directly, it should be different action altogether. Not covered for now. Release Notes: - Fixed issue where "Open local folder" was not opening folder picker when connected to a remote host. - Added `from_existing_connection` flag to `OpenRemote` action to directly open path picker for current connection, bypassing the Remote Projects modal.
smit created
851121f
docs: Document how to load extension grammars from the local FS during development (#30817)
Loading a local grammar could be useful if you're developing the extension and the grammar in tandem, and a user pointed out that our docs don't make it obvious that it's possible at all. Release Notes: - N/A
Cole Miller created
e48daa9
debugger: Remember focused item (#30722)
Release Notes: - Debugger Beta: the `debug panel: toggle focus` action now preserves the debug panel's focused item.
Cole Miller created
d9f1287
collab: Add `POST /billing/subscriptions/sync` endpoint (#30956)
This PR adds a new `POST /billing/subscriptions/sync` endpoint that can be used to sync a user's billing subscriptions from Stripe. Release Notes: - N/A
Marshall Bowers created
42dd511
git: Don't filter local upstreams from branch picker (#30557)
Release Notes: - Fixed local git branches being excluded from the branch selector when they were set as the upstream of another local branch.
Cole Miller created
571c5e7
Fix `ctrl-delete` in terminal (#30720)
Closes #30719 Release Notes: - Fixed `ctrl-delete` in terminal, now it deletes a word forward
Aleksei Gusev created
c762952
collab: Factor out subscription kind determination (#30955)
This PR factors out the code that determines the `SubscriptionKind` into a separate method for reusability purposes. Release Notes: - N/A
Marshall Bowers created
b057b46
Simplify docs preprocessing (#30947)
Closes #ISSUE This was done as part of experimental work towards better validation of our docs. The validation ended up being not worth it, however, I believe this refactoring is Release Notes: - N/A *or* Added/Fixed/Improved ...
Ben Kunkle created
57424e4
language_models: Update tiktoken-rs to support newer models (#30951)
I was able to get this fix in upstream, so now we can have simpler code paths for our model selection. I also added a test to catch if this would cause a bug again in the future. Release Notes: - N/A
Ben Brandt created
2b6dab9
agent: Fix OpenAI models not getting first message (#30941)
Closes #30733 Release Notes: - N/A
Oleksiy Syvokon created
70b0c4d
gpui: Replace Mutex with RefCell for SubscriberSet (#30907)
`SubscriberSet` is `!Send` and `!Sync` because the `active` field of `Subscriber` is `Rc`. Release Notes: - N/A
laizy created
875d1ef
agent: Fix path checks in edit_file (#30909)
- 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
e1a2e8a
agent: Adjust codeblock design across edit file tool call card and Markdown (#30931)
This PR makes the edit tool call codeblock cards expanded by default, to be consistent with https://github.com/zed-industries/zed/pull/30806. Also, I am removing the collapsing behavior of Markdown codeblocks where we'd add a gradient while capping the container's height based on an arbitrary number of lines. Figured if they're all now initially expanded, we could simplify how the design/code operates here altogether. Open for feedback, as I can see an argument where the previous Markdown codeblock design of "collapsed but not fully; it shows a preview" should stay as it is useful. Release Notes: - N/A
Danilo Leal created
a829281
Fix prevent zero value for buffer line height (#30832)
Closes #30802 Release Notes: - Fixed issue where setting `buffer_line_height.custom` to 0 would cause text to disappear --------- Co-authored-by: Michael Sloan <michael@zed.dev>
Sergei Kartsev and Michael Sloan created
592568f
docs: Add a missing comma in AI configuration docs (#30928)
Aleksei Voronin created
83afe56
Add a way to import ssh host names from the ssh config (#30926)
Closes https://github.com/zed-industries/zed/issues/20016 Use `"read_ssh_config": false` to disable the new behavior. Release Notes: - Added a way to import ssh host names from the ssh config --------- Co-authored-by: Cole Miller <m@cole-miller.net>
Kirill Bulatov and Cole Miller created
e468f9d
Remove unsaved text thread from recent history when switching away (#30918)
Bug found by @SomeoneToIgnore Release Notes: - N/A
Michael Sloan created
1ce2652
agent: Create checkpoints when editing a past message (#30831)
Release Notes: - N/A
Max Brunsfeld created
784d51c
Fix pane deduplication for unsaved buffers that have no path (#30834)
For example, running `zed some-new-path` multiple times would open multiple tabs. Release Notes: - N/A Co-authored-by: Max <max@zed.dev>
Michael Sloan and Max created
0079c99
editor: Add python indentation tests (#30902)
This PR add tests for a recent PR: [language: Fix indent suggestions for significant indented languages like Python](https://github.com/zed-industries/zed/pull/29625) It also covers cases from past related issues so that we don't end up circling back to them on future fixes. - [Python incorrect auto-indentation for except:](https://github.com/zed-industries/zed/issues/10832) - [Python for/while...else indention overridden by if statement ](https://github.com/zed-industries/zed/issues/30795) - [Python: erroneous indent on newline when comment ends in :](https://github.com/zed-industries/zed/issues/25416) - [Newline in Python file does not indent ](https://github.com/zed-industries/zed/issues/16288) - [Tab Indentation works incorrectly when there are multiple cursors](https://github.com/zed-industries/zed/issues/26157) Release Notes: - N/A
Smit Barmase created
230eb12
docs: Fix incorrect info in C# documentation (#30891)
`ignore_system_version` does not work for extensions. Release Notes: - N/A
Peter Tripp created
dd3956e
Add a picker for `jj bookmark list` (#30883)
This PR adds a new picker for viewing a list of jj bookmarks, like you would with `jj bookmark list`. This is an exploration around what it would look like to begin adding some dedicated jj features to Zed. This is behind the `jj-ui` feature flag. Release Notes: - N/A
Marshall Bowers created
122d6c9
Upgrade `tempfile` to v3.20.0 (#30886)
This PR upgrades our `tempfile` dependency to v3.20.0. Pulling out of https://github.com/zed-industries/zed/pull/30883. Release Notes: - N/A
Marshall Bowers created
19e89a8
agent: Scroll to the bottom after sending a new message (#30878)
Closes https://github.com/zed-industries/zed/issues/30572 Release Notes: - agent: Improved UX by scrolling to the bottom of the thread after submitting a new message or editing a previous one.
Danilo Leal created
919ffe7
docs: Refine some agent-related pages (#30884)
Release Notes: - N/A
Danilo Leal created
841a4e3
Update `.mailmap` (#30874)
This PR updates the `.mailmap` file to merge some more commit authors. Release Notes: - N/A
Marshall Bowers created
175ce05
docs: Fix broken links in AI docs (#30872)
This PR fixes some broken links in the AI docs. Release Notes: - N/A
Marshall Bowers created
e518941
Add PR 15352 to `.git-blame-ignore-revs` (#30870)
This PR adds https://github.com/zed-industries/zed/pull/15352 to the `.git-blame-ignore-revs` file. Release Notes: - N/A
Marshall Bowers created
10b8174
docs: Inform users about the supports_tools flag (#30839)
Closes #30115 Release Notes: - Improved documentation on Ollama `supports_tools` feature. --------- Signed-off-by: Logan Blyth <logan@githedgehog.com> Co-authored-by: Ben Kunkle <ben@zed.dev>
Logan Blyth and Ben Kunkle created
21fd1c8
python: Fix highlighting of built-in types for `isinstance` and `issubclass` (#30807)
When built-in types such as `list` is specified in calls like
`isinstance()`, the parameter is highlighted as a type.
The issue is caused by a change which removed `list` and others in
bf9e5b4f761b507310d744553e29ba6fdeb3c89a.
This commit makes two special cases for `isinstance` and `issubclass`
ensuring tree sitter to highlight the parameters correctly.
Fixes #30331
Release Notes:
- python: Fixed syntax highlighting for `isinstance()` and
`issubclass()` calls
Co-authored-by: László Vaskó <1771332+vlaci@users.noreply.github.com>
Zsolt Cserna and László Vaskó created