Files
zed/crates/agent
Ben Brandt df51ce9d4c agent_servers: Add inactive v2 session cancellation (#65674)
- Send typed ACP v2 `session/cancel` notifications from the inactive
external adapter. Session cancellation does not withdraw a prompt RPC or
erase acceptance evidence.
- Separate fallible cancellation requests from completion observation.
Reported Idle completes an active receipt-mode stop; EOF ends
observation with an error, preserves last reported activity, and closes
future cancellation observers.
- Propagate failures through Stop, subagent Stop, interrupt-and-send,
queued Send Now, checkpoint restoration and native truncation. Failed
stops retain the composer draft and restore queued messages in their
original order with automatic processing paused.
- Preserve legacy completion behavior while preventing a failed
cancellation request from replacing the running legacy turn. Update
native/v1 adapters, eval CLI signal/timeout handling and test doubles
for the fallible contract.

Release Notes:

- N/A
2026-10-16 12:31:31 +00:00
..