mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-27 11:02:33 +01:00
df51ce9d4c
- 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