Joseph T. Lyons
3ea59d23fd
zed 0.201.2
2025-08-21 11:11:23 -04:00
Agus Zubiaga
e436b82d94
acp: Use ResourceLink
for agents that don't support embedded context ( #36687 )
...
The completion provider was already limiting the mention kinds according
to `acp::PromptCapabilities`. However, it was still using
`ContentBlock::EmbeddedResource` when
`acp::PromptCapabilities::embedded_context` was `false`. We will now use
`ResourceLink` in that case making it more complaint with the
specification.
Release Notes:
- N/A
2025-08-21 11:08:59 -04:00
Cole Miller
20710a41a0
Fix more improper uses of the buffer_id
field of Anchor
( #36636 )
...
Follow-up to #36524
Release Notes:
- N/A
2025-08-21 10:48:06 -04:00
Cole Miller
ca67e0658a
Show excerpt dividers in without_headers
multibuffers ( #36647 )
...
Release Notes:
- Fixed diff cards in agent threads not showing dividers between
disjoint edited regions.
2025-08-21 10:47:36 -04:00
Conrad Irwin
7f95310020
acp: Detect gemini auth errors and show a button ( #36641 )
...
Closes #ISSUE
Release Notes:
- N/A
2025-08-21 10:44:55 -04:00
Conrad Irwin
bb32d4567a
acp: Hide history unless in native agent ( #36644 )
...
Release Notes:
- N/A
2025-08-21 10:44:55 -04:00
Bennet Bo Fenner
79064d1fb8
acp: Use file icons for edit tool cards when ToolCallLocation is known ( #36684 )
...
Release Notes:
- N/A
2025-08-21 10:40:10 -04:00
Bennet Bo Fenner
129b93ace9
acp: Allow collapsing edit file tool calls ( #36675 )
...
Release Notes:
- N/A
2025-08-21 10:39:56 -04:00
Antonio Scandurra
02506356bc
acp: Use unstaged style for diffs ( #36674 )
...
Release Notes:
- N/A
2025-08-21 10:39:46 -04:00
Bennet Bo Fenner
90946aeb2a
agent2: Allow expanding terminals individually ( #36670 )
...
Release Notes:
- N/A
2025-08-21 10:39:36 -04:00
Antonio Scandurra
8c6a1d143c
Fix @-mentioning threads when their summary isn't ready yet ( #36664 )
...
Release Notes:
- N/A
2025-08-21 10:39:26 -04:00
Agus Zubiaga
b7783efc77
acp: Suggest upgrading to preview instead of latest ( #36648 )
...
A previous PR changed the install command from `@latest` to `@preview`,
but the upgrade command kept suggesting `@latest`.
Release Notes:
- N/A
2025-08-21 10:39:05 -04:00
Ben Brandt
7f0ce7c6de
acp: Add e2e test support for NativeAgent ( #36635 )
...
Release Notes:
- N/A
2025-08-21 10:38:44 -04:00
Piotr Osiewicz
1c91d4b17c
remote: Fix toolchain RPC messages not being handled because of the entity getting dropped ( #36665 )
...
Release Notes:
- N/A
2025-08-21 11:51:31 +02:00
Agus Zubiaga
5e27924b0b
acp: Update to 0.0.30 ( #36643 )
...
See: https://github.com/zed-industries/agent-client-protocol/pull/20
Release Notes:
- N/A
2025-08-20 20:30:49 -04:00
Agus Zubiaga
e120ff6673
acp: Reliably suppress gemini abort error ( #36640 )
...
https://github.com/zed-industries/zed/pull/36633 relied on the prompt
request responding before cancel, but that's not guaranteed
Release Notes:
- N/A
2025-08-20 20:30:40 -04:00
Joseph T. Lyons
ca5f543763
zed 0.201.1
2025-08-20 18:44:59 -04:00
Agus Zubiaga
69c5af09f4
acp: Supress gemini aborted errors ( #36633 )
...
This PR adds a temporary workaround to supress "Aborted" errors from
Gemini when cancelling generation. This won't be needed once
https://github.com/google-gemini/gemini-cli/pull/6656 is generally
available.
Release Notes:
- N/A
2025-08-20 18:37:51 -04:00
Conrad Irwin
5b443bb49e
acp: Handle Gemini Auth Better ( #36631 )
...
Release Notes:
- N/A
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2025-08-20 18:13:26 -04:00
Cole Miller
00ff7b72d7
Fix typo in Excerpt::contains
( #36621 )
...
Follow-up to #36524
Release Notes:
- N/A
2025-08-20 18:05:26 -04:00
Agus Zubiaga
8e57f633d0
acp: Hide feedback buttons for external agents ( #36630 )
...
Release Notes:
- N/A
2025-08-20 18:01:02 -04:00
Cole Miller
1ee07a4baf
acp: Rename assistant::QuoteSelection
and support it in agent2 threads ( #36628 )
...
Release Notes:
- N/A
2025-08-20 18:00:54 -04:00
Agus Zubiaga
b070dc66b3
acp: Suggest installing gemini@preview instead of latest ( #36629 )
...
Release Notes:
- N/A
2025-08-20 18:00:46 -04:00
Danilo Leal
15e451cec8
thread_view: Add recent history entries & adjust empty state ( #36625 )
...
Release Notes:
- N/A
2025-08-20 18:00:34 -04:00
Agus Zubiaga
401a604059
acp thread view: Do not go into editing mode if unsupported ( #36623 )
...
Release Notes:
- N/A
2025-08-20 18:00:26 -04:00
Ben Brandt
e9a1404329
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 18:00:17 -04:00
Joseph T. Lyons
13a5598008
v0.201.x preview
2025-08-20 15:13:52 -04:00
Agus Zubiaga
2813073d7b
message editor: Only allow types of content the agent can handle ( #36616 )
...
Uses the new
[`acp::PromptCapabilities`](a39b7f635d/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
74ce543d8b
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
b6722ca3c8
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
ec8106d1db
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
41e28a7185
Add tracked buffers for agent2 mentions ( #36608 )
...
Release Notes:
- N/A
2025-08-20 14:01:18 -04:00
Bennet Bo Fenner
8334cdb358
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
d0fb6120d9
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
699f58aeba
Capture telemetry when requesting completions in agent2 ( #36600 )
...
Release Notes:
- N/A
2025-08-20 16:04:32 +00:00
Umesh Yadav
1e6cefaa56
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
92352f97ad
Fix clippy::map_clone
lint violations ( #36585 )
...
#36577
Release Notes:
- N/A
2025-08-20 16:34:52 +02:00
Antonio Scandurra
eaf6b56163
Miscellaneous UX fixes for agent2 ( #36591 )
...
Release Notes:
- N/A
2025-08-20 13:56:39 +00:00
Bennet Bo Fenner
85865fc950
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
c5040bd0a4
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
bc79076ad3
Fix clippy::manual_map
lint violations ( #36584 )
...
#36577
Release Notes:
- N/A
2025-08-20 15:17:28 +02:00
Antonio Scandurra
de12633591
Wait for agent2 feature flag before loading panel ( #36583 )
...
Release Notes:
- N/A
2025-08-20 15:02:40 +02:00
tidely
6ed29fbc34
Enforce style lints which do not have violations ( #36580 )
...
Release Notes:
- N/A
2025-08-20 14:07:37 +02:00
Antonio Scandurra
4ee565cd39
Fix mentions roundtrip from/to database and other history bugs ( #36575 )
...
Release Notes:
- N/A
2025-08-20 12:03:20 +00:00
tidely
f80a0ba056
Move clippy lints which aren't apart of the style category ( #36579 )
...
Move lints which aren't apart of the style category.
Motivation: They might get accidentally get reverted when we turn the
style category on again and remove the manual lint enforcements.
Release Notes:
- N/A
2025-08-20 11:26:45 +00:00
tidely
7bdc99abc1
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
cf7c64d77f
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
a32a264508
agent2: Use correct completion intent when generating summary ( #36573 )
...
Release Notes:
- N/A
2025-08-20 10:03:35 +00:00
Bennet Bo Fenner
0a80209c5e
agent2: Fix remaining update_model_request_usage todos ( #36570 )
...
Release Notes:
- N/A
2025-08-20 09:54:26 +00:00
Finn Evers
83d361ba69
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