Files
zed/crates/acp_thread
Ben Brandt 8c8ada0fbf agent_ui: Separate session close from view release (#65703)
- Separate explicit close support from UI teardown policy through a
default-compatible `AgentConnection::should_close_sessions_on_release`
method. Both view destruction and server-state replacement respect it.
- Make v2 explicitly opt out of automatic close: closing a session
cancels agent-owned work, while disposing its view must not. Explicit v2
close support remains disabled.
- Return all batch-close failures with session IDs and original error
objects, preserving SDK codes/data. Wait for every result rather than
abandoning other closes after the first failure; automatic teardown logs
the aggregate error instead of discarding results.

Release Notes:

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