Ben Brandt
5895fac377
Refactor ToolCallStatus enum to flat variants ( #36356 )
...
Replace nested Allowed variant with distinct statuses for clearer status
handling.
Release Notes:
- N/A
2025-08-17 13:05:23 +00:00
Ben Brandt
332626e582
Allow Permission Request to only require a ToolCallUpdate instead of a full tool call ( #36319 )
...
Release Notes:
- N/A
2025-08-16 15:04:09 +00:00
Agus Zubiaga
9eb1ff2726
acp thread view: Always use editors for user messages ( #36256 )
...
This means the cursor will be at the position you clicked:
https://github.com/user-attachments/assets/0693950d-7513-4d90-88e2-55817df7213a
Release Notes:
- N/A
2025-08-15 21:03:36 +00:00
Bennet Bo Fenner
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
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
Conrad Irwin
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
Agus Zubiaga
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
Ben Brandt
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
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
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
Cole Miller
d78bd8f1d7
Fix external agent still being marked as generating after error response ( #35992 )
...
Release Notes:
- N/A
2025-08-12 21:41:00 -04:00
Danilo Leal
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
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
Antonio Scandurra
2444321756
Support profiles in agent2 ( #36034 )
...
We still need a profile selector.
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-08-12 12:17:48 +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
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
Antonio Scandurra
db901278f2
Lay the groundwork to create terminals in AcpThread
( #35872 )
...
This just prepares the types so that it will be easy later to update a
tool call with a terminal entity. We paused because we realized we want
to simplify how terminals are created in zed, and so that warrants a
dedicated pull request that can be reviewed in isolation.
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-08-08 14:39:40 +00:00
Agus Zubiaga
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
Agus Zubiaga
edef1f1470
Fix acp generating status after stop ( #35852 )
...
Release Notes:
- N/A
2025-08-08 05:26:53 +00:00
Ben Brandt
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
Antonio Scandurra
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
Agus Zubiaga
bd1c26cb5b
Fix interrupting ACP threads and CC cancellation ( #35752 )
...
Fixes a bug where generation wouldn't continue after interrupting the
agent, and improves CC cancellation so we don't display "[Request
interrupted by user]"
Release Notes:
- N/A
---------
Co-authored-by: Cole Miller <cole@zed.dev>
2025-08-06 22:55:17 -03:00
Cole Miller
9358690337
Fix flicker when agent plan updates ( #35739 )
...
Currently, when the agent updates its plan, there are a few frames where
the text after `Current:` in the plan summary is blank, causing a
flicker. This is because we treat that field as markdown, and the
`MarkdownElement` renders as blank until the raw text has finished
parsing in the background.
This PR fixes the flicker by changing `Markdown::new_text` to
optimistically render the source as a single `MarkdownEvent::Text` span
until background parsing has finished.
Release Notes:
- N/A
Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-08-06 22:38:00 +00:00
Agus Zubiaga
250c51bb20
Fix syntax highlighting in ACP diffs ( #35748 )
...
Release Notes:
- N/A
2025-08-06 19:53:45 +00:00
Ben Brandt
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
Cole Miller
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
Agus Zubiaga
1325bf1420
Update to acp 0.0.18 ( #35595 )
...
Release Notes:
- N/A
2025-08-04 18:45:17 +00:00
Ben Brandt
f17943e4a3
Update to new agent schema ( #35578 )
...
Release Notes:
- N/A
---------
Co-authored-by: Agus Zubiaga <agus@zed.dev>
2025-08-04 13:49:41 +00:00
Ben Brandt
f14f0c24d6
Fix false positive for editing status in agent panel ( #35554 )
...
Release Notes:
- N/A
2025-08-03 20:50:25 +00:00
Ben Brandt
e5c6a596a9
agent_ui: More agent notifications ( #35441 )
...
Release Notes:
- N/A
2025-08-01 14:29:02 +00:00
Agus Zubiaga
9353ba7887
Fix remaining agent server integration tests ( #35222 )
...
Release Notes:
- N/A
2025-07-29 12:40:59 +00:00
Agus Zubiaga
c2fc70eef7
ACP over MCP server impl ( #35196 )
...
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
2025-07-28 14:14:10 +00:00
Agus Zubiaga
2d0f10c48a
Refactor to use new ACP crate ( #35043 )
...
This will prepare us for running the protocol over MCP
Release Notes:
- N/A
---------
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2025-07-24 14:39:29 -03:00
Agus Zubiaga
405244d422
Display ACP plans ( #34816 )
...
Release Notes:
- N/A
---------
Co-authored-by: Danilo Leal <daniloleal09@gmail.com>
2025-07-21 11:11:37 -03:00
Ben Brandt
cfe1adc792
E2E Claude tests ( #34702 )
...
- **Fix cancellation of tool calls**
- **Make tool_call test more resilient**
- **Fix tool call confirmation test**
Release Notes:
- N/A
2025-07-18 13:17:41 +00:00
Agus Zubiaga
8e4555455c
Claude experiment ( #34577 )
...
Release Notes:
- N/A
---------
Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
Co-authored-by: Anthony Eid <hello@anthonyeid.me>
Co-authored-by: Ben Brandt <benjamin.j.brandt@gmail.com>
Co-authored-by: Nathan Sobo <nathan@zed.dev>
Co-authored-by: Oleksiy Syvokon <oleksiy.syvokon@gmail.com>
2025-07-17 14:25:55 +00:00