ui: conversation delete cleanup + new-chat snap-back fix + deletable Main chat (v0.10.3 refresh)

Three small cherry-picks on top of v0.10.3 (no version bump):

- fix: + New chat no longer snaps back to Main chat 500ms after creation.
  populateAgentDropdown's safety net now respects the currently-selected
  conversation id instead of always defaulting to 'default'.
- fix: deleting a conversation now also removes its threads sidecar and
  prunes empty conversations/ folders; ChatSession.dispose() aborts
  thread sub-sessions in memory.
- feat: Main chat (legacy default conversation) is now deletable. Panel
  re-synthesizes an empty Main chat after the last conversation is
  deleted so the view never strands.

110/110 tests green (+2 dispose tests).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Denis Berekchiyan 2026-05-11 14:00:54 -07:00
parent 5cd0da1e0f
commit f4111bdafc

File diff suppressed because one or more lines are too long