Bennet Bo Fenner and Antonio Scandurra
11a2b60ee2
agent2: Fix token count not updating when changing model/toggling burn mode ( #36562 )
...
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-20 09:29:05 +00:00
tidely
9e01eb89ad
Fix clippy::for_kv_map lint violations ( #36493 )
...
Release Notes:
- N/A
2025-08-20 11:22:19 +02:00
Bennet Bo Fenner and Danilo Leal
d19e5a08bf
agent2: Port more Zed AI features ( #36559 )
...
Release Notes:
- N/A
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com >
2025-08-20 08:45:03 +00:00
Smit Barmase
2fc32447e0
project: Register dynamic capabilities even when registerOptions doesn't exist ( #36554 )
...
Closes #36482
Looks like we accidentally referenced
[common/formatting.ts#L67-L70](https://github.com/microsoft/vscode-languageserver-node/blob/d90a87f9557a0df9142cfb33e251cfa6fe27d970/client/src/common/formatting.ts#L67-L70 )
instead of
[common/client.ts#L2133](https://github.com/microsoft/vscode-languageserver-node/blob/d90a87f9557a0df9142cfb33e251cfa6fe27d970/client/src/common/client.ts#L2133 ).
Release Notes:
- Fixed code not formatting on save in language servers like Biome.
(Preview Only)
2025-08-20 12:20:09 +05:30
Conrad Irwin
2fe9049a17
ACP history mentions ( #36551 )
...
- **TEMP**
- **Update @-mentions to use new history**
Closes #ISSUE
Release Notes:
- N/A
2025-08-20 06:25:07 +00:00
Danilo Leal
0b07f5cdc2
agent2: Port user_modifier_to_send setting ( #36550 )
...
Release Notes:
- N/A
2025-08-20 05:30:43 +00:00
Danilo Leal
24b60a04cd
thread_view: Increase click area of the user rules links ( #36549 )
...
Release Notes:
- N/A
2025-08-20 05:20:58 +00:00
Danilo Leal and Agus Zubiaga
bdcc3c3737
thread view: Refine the UI a bit ( #36504 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-20 01:47:28 -03:00
zumbalogy and zumbalogy
eb9ce525b6
docs: Document global_lsp_settings.button and remove duplicate docs for lsp_highlight_debounce ( #36547 )
...
Follow up to this discussion:
https://github.com/zed-industries/zed/pull/36337
Release Notes:
- N/A
This will (gracefully) break links to
https://zed.dev/docs/configuring-zed#lsp-highlight-debounce-1 I don't
see anything show up for that on google or github search and I don't
think its load bearing.
---------
Co-authored-by: zumbalogy <3770982+zumbalogy@users.noreply.github.com >
2025-08-20 07:39:51 +03:00
Ben Brandt
9a8605e9b3
agent_ui: Add check to prevent sending empty messages in MessageEditor ( #36545 )
...
Release Notes:
- N/A
2025-08-20 04:06:24 +00:00
Ben Brandt
3ce13b2c4a
Some clippy fixes ( #36544 )
...
These showed up today, so just applied the simplifications, which were
mostly switching matches to if let
Release Notes:
- N/A
2025-08-20 03:40:39 +00:00
Conrad Irwin
95667f37a6
Silence a bucketload of logs ( #36534 )
...
Closes #ISSUE
Release Notes:
- Silenced a bunch of logs that were on by default
2025-08-19 20:26:56 -06:00
Agus Zubiaga
5bbc5d8bc0
Rename acp flag ( #36541 )
...
Release Notes:
- N/A
2025-08-20 02:11:17 +00:00
Cole Miller
4b95372741
Add version detection for CC ( #36502 )
...
- Render a helpful message when the installed CC version is too old
- Show the full path for agent binaries when the version is not recent
enough (helps in cases where multiple binaries are installed in
different places)
- Add UI for the case where a server binary is not installed at all
- Refresh thread view after installing/updating server binary
Release Notes:
- N/A
2025-08-20 01:59:14 +00:00
Agus Zubiaga
9dd001942a
Improve claude tools ( #36538 )
...
- Return unified diff from `Edit` tool so model can see the final state
- Format on save if enabled
- Provide `Write` tool
- Disable `MultiEdit` tool
- Better prompting
Release Notes:
- N/A
2025-08-20 01:42:11 +00:00
Agus Zubiaga
01cc62d1e9
claude: Include all mentions and images in user message ( #36539 )
...
User messages sent to Claude Code will now include the content of all
mentions, and any images included.
Release Notes:
- N/A
2025-08-19 22:30:26 -03:00
Max Brunsfeld
951f2bda3b
Refactor ssh remoting - make ChannelClient type private ( #36514 )
...
This PR is one step in a series of refactors to prepare for having
"remote" projects that do not use SSH. The main use cases for this are
WSL and dev containers.
Release Notes:
- N/A
2025-08-19 17:33:56 -07:00
Marshall Bowers
ca00e79de1
collab: Make stripe_subscription_id and stripe_subscription_status nullable on billing_subscriptions ( #36536 )
...
This PR makes the `stripe_subscription_id` and
`stripe_subscription_status` columns nullable on the
`billing_subscriptions` table.
Release Notes:
- N/A
2025-08-19 20:25:07 -04:00
Conrad Irwin
891a0bcc8f
Hide old Agent UI when ACP flag set ( #36533 )
...
- **Use key value store instead of JSON**
- **Default NewThread to the native agent when flagged**
Closes #ISSUE
Release Notes:
- N/A *or* Added/Fixed/Improved ...
2025-08-19 16:42:52 -06:00
Julia Ryan and Max Brunsfeld
cc04324070
Attach minidump errors to uploaded crash events ( #36527 )
...
We see a bunch of crash events with truncated minidumps where they have
a valid header but no events. We think this is due to an issue
generating them, so we're attaching the relevant result to the uploaded
tags.
Release Notes:
- N/A
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2025-08-19 15:37:39 -07:00
Conrad Irwin
eb78f19163
Rebuild recently opened threads for ACP ( #36531 )
...
Closes #ISSUE
Release Notes:
- N/A
2025-08-19 16:26:30 -06:00
Julia Ryan
889aa30dd9
Suspend macOS threads during crashes ( #36520 )
...
This should improve our detection of which thread crashed since they
wont be able to resume while the minidump is being generated.
Release Notes:
- N/A
2025-08-19 14:31:13 -07:00
Bennet Bo Fenner and Agus Zubiaga
715b46a910
agent2: Token count ( #36496 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-19 20:40:31 +00:00
Piotr Osiewicz
6e36321af7
Another batch of lint fixes ( #36521 )
...
- **Enable a bunch of extra lints**
- **First batch of fixes**
- **More fixes**
Release Notes:
- N/A
2025-08-19 20:33:44 +00:00
Peter Tripp
12c745e168
Fix workspace::SendKeystrokes example in docs ( #36515 )
...
Closes: https://github.com/zed-industries/zed/issues/25683
Remove two bad examples from the key binding docs.
`cmd-shift-p` (command palette) and `cmd-p` (file finder) are async
operations and thus do not work properly with
`workspace::SendKeystrokes`.
Originally reported in
https://github.com/zed-industries/zed/issues/25683#issuecomment-3145830534
Release Notes:
- N/A
2025-08-19 19:26:40 +00:00
Piotr Osiewicz
cdd255d91b
Fix a bunch of other low-hanging style lints ( #36498 )
...
- **Fix a bunch of low hanging style lints like unnecessary-return**
- **Fix single worktree violation**
- **And the rest**
Release Notes:
- N/A
2025-08-19 21:26:17 +02:00
Cole Miller
f8f09f59f3
thread_view: Fix issues with images ( #36509 )
...
- Clean up failed load tasks for mentions that require async processing
- When dragging and dropping files, hold onto added worktrees until any
async processing has completed; this fixes a bug when dragging items
from outside the project
Release Notes:
- N/A
2025-08-19 15:14:43 -04:00
Umesh Yadav
fd1fcd70e1
onboarding: Fix theme selection in system mode ( #36484 )
...
Previously, selecting the "System" theme during onboarding would
hardcode the theme based on the device's current mode (e.g., Light or
Dark). This change ensures the "System" setting is saved correctly,
allowing the app to dynamically follow the OS theme by inserting the
correct theme in the config for both light and dark mode.
Release Notes:
- N/A
Signed-off-by: Umesh Yadav <git@umesh.dev >
2025-08-19 14:43:54 -04:00
Conrad Irwin and Antonio Scandurra
fbbf35a622
Re-add history entries for native agent threads ( #36500 )
...
Closes #ISSUE
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-19 12:08:11 -06:00
Bennet Bo Fenner and Agus Zubiaga
65bc093d26
agent2: Fix tool schemas for Gemini ( #36507 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-19 18:06:09 +00:00
fantacell
453cf850d6
helix: Uncomment one test ( #36328 )
...
There are two tests commented out in the helix file, but one of them
works again. I don't know if this is too little a change to be merged,
but I wanted to suggest it.
The other test might be more complicated though, so I didn't touch it.
Release Notes:
- N/A
2025-08-19 11:52:29 -06:00
Agus Zubiaga
3965265864
Split external agent flags ( #36499 )
...
Release Notes:
- N/A
2025-08-19 14:25:25 -03:00
Lukas Wirth
af8e39638f
editor: Fix inline diagnostics min column inaccuracy ( #36501 )
...
Closes https://github.com/zed-industries/zed/issues/33346
Release Notes:
- Fixed `diagnostic.inline.min_column` being inaccurate
2025-08-19 16:53:45 +00:00
Lukas Wirth
a72937412a
editor: Render dirty and conflict markers in multibuffer headers ( #36489 )
...
Release Notes:
- Added rendering of status indicators for multi buffer headers
2025-08-19 18:43:42 +02:00
Smit Barmase
f465e4120a
lsp: Enable dynamic registration for TextDocumentSyncClientCapabilities post revert ( #36494 )
...
Follow up: https://github.com/zed-industries/zed/pull/36485
Release Notes:
- N/A
2025-08-19 20:30:25 +05:30
Cole Miller
7173049985
Fix Windows test failures not being detected in CI ( #36446 )
...
Bug introduced in #35926
Release Notes:
- N/A
2025-08-19 14:53:10 +00:00
Antonio Scandurra
d40a1367c7
Lay the groundwork to support history in agent2 ( #36483 )
...
This pull request introduces title generation and history replaying. We
still need to wire up the rest of the history but this gets us very
close. I extracted a lot of this code from `agent2-history` because that
branch was starting to get long-lived and there were lots of changes
since we started.
Release Notes:
- N/A
2025-08-19 14:24:23 +00:00
Piotr Osiewicz
5a27796155
Fix unnecessary-mut-passed lint ( #36490 )
...
Release Notes:
- N/A
2025-08-19 14:20:01 +00:00
Smit Barmase and Lukas Wirth
f80832ecd9
project: Take 2 on Handle textDocument/didSave and textDocument/didChange (un)registration and usage correctly ( #36485 )
...
Relands https://github.com/zed-industries/zed/pull/36441 with a
deserialization fix.
Previously, deserializing `"includeText"` into
`lsp::TextDocumentSyncSaveOptions` resulted in a `Supported(false)` type
instead of `SaveOptions(SaveOptions { include_text: Option<bool> })`.
```rs
impl From<bool> for TextDocumentSyncSaveOptions {
fn from(from: bool) -> Self {
Self::Supported(from)
}
}
```
Looks like, while dynamic registartion we only get `SaveOptions` type
and never `Supported` type.
(https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentSaveRegistrationOptions )
Release Notes:
- N/A
---------
Co-authored-by: Lukas Wirth <lukas@zed.dev >
2025-08-19 19:04:48 +05:30
Piotr Osiewicz
9c3810f24f
Auto-fix clippy::collapsible_if violations ( #36428 )
...
Release Notes:
- N/A
2025-08-19 13:27:24 +00:00
Lukas Wirth
d6d7b8088a
Revert "project: Handle textDocument/didSave and textDocument/didChange (un)registration and usage correctly ( #36441 )" ( #36480 )
...
This reverts commit 9251ef68d3 .
This PR broke rust-analyzer's check on save function, so reverting for
now
Release Notes:
- N/A
2025-08-19 14:32:26 +02:00
Vincent Durewski
41b7b86267
chore: Default settings: Comments: dock option ( #36476 )
...
Minor tweak in the wording of the comments for the default settings
regarding the `dock` option of the panels, in order to make them
congruent across all panels.
Release Notes:
- N/A
2025-08-19 11:08:10 +00:00
Bennet Bo Fenner
5fbb38cf49
agent: Remove thread-auto-capture feature ( #36474 )
...
We never ended up using this in practice (the feature flag is not
enabled for anyone, not even staff)
Release Notes:
- N/A
2025-08-19 10:59:34 +00:00
Bennet Bo Fenner
754069fc0d
agent2: Support preferred_completion_mode setting ( #36473 )
...
Release Notes:
- N/A
2025-08-19 10:40:02 +00:00
Bennet Bo Fenner
a4cd0ee84d
agent2: Fix agent location still being present after thread stopped ( #36471 )
...
Release Notes:
- N/A
2025-08-19 10:22:17 +00:00
Lukas Wirth and Smit Barmase
b2f8a577ca
search: Fix project search query flickering ( #36470 )
...
Release Notes:
- N/A
Co-authored-by: Smit Barmase <heysmitbarmase@gmail.com >
2025-08-19 10:16:49 +00:00
Bennet Bo Fenner
a0db75ab1a
agent2: Port retry logic ( #36421 )
...
Release Notes:
- N/A
2025-08-19 09:41:55 +00:00
Smit Barmase
c32834aba1
editor: Fix edit_predictions_disabled_in not disabling predictions ( #36469 )
...
Closes #25744
Only setting changes and editor init determined whether to show
predictions, so glob patterns and toggles correctly disabled them. On
cursor changes we call `update_visible_edit_prediction`, but we weren’t
discarding predictions when the scope changed. This PR fixes that.
Release Notes:
- Fixed an issue where the `edit_predictions_disabled_in` setting was
ignored in some cases.
2025-08-19 14:43:41 +05:30
Bennet Bo Fenner
30b81e2bd7
agent2: Port rules UI ( #36429 )
...
Release Notes:
- N/A
2025-08-19 11:12:57 +02:00
5994b604c9
gpui: Introduce stacker to address stack overflows with deep layout trees ( #35813 )
...
Co-authored-by: Anthony Eid <hello@anthonyeid.me >
Co-authored-by: Lukas Wirth <lukas@zed.dev >
Co-authored-by: Ben Kunkle <ben@zed.dev >
Release Notes:
- N/A
Co-authored-by: Anthony Eid <hello@anthonyeid.me >
Co-authored-by: Lukas Wirth <lukas@zed.dev >
Co-authored-by: Ben Kunkle <ben@zed.dev >
2025-08-19 08:26:37 +00:00