Finn Evers
3e0a755486
Remove some redundant entity clones ( #36274 )
...
`cx.entity()` already returns an owned entity, so there is no need for
these clones.
Release Notes:
- N/A
2025-08-15 20:27:44 +00:00
Marshall Bowers
2a9d4599cd
proto: Remove unused types ( #36269 )
...
This PR removes some unused types from the RPC protocol.
Release Notes:
- N/A
2025-08-15 19:46:23 +00:00
Cole Miller and Conrad Irwin
1931889759
thread_view: Move handlers for confirmed completions to the MessageEditor ( #36214 )
...
Release Notes:
- N/A
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2025-08-15 18:55:34 +00:00
Bennet Bo Fenner
10a2426a58
agent2: Port profile selector ( #36244 )
...
Release Notes:
- N/A
2025-08-15 14:06:56 +00:00
Bennet Bo Fenner and Antonio Scandurra
6f3cd42411
agent2: Port Zed AI features ( #36172 )
...
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-15 11:17:17 +00:00
Cole Miller and Conrad Irwin
b1e806442a
Support images in agent2 threads ( #36152 )
...
- Support adding ImageContent to messages through copy/paste and through
path completions
- Ensure images are fully converted to LanguageModelImageContent before
sending them to the model
- Update ACP crate to v0.0.24 to enable passing image paths through the
protocol
Release Notes:
- N/A
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com >
2025-08-14 21:31:14 +00:00
Agus Zubiaga
43ee604179
acp: Clean up entry views on rewind ( #36197 )
...
We were leaking diffs and terminals on rewind, we'll now clean them up.
This PR also introduces a refactor of how we mantain the entry view
state to use a `Vec` that's kept in sync with the thread entries.
Release Notes:
- N/A
2025-08-14 18:30:18 +00:00
e5402d5464
Allow editing Agent2 messages ( #36155 )
...
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-14 13:39:33 +00:00
Conrad Irwin and Antonio Scandurra
ab9fa03d55
UI for checkpointing ( #36124 )
...
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-13 22:24:47 -06:00
Danilo Leal
8452532c8f
agent2: Iterate on "new thread" selector in the toolbar ( #36144 )
...
Release Notes:
- N/A
2025-08-13 18:34:53 -03:00
Agus Zubiaga and Cole Miller
389d24d7e5
Fully support all mention kinds ( #36134 )
...
Feature parity with the agent1 @mention kinds:
- File
- Symbols
- Selections
- Threads
- Rules
- Fetch
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev >
2025-08-13 20:11:32 +00:00
Danilo Leal
cb0bc463f1
agent2: Add new "new thread" selector in the toolbar ( #36133 )
...
Release Notes:
- N/A
2025-08-13 14:45:37 -03:00
Ben Brandt and Antonio Scandurra
23cd5b59b2
agent2: Initial infra for checkpoints and message editing ( #36120 )
...
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-13 15:46:28 +00:00
Ben Brandt and Bennet Bo Fenner
db497ac867
Agent2 Model Selector ( #36028 )
...
Release Notes:
- N/A
---------
Co-authored-by: Bennet Bo Fenner <bennetbo@gmx.de >
2025-08-13 09:01:02 +00:00
Cole Miller and Conrad
1957e1f642
Add locations to native agent tool calls, and wire them up to UI ( #36058 )
...
Release Notes:
- N/A
---------
Co-authored-by: Conrad <conrad@zed.dev >
2025-08-13 01:48:28 +00:00
Danilo Leal
628b1058be
agent2: Fix some UI glitches ( #36067 )
...
Release Notes:
- N/A
2025-08-12 16:31:54 -03:00
Danilo Leal and Agus Zubiaga
b105028c05
agent2: Add custom UI for resource link content blocks ( #36005 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-12 12:39:27 -03:00
Agus Zubiaga and Cole Miller
44953375cc
Include mention context in acp-based native agent ( #36006 )
...
Also adds data-layer support for symbols, thread, and rules.
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev >
2025-08-12 13:12:58 +00:00
Danilo Leal
094e878ccf
agent2: Refine terminal tool call display ( #35984 )
...
Release Notes:
- N/A
2025-08-11 17:50:47 -03:00
Cole Miller
42bf5a17b9
Delay rendering tool call diff editor until it has a revealed range ( #35901 )
...
Release Notes:
- N/A
2025-08-11 12:49:46 -04:00
Antonio Scandurra and Ben Brandt
086ea3c619
Port terminal tool to agent2 ( #35918 )
...
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
2025-08-11 10:31:13 +00:00
Ben Brandt
308cb9e537
Pull action_log into its own crate ( #35959 )
...
Release Notes:
- N/A
2025-08-10 21:57:55 +00:00
Cole Miller
c053923015
thread_view: Trim only trailing whitespace from last chunk of user message ( #35902 )
...
This fixes internal whitespace after the last @mention going missing
from the user message as displayed in history.
Release Notes:
- N/A
2025-08-08 23:50:59 +00:00
Cole Miller
f3a58b50c4
Handle drag and drop in new agent threads ( #35879 )
...
This is a bit simpler than for the original agent thread view, since we
don't have to deal with opening buffers or a context store.
Release Notes:
- N/A
2025-08-08 15:03:50 -04:00
Danilo Leal
2cde6da5ff
Redesign and clean up all icons across Zed ( #35856 )
...
- [x] Clean up unused and old icons
- [x] Swap SVG for all in-use icons with the redesigned version
- [x] Document guidelines
Release Notes:
- N/A
2025-08-08 15:34:36 -03:00
2526dcb5a5
agent2: Port edit_file tool ( #35844 )
...
TODO:
- [x] Authorization
- [x] Restore tests
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
2025-08-08 12:43:53 +00:00
Ben Brandt and Antonio Scandurra
90fa921756
Wire up find_path tool in agent2 ( #35799 )
...
Release Notes:
- N/A
---------
Co-authored-by: Antonio Scandurra <me@as-cii.com >
2025-08-07 22:21:26 +00:00
Cole Miller
e6dc6faccf
Don't insert resource links for @mentions that have been removed from the message editor ( #35831 )
...
Release Notes:
- N/A
2025-08-07 22:10:29 +00:00
Cole Miller
a1080a0411
Update diff editor font size when agent_font_size setting changes ( #35834 )
...
Release Notes:
- N/A
2025-08-07 21:31:30 +00:00
Danilo Leal
a5c25e0366
agent: Improve end of trial card display ( #35789 )
...
Now rendering the backdrop behind the card to clean up the UI, bring
focus to the card's content, and direct the user to act on it, either by
ignoring it or upgrading.
<img width="500" height="1242" alt="CleanShot 2025-08-07 at 10 30
58@2x"
src="https://github.com/user-attachments/assets/8c6b9c34-eb22-4f01-b3fa-158ac78b7439 "
/>
Release Notes:
- N/A
2025-08-07 10:53:15 -03:00
03876d076e
Add system prompt and tool permission to agent2 ( #35781 )
...
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com >
Co-authored-by: Max Brunsfeld <maxbrunsfeld@gmail.com >
2025-08-07 13:40:12 +00:00
Danilo Leal
8e290b446e
thread view: Add UI refinements ( #35754 )
...
More notably around how we render tool calls. Nothing too drastic,
though.
Release Notes:
- N/A
2025-08-06 20:31:11 -03:00
Agus Zubiaga and David Kleingeld
33f198fef1
Thread view scrollbar ( #35655 )
...
This also adds a convenient `Scrollbar:auto_hide` function so that we
don't have to handle that at the callsite.
Release Notes:
- N/A
---------
Co-authored-by: David Kleingeld <davidsk@zed.dev >
2025-08-06 14:01:34 +00:00
Agus Zubiaga
334bdd0efc
Fix acp thread entry width ( #35723 )
...
Release Notes:
- N/A
2025-08-06 13:39:55 +00:00
eb4b73b88e
ACP champagne ( #35609 )
...
cherry pick changes from #35510 onto latest main
Release Notes:
- N/A
---------
Co-authored-by: Nathan Sobo <nathan@zed.dev >
Co-authored-by: Antonio Scandurra <me@as-cii.com >
Co-authored-by: Lukas Wirth <lukas@zed.dev >
2025-08-06 09:01:06 +00:00
Mikayla Maki and Agus Zubiaga
53175263a1
Simplify ListState API ( #35685 )
...
Follow up to: https://github.com/zed-industries/zed/pull/35670 ,
simplifies the List state APIs so you no longer have to worry about
strong vs. weak pointers when rendering list items.
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev >
2025-08-06 00:02:26 +00:00
Danilo Leal
cc93175256
Recategorize a few items in the component preview ( #35681 )
...
Release Notes:
- N/A
2025-08-05 23:11:43 +00:00
Cole Miller and Agus
bc2108cbba
Render error state when agent binary exits unexpectedly ( #35651 )
...
This PR adds handling for the case where an agent binary exits
unexpectedly after successfully establishing a connection.
Release Notes:
- N/A
---------
Co-authored-by: Agus <agus@zed.dev >
2025-08-05 22:52:08 +00:00
Danilo Leal
30414d154e
onboarding: Adjust the AI upsell card depending on user's state ( #35658 )
...
Use includes centralizing what each plan delivers in one single file
(`plan_definitions.rs`).
Release Notes:
- N/A
2025-08-05 19:22:48 -03:00
0025019db4
gpui: Press enter, space to trigger click to focused element ( #35075 )
...
Release Notes:
- N/A
> Any user interaction that is equivalent to a click, such as pressing
the Space key or Enter key while the element is focused. Note that this
only applies to elements with a default key event handler, and
therefore, excludes other elements that have been made focusable by
setting the
[tabindex](https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Global_attributes/tabindex )
attribute.
https://developer.mozilla.org/en-US/docs/Web/API/Element/click_event
---------
Co-authored-by: Anthony <anthony@zed.dev >
Co-authored-by: Mikayla Maki <mikayla.c.maki@gmail.com >
Co-authored-by: Umesh Yadav <23421535+imumesh18@users.noreply.github.com >
2025-08-05 18:15:30 -04:00
Agus Zubiaga
b7469f5bc3
Fix ACP connection and thread leak ( #35670 )
...
When you switched away from an ACP thread, the `AcpThreadView` entity
(and thus thread, and subprocess) was leaked. This happened because we
were using `cx.processor` for the `list` state callback, which uses a
strong reference.
This PR changes the callback so that it holds a weak reference, and adds
some tests and assertions at various levels to make sure we don't
reintroduce the leak in the future.
Release Notes:
- N/A
2025-08-05 19:10:51 -03:00
Cole Miller
c957f5ba87
Unpin agent thread controls ( #35661 )
...
This PR moves the new agent thread controls so they're attached to the
last message and scroll with the thread history, instead of always being
shown above the message editor.
Release Notes:
- N/A
2025-08-05 20:47:17 +00:00
Danilo Leal
be2f54b233
agent: Update pieces of copy in the settings view ( #35621 )
...
Some tiny updates to make the agent panel's copywriting sharper.
Release Notes:
- N/A
2025-08-05 00:36:43 +00:00
Agus Zubiaga
1325bf1420
Update to acp 0.0.18 ( #35595 )
...
Release Notes:
- N/A
2025-08-04 18:45:17 +00:00
Danilo Leal
fa8dd1c547
agent: Adjust full screen menu item label and background color ( #35592 )
...
Release Notes:
- N/A
2025-08-04 15:01:32 -03:00
Michael Sloan
65018c28c0
Rename remaining mentions of "inline completion" to "edit prediction" ( #35512 )
...
Release Notes:
- N/A
2025-08-04 16:22:18 +00:00
Danilo Leal
85885723a9
agent: Fix scrolling in the "Add LLM Provider" modal ( #35584 )
...
Closes https://github.com/zed-industries/zed/issues/35402
Release Notes:
- agent: Fix scrolling in the "Add LLM Provider" modal
2025-08-04 12:55:19 -03:00
Michael Sloan
899bc8a8fd
Fix edit prediction disablement with "disable_ai": true setting ( #35513 )
...
Even after #35327 edit predictions were still being queried and shown
after setting `"disable_ai": true`
Also moves `DisableAiSettings` to the `project` crate so that it gets
included in tests via existing use of `Project::init_settings(cx)`.
Release Notes:
- Fixed `"disable_ai": true` setting disabling edit predictions.
2025-08-04 15:45:11 +00:00
Danilo Leal
d577ef52cb
thread view: Scroll to the bottom when sending new messages + adjust controls display ( #35586 )
...
Release Notes:
- N/A
2025-08-04 12:44:29 -03:00
Danilo Leal
0609c8b953
Revise and clean up some icons ( #35582 )
...
This is really just a small beginning, as there are many other icons to
be revised and cleaned up. Our current set is a bit of a mess in terms
of dimension, spacing, stroke width, and terminology. I'm sure there are
more non-used icons I'm not covering here, too. We'll hopefully tackle
it all soon leading up to 1.0.
Closes https://github.com/zed-industries/zed/issues/35576
Release Notes:
- N/A
2025-08-04 11:58:31 -03:00