10507f9
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
7bdde8f
Fix anchor_in_excerpt on replaced excerpts (#28880)
Click to expand commit body
Release Notes:
- N/A
Conrad Irwin
created
7c7f69f
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
97b044a
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
Marshall Bowers
created
1e25e6b
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
f565994
debugger: Remove or move breakpoints on file deletion/rename (#28882)
Click to expand commit body
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <m@cole-miller.net>
Anthony Eid
and
Cole Miller
created
db94d6d
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
Closes #27423
Release Notes:
- vim: Fixed cursor scrolling off screen with `ctrl-y`.
---------
Co-authored-by: Ben Kunkle <ben@zed.dev>
5brian
and
Ben Kunkle
created
bb0b2a5
collab: Remove `has_predict_edits_feature_flag` from `LlmTokenClaims` (#28879)
Click to expand commit body
This PR removes the `has_predict_edits_feature_flag` field from the
`LlmTokenClaims`.
We are no longer reading this anywhere.
Release Notes:
- N/A
Marshall Bowers
created
5c2c6d7
toolchain: Respect currently focused file when querying toolchains (#28875)
Click to expand commit body
Closes #21743
https://github.com/user-attachments/assets/0230f233-58a4-494c-90af-28ce82f9fc1d
Release Notes:
- Virtual environment picker now looks up virtual environment based on
parent directory of active file; this enables having multiple active
virtual environments in a single worktree.
Some small adjustments to simplify the agent panel's design.
Release Notes:
- N/A
Danilo Leal
created
486a9e4
Fix more panics when removing excerpts (#28836)
Click to expand commit body
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>
Kirill Bulatov
and
Conrad Irwin
created
0d8f77b
editor: Expand selection to word under cursor before expanding to next enclosing syntax node (#28864)
Click to expand commit body
Closes #27995
For strings in any language and Markdown, `select_larger_syntax_node`
will first select the word and then expand from there if:
- The cursor is on the word.
- The selection is inside the word.
It will not select the word and will directly proceed to expand if:
- The word is already selected.
- Multiple partial words are selected.
Todo:
- [x] Tests
Release Notes:
- Fixed `select_larger_syntax_node` to first expand to the word within a
string, and then to the larger syntax node.
Smit Barmase
created
cb79420
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>
Marshall Bowers
and
Oleksiy Syvokon
created
c641209
agent: Add GitHub action for daily eval run (#28863)
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
- **Clear diagnostics cache when toggling warnings**
- **Fix focus when first adding excerpts**
Closes #ISSUE
Release Notes:
- N/A *or* Added/Fixed/Improved ...
Conrad Irwin
created
f1f5d60
debugger: Save debug session layout when changing focus or closing session (#28788)
Click to expand commit body
This fixes a bug where resizing the panes wouldn't be serialized and
persist
Release Notes:
- N/A
Co-authored-by: Piotr Osiewicz <peterosiewicz@gmail.com>
This PR adds a new `subscription_usages` table to the LLM database.
We'll use this table to track usage by subscribers.
Records will be looked up using `(user_id, period_start_at,
period_end_at)` to find the record for a user's current subscription
period.
Release Notes:
- N/A
Marshall Bowers
created
91755b2
agent: Add scrollbar to the settings view (#28814)
Click to expand commit body
Release Notes:
- agent: Added a scrollbar to the panel settings view.
We ran the locator after configuring the debugger binary which cause the
binary to never use the configuration from the cargo locator. This PR
fixes this by correcting the order of configuration.
co-authored-by Anthony Eid <anthony@zed.dev>
Release Notes:
- N/A
---------
Co-authored-by: piotr <piotr@zed.dev>
Anthony Eid
and
piotr
created
dad6067
collab: Add support for subscribing to Zed Pro trials (#28812)
Click to expand commit body
This PR adds support for subscribing to Zed Pro trials (and then
upgrading from a trial to Zed Pro).
Release Notes:
- N/A
Marshall Bowers
created
5619a3e
editor: Fix bad `hide_mouse_cursor` call in `find_all_references` (#28810)
Click to expand commit body
Release Notes:
- N/A
Smit Barmase
created
06ad45c
Fix rejecting multiple hunks in `AgentDiff` (#28806)
Click to expand commit body
Release Notes:
- Fixed a bug that caused `Reject All` to not always reject _all_ the
hunks.
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com>
Antonio Scandurra
and
Max Brunsfeld
created
7e63870
docs: Add troubleshooting guide for Linux audio issues (#28803)
Click to expand commit body
These steps solved audio issues on my system (Tuxedo OS), but should be
applicable to any PipeWire/PulseAudio system that has more than one
audio interface.
I suspect that enabling `rtc_use_pipewire` in [LiveKit SDK](https://github.com/livekit/rust-sdks/blob/0773bcec4e24812b382e71166b2ab359bf1a9384/webrtc-sys/libwebrtc/build_linux.sh#L105C1-L105C27)
could help as well, but I haven't tried it.
Release Notes:
- N/A
Oleksiy Syvokon
created
0182e09
eval: Do not create run files for skipped examples (#28800)
Click to expand commit body
Release Notes:
- N/A
Agus Zubiaga
created
6f6e207
editor: Move mouse context menu code actions at bottom (#28799)
Click to expand commit body
Release Notes:
- N/A
Smit Barmase
created
149cdec
collab: Add kind and period start/end timestamps to `billing_subscriptions` (#28796)
Click to expand commit body
This PR updates the `billing_subscriptions` table with some new columns
- `kind` - The kind of the description (used to denote Zed Pro vs
existing)
- `stripe_current_period_start` - The Stripe timestamp of when the
subscriptions current period starts
- `stripe_current_period_end` - The Stripe timestamp of when the
subscriptions current period ends
Release Notes:
- N/A
Co-authored-by: Mikayla <mikayla@zed.dev>