feat(vscode): add archive all sessions action (#1262)

* feat(vscode): add archive all sessions action

* Update packages/ui/src/components/layout/VSCodeLayout.tsx

Signed-off-by: Jake <101855602+jjdubski@users.noreply.github.com>

* fix: Fail-open default archives all sessions when workspace can't be resolved

* fix: Already-archived descendants are included in the archive call

* fix: add i18n for the newly added toasts

* Restore icon name from 'add-line' to 'add'

Signed-off-by: Jake <101855602+jjdubski@users.noreply.github.com>

* update: fix merge conflict and update code structure into components

---------

Signed-off-by: Jake <101855602+jjdubski@users.noreply.github.com>
Co-authored-by: Bohdan Triapitsyn <artmore@protonmail.com>
This commit is contained in:
Jake
2026-06-08 15:11:05 +03:00
committed by GitHub
co-authored by Bohdan Triapitsyn
parent bba4b02dca
commit 5589ca991a
12 changed files with 208 additions and 5 deletions
+5
View File
@@ -2421,6 +2421,11 @@ export const dict: Record<I18nKey, string> = {
'vscodeLayout.title.sessions': '세션',
'vscodeLayout.title.sessionFallback': '세션',
'vscodeLayout.actions.backToSessionsAria': '세션으로 돌아가기',
'vscodeLayout.actions.archiveAllAria': '모든 세션 보관',
'vscodeLayout.actions.archiveAllConfirm': '모두 보관',
'vscodeLayout.actions.archiveAllSuccess': '{count}개 세션 보관됨',
'vscodeLayout.actions.archiveAllError': '{count}개 세션 보관 실패',
'vscodeLayout.actions.cancel': '취소',
'vscodeLayout.actions.newSessionAria': '새 세션',
'vscodeLayout.actions.openAgentManagerAria': '에이전트 관리자 열기',
'vscodeLayout.actions.resizeSessionsSidebarAria': '세션 사이드바 크기 조정',