911f329
collab: Add `plan` column to `subscription_usages` (#28889)
Click to expand commit body
This PR adds a `plan` column to the `subscription_usages` table.
These tables don't have any records in them yet, so it's fine to make
the column required without a default.
Release Notes:
- N/A
Marshall Bowers
created
1bdcf31
proto: Add `ZedProTrial` to `Plan` (#28885)
Click to expand commit body
This PR adds the `ZedProTrial` member to the `Plan` enum.
Release Notes:
- N/A
e0dc131
Fix multiline completions when surrounding text doesn't match completion text (cherry-pick #28995) (#28997)
Click to expand commit body
Cherry-picked Fix multiline completions when surroundings don't match
completion text (#28995)
Follow up to the scenarios I overlooked in
https://github.com/zed-industries/zed/pull/28586.
Release Notes:
- N/A
Co-authored-by: João Marcos <marcospb19@hotmail.com>
gcp-cherry-pick-bot[bot]
and
João Marcos
created
5054d07
Revert "git_panel: Pad end of list to avoid obscuring final entry with horizontal scrollbar (#28823)" (cherry-pick #28971) (#28985)
Click to expand commit body
Cherry-picked Revert "git_panel: Pad end of list to avoid obscuring
final entry with horizontal scrollbar (#28823)" (#28971)
This reverts commit 1d98b33ae07a72e9e26dc9b0b54a8baa4fd5f8c1.
Not sure why, but seems like this breaks the binary search used to
correlate items to each other in the lists.
Release Notes:
- N/A
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot]
and
Conrad Irwin
created
40add86
Escape all runnables' cargo extra arguments coming from rust-analyzer (cherry-pick #28977) (#28981)
Click to expand commit body
Cherry-picked Escape all runnables' cargo extra arguments coming from
rust-analyzer (#28977)
Closes https://github.com/zed-industries/zed/issues/28947
Release Notes:
- Fixed certain doctests not being run properly
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
gcp-cherry-pick-bot[bot]
and
Kirill Bulatov
created
One more batch of fine-tuning the agent panel's design.
Release Notes:
- N/A
Danilo Leal
created
6bfd259
agent: Support adding selection as context (#28964)
Click to expand commit body
https://github.com/user-attachments/assets/42ebe911-3392-48f7-8583-caab285aca09
Release Notes:
- agent: Support adding selections via @selection or `assistant: Quote
selection` as context
Bennet Bo Fenner
created
6db3b9c
Add support for OpenAI o3 and o4-mini models (#28881)
Click to expand commit body
Release Notes:
- Add support for OpenAI o3 and o4-mini models via OpenAI API and
Copilot Chat providers.
---------
Co-authored-by: Peter Tripp <peter@zed.dev>
Umesh Yadav
and
Peter Tripp
created
01daf6e
Fix snippets from extensions being listed twice (#28940)
Click to expand commit body
lookup_snippets() merges global snippets and extension snippets, but
global_snippets::lookup_snippets() also returns extension snippets, make
them double
Closes #28661
Release Notes:
- Fixed a bug where extension provided snippets were being displayed in
duplicate.
8b288aa
agent: Fix "open thread as markdown" button (#28962)
Click to expand commit body
Just now realized that the reason this button wasn't working reliably is
because we weren't passing the index to it. It's now fixed.
Release Notes:
- N/A
Danilo Leal
created
aa1d400
edit prediction: Assign providers when client status changes (#28919)
Click to expand commit body
There was recently a change that caused the Zed Edit Prediction provider
to only be assigned when the client was connected. However, this check
happened too early, resulting in restored buffers never getting
registered. We'll now subscribe to client status changes and reassign
providers accordingly.
Release Notes:
- edit prediction: Fixed bug disabling prediction in restored buffers
Agus Zubiaga
created
fd6e093
agent: Show context server name in incompatible tool warning (#28954)
7102d40
gemini: Fix invalid field name in request (cherry-pick #28949) (#28950)
Click to expand commit body
Cherry-picked agent: Fix system instructions typo (#28949)
See #28793, the name of the field is actually `systemInstruction` not
`systemInstructions`.
Release Notes:
- Fixed an issue where Gemini requests would fail
Co-authored-by: Bennet Bo Fenner <bennet@zed.dev>
gcp-cherry-pick-bot[bot]
and
Bennet Bo Fenner
created
718e0a9
Fix panic when diagnostics first opens (cherry-pick #28935) (#28939)
Click to expand commit body
Cherry-picked Fix panic when diagnostics first opens (#28935)
Closes #ISSUE
Release Notes:
- N/A
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
The UI was mistakenly using the cumulative token usage for the token
counter. It will now display the last request token count, plus an
estimation of the tokens in the message editor and context entries that
haven't been sent yet.
https://github.com/user-attachments/assets/0438c501-b850-4397-9135-57214ca3c07a
Additionally, when the user edits a message, we'll display the actual
token count up to it and estimate the tokens in the new message.
Note: We don't currently estimate the delta when switching profiles. In
the future, we want to use the count tokens API to measure every part of
the request and display a breakdown.
Release Notes:
- agent: Made the token count more accurate and added back estimation of
used tokens as you type and add context.
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Agus Zubiaga
,
Bennet Bo Fenner
, and
Danilo Leal
created
07a0d91
agent: Add git commit ID to the eval telemetry data (#28895)
Click to expand commit body
Release Notes:
- N/A
Thomas Mickley-Doyle
created
88ddd7b
agent: Allow quoting selection when text thread is active (#28887)
Click to expand commit body
This makes the `assistant: Quote selection` work again for text threads.
Next up is supporting this also in normal threads.
Release Notes:
- agent: Add support for inserting selections (assistant: Quote
selection) into text threads
Release Notes:
- Preview: Removed the layout button from the title bar. The
`bottom_dock_layout` setting still functions.
- Added a setting, `bottom_dock_layout`, for controlling the
relationship between the bottom dock and the left and right docks.
Mikayla Maki
created
c2ff375
agent: Improve fuzzy matching for @mentions (#28883)
Click to expand commit body
Make fuzzy search in @-mention match paths and context kinds as well
(e.g., typing "sym" should let me select the "Symbols" label, as opposed
to just paths)
Release Notes:
- agent: Improve fuzzy-matching when using @mentions
Bennet Bo Fenner
created
1a81946
agent: Add item to open Prompt Library in the panel's menu (#28877)
Click to expand commit body
Release Notes:
- agent: Added a menu item to open the Prompt Library from the panel's
dropdown menu on the top right.
Staff only for now. We'll work on making this usable for non zed.dev
users later
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com>
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
Co-authored-by: Marshall Bowers <git@maxdeviant.com>
Bennet Bo Fenner
,
Antonio Scandurra
,
Danilo Leal
, and
Marshall Bowers
created
Some small adjustments to simplify the agent panel's design.
Release Notes:
- N/A
Danilo Leal
created
19b7c1a
Fix more panics when removing excerpts (cherry-pick #28836) (#28873)
Click to expand commit body
Cherry-picked Fix more panics when removing excerpts (#28836)
Release Notes:
- Fixed a panic when an excerpt removed has an edit suggestion inlay in
it
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Kirill Bulatov <kirill@zed.dev>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
gcp-cherry-pick-bot[bot]
,
Kirill Bulatov
, and
Conrad Irwin
created
9f8320f
agent: Show an error when the model requests limit has been reached (#28868)
Click to expand commit body
This PR adds an error message when the model requests limit has been
hit.
Release Notes:
- N/A
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
25956c4
lsp: Register buffers with language server when querying inlay hints (#28855)
Click to expand commit body
We register buffers with language servers lazily when in multi-buffer
(when the excerpt is interacted with); this does not account for inlay
hints, of which a mere presence on a screen is enough to query a
language server with a path it does not recognize. This posed a problem
with typescript-language-server, which sent a notification to the user
whenever they had a multibuffer open with inlay hints enabled.
Closes #ISSUE
Release Notes:
- Fixed annoying pop-up with typescript-language-server that happened in
multi-buffers with inlay hints enabled.
Piotr Osiewicz
created
4efabe1
debugger: Add Debug Panel context menu (#28847)
Click to expand commit body
This PR adds a debug panel context menu that will allow a user to select
which debug session items are visible.
The context menu will add to the pane that was right clicked on.
<img width="1275" alt="Screenshot 2025-04-16 at 2 43 36 AM"
src="https://github.com/user-attachments/assets/330322ff-69db-4731-bbaf-3544d53f2f15"
/>
Release Notes:
- N/A
Anthony Eid
created
320abe9
Agent Eval: Check if SHA already fetched (#28846)
Click to expand commit body
Release Notes:
- N/A
Michael Sloan
created
9a9f2e7
Agent Eval: Initial support for running examples repeatedly (#28844)
Click to expand commit body
Not ideal as it creates a separate worktree for each repetition
Release Notes:
- N/A
Closes #28629
Azure seems to break if this is set.
Release Notes:
- git: Stop sending a custom HTTP header on remote operations
Conrad Irwin
created
f3f2c6d
Fix commondir discovery for git submodules (#28802)
Click to expand commit body
The implementation of commondir discovery in #27885 was wrong, most
significantly for submodules but also for worktrees in rarer cases. The
correct procedure, implemented in this PR, is:
> If `.git` is a file, look at the `gitdir` it points to. If that
directory has a file called `commondir`, read that file to find the
commondir. (This is what happens for worktrees.) Otherwise, the
commondir is the same as the gitdir. (This is what happens for
submodules.)
Release Notes:
- N/A
Cole Miller
created
41cffa6
Fix anchor comparison in multi buffer after expanding excerpts (#28828)
Click to expand commit body
Release Notes:
- Fixed incorrect excerpt comparison when replacing them
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Conrad Irwin <conrad@zed.dev>
Kirill Bulatov
,
Conrad Irwin
, and
Conrad Irwin
created
This PR adds a `GET /billing/usage` endpoint for retrieving billing
usage to show on the `zed.dev/account` page.
Release Notes:
- N/A
Marshall Bowers
created
222d4a2
agent: Add telemetry for eval runs (#28816)
Click to expand commit body
Release Notes:
- N/A
---------
Co-authored-by: Joseph <joseph@zed.dev>
Thomas Mickley-Doyle
and
Joseph
created
1eb9486
docs: Update Rails test task to run using name (#28574)
Click to expand commit body
The author of Rails' minitest integration
[recommended](https://github.com/zed-extensions/ruby/issues/56#issuecomment-2795010202)
using the test name rather than line number.
This solves the problem in
https://github.com/zed-extensions/ruby/issues/56.
Note that everything is within `command`. I first tried using `args`:
```json
{
"command": "bin/rails",
"args": ["test", "$ZED_RELATIVE_FILE -n /$ZED_SYMBOL/"],
"tags": ["ruby-test"]
}
```
but minitest receives this as:
```
Run options: -n "/\"foo bar\"/" --seed 31855
```
which doesn't match due to the escaping.
Release Notes:
- N/A
Closes #28782
The linked template path was updated in #28250. This PR also adds the
change to the zed action.
Since the issue template link was also referenced in workspace, I
updated that occurrence to use the `FileBugReport` action instead. For
that, I had to move the action to `zed_actions`. However, with this
change only one link has to be updated and any database related errors
will have the zed version specs attached to them automatically.
Release Notes:
- Fixed an issue where the `file bug report` action would redirect to an
outdated URL.
Finn Evers
created
1d98b33
git_panel: Pad end of list to avoid obscuring final entry with horizontal scrollbar (#28823)
4e8ecfc
Increase `cx.condition` timeout to fix flaky test (#28822)
Click to expand commit body
We've been seeing `test_no_duplicated_completion_requests` fail randomly
with the error "condition timed out".
But it's always failing on MacOS, and MacOS sets a shorter timeout of
100ms, compared to 1s from other platforms, this PR increases MacOS's
timeout to match other platforms'.
Release Notes:
- N/A