mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-16 21:31:01 +01:00
d1e403ebbf
* Add archived state management and worktree sharing for chat sessions - Introduced `archived` property in `ChatSessionMetadataFile` to track archived sessions. - Updated `IChatSessionMetadataStore` interface to include methods for setting and getting archived state. - Implemented logic in `ChatSessionMetadataStore` and `MockChatSessionMetadataStore` to handle archived sessions. - Added `getBlockingSiblingSessionsForFolder` utility to identify sessions that share worktrees. - Modified CLI chat session commands to respect archived state during session deletion and worktree cleanup. - Updated tests to cover new functionality and ensure proper behavior of session management. * Add worktree sharing edge-case unit tests Co-authored-by: DonJayamanne <1948812+DonJayamanne@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>