mirror of
https://github.com/zed-industries/zed.git
synced 2026-11-25 01:50:11 +01:00
8c8ada0fbf
- 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