Conrad Irwin and Danilo Leal
89ff4f029a
acp: Handle Gemini Auth Better ( #36631 )
...
Release Notes:
- N/A
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com >
2025-08-20 16:12:41 -06:00
Agus Zubiaga
f56f126a36
acp: Hide feedback buttons for external agents ( #36630 )
...
Release Notes:
- N/A
2025-08-20 21:35:48 +00:00
Cole Miller
101868e997
acp: Rename assistant::QuoteSelection and support it in agent2 threads ( #36628 )
...
Release Notes:
- N/A
2025-08-20 21:31:25 +00:00
Agus Zubiaga
e08743117f
acp: Suggest installing gemini@preview instead of latest ( #36629 )
...
Release Notes:
- N/A
2025-08-20 21:26:07 +00:00
Danilo Leal
e9be7a516b
thread_view: Add recent history entries & adjust empty state ( #36625 )
...
Release Notes:
- N/A
2025-08-20 18:01:22 -03:00
Agus Zubiaga
c786bf35e5
acp thread view: Do not go into editing mode if unsupported ( #36623 )
...
Release Notes:
- N/A
2025-08-20 20:05:53 +00:00
Joseph T. Lyons
00fe2f86ee
Bump Zed to v0.202 ( #36622 )
...
Release Notes:
-N/A
2025-08-20 20:05:30 +00:00
Cole Miller
8914a03fe4
Fix typo in Excerpt::contains ( #36621 )
...
Follow-up to #36524
Release Notes:
- N/A
2025-08-20 19:30:11 +00:00
Ben Brandt
34544003eb
agent2: Clean up tool descriptions ( #36619 )
...
schemars was passing along the newlines from the doc comments. This
should make these closer to the markdown file versions we had in the old
agent.
Release Notes:
- N/A
2025-08-20 19:17:07 +00:00
Agus Zubiaga
c3bb046816
message editor: Only allow types of content the agent can handle ( #36616 )
...
Uses the new
[`acp::PromptCapabilities`](https://github.com/zed-industries/agent-client-protocol/blob/a39b7f635d67528f0a4e05e086ab283b9fc5cb93/rust/agent.rs#L194-L215 )
to disable non-file mentions and images for agents that don't support
them.
Release Notes:
- N/A
2025-08-20 19:04:10 +00:00
Piotr Osiewicz
e5c06b6e42
clippy: println_empty_string & non_minimal_cfg ( #36614 )
...
- **clippy: Fix println-empty-string**
- **clippy: non-minimal-cfg**
Related to #36577
Release Notes:
- N/A
2025-08-20 18:45:40 +00:00
Cole Miller and Conrad Irwin
cfef425366
Remove special case for singleton buffers from MultiBufferSnapshot::anchor_at ( #36524 )
...
This may be responsible for a panic that we've been seeing with
increased frequency in agent2 threads.
Release Notes:
- N/A
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2025-08-20 18:43:29 +00:00
Umesh Yadav
502b8203a2
Fix clippy::println_empty_string, clippy::while_let_on_iterator, clippy::while_let_on_iterator lint style violations ( #36613 )
...
Related: #36577
Release Notes:
- N/A
2025-08-20 20:14:30 +02:00
Cole Miller
6eabe6d0df
Add tracked buffers for agent2 mentions ( #36608 )
...
Release Notes:
- N/A
2025-08-20 14:01:18 -04:00
Bennet Bo Fenner and Ben Brandt
5c639b47ff
agent2: Port feedback ( #36603 )
...
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
2025-08-20 19:10:43 +02:00
Antonio Scandurra
af8ee2bdf4
Fix scrollbar flicker when streaming agent2 response ( #36606 )
...
This was caused by calling `list_state.splice` on updated entries. We
don't need to splice the entry, as we'll recompute its measurements
automatically when we render it.
Release Notes:
- N/A
2025-08-20 16:39:46 +00:00
Antonio Scandurra
59249cf00c
Capture telemetry when requesting completions in agent2 ( #36600 )
...
Release Notes:
- N/A
2025-08-20 16:04:32 +00:00
Umesh Yadav
7411188abc
Fix clippy::len_zero lint style violations ( #36589 )
...
Related: #36577
Release Notes:
- N/A
---------
Signed-off-by: Umesh Yadav <git@umesh.dev >
2025-08-20 14:35:59 +00:00
tidely
53d1091d05
Fix clippy::map_clone lint violations ( #36585 )
...
#36577
Release Notes:
- N/A
2025-08-20 16:34:52 +02:00
Antonio Scandurra
f256fffbb3
Miscellaneous UX fixes for agent2 ( #36591 )
...
Release Notes:
- N/A
2025-08-20 13:56:39 +00:00
d098225635
agent2: New thread from summary ( #36578 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
Co-authored-by: Cole Miller <cole@zed.dev >
2025-08-20 13:54:00 +00:00
Lukas Wirth
c39ce53973
remote: Do not leave client hanging on unhandled proto message ( #36590 )
...
Otherwise the client will wait for a response that never arrives,
causing the task to lock up
Release Notes:
- N/A
2025-08-20 13:41:58 +00:00
tidely
0d7997549f
Fix clippy::manual_map lint violations ( #36584 )
...
#36577
Release Notes:
- N/A
2025-08-20 15:17:28 +02:00
Antonio Scandurra
43e33a7d70
Wait for agent2 feature flag before loading panel ( #36583 )
...
Release Notes:
- N/A
2025-08-20 15:02:40 +02:00
tidely
4c8b910167
Enforce style lints which do not have violations ( #36580 )
...
Release Notes:
- N/A
2025-08-20 14:07:37 +02:00
Antonio Scandurra
0a1ed6e75f
Fix mentions roundtrip from/to database and other history bugs ( #36575 )
...
Release Notes:
- N/A
2025-08-20 12:03:20 +00:00
tidely
c4105d055e
Fix clippy::redundant_clone lint violations ( #36558 )
...
This removes around 900 unnecessary clones, ranging from cloning a few
ints all the way to large data structures and images.
A lot of these were fixed using `cargo clippy --fix --workspace
--all-targets`, however it often breaks other lints and needs to be run
again. This was then followed up with some manual fixing.
I understand this is a large diff, but all the changes are pretty
trivial. Rust is doing some heavy lifting here for us. Once I get it up
to speed with main, I'd appreciate this getting merged rather sooner
than later.
Release Notes:
- N/A
2025-08-20 12:20:13 +02:00
Piotr Osiewicz
87c4337e1a
lints: A bunch of extra style lint fixes ( #36568 )
...
- **lints: Fix 'doc_lazy_continuation'**
- **lints: Fix 'doc_overindented_list_items'**
- **inherent_to_string and io_other_error**
- **Some more lint fixes**
- **lints: enable bool_assert_comparison, match_like_matches_macro and
wrong_self_convention**
Release Notes:
- N/A
2025-08-20 12:05:58 +02:00
Bennet Bo Fenner
43370a0971
agent2: Use correct completion intent when generating summary ( #36573 )
...
Release Notes:
- N/A
2025-08-20 10:03:35 +00:00
Bennet Bo Fenner
83a4dc15ed
agent2: Fix remaining update_model_request_usage todos ( #36570 )
...
Release Notes:
- N/A
2025-08-20 09:54:26 +00:00
Finn Evers
9e30154be7
Add more string and comment overrides ( #36566 )
...
Follow-up to #36469
Part of the issue was that we hadn't defined comment and string
overrides for some languages. Hence, even after the fix edit predictions
would show up in comments for me in e.g. JSONC files.
This PR adds some more overrides where possible for this repo to ensure
this happens less frequently.
Release Notes:
- N/A
2025-08-20 09:29:53 +00:00
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
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