feat(sessions): switch between sessions and projects in the session picker

Add a Sessions | Projects tab switcher to the session picker header, a Projects tab listing navigable projects with search by name or branch and keyboard navigation, and a configurable switchPickerTab direct shortcut (default Ctrl+S) shown in the footer hint and Settings.
This commit is contained in:
Chris Scott committed 2026-10-13 10:06:18 -04:00
1 parent 59ffe6c586
commit 18102a3ce8
6 files changed
+459 -21

No files matched your search

+2 -1
View File
@@ -76,6 +76,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
fork: '',
settings: '',
sessions: 'L',
switchPickerTab: 'Ctrl+S',
newSession: 'N',
closeSession: 'W',
toggleSidebar: 'B',
@@ -92,7 +93,7 @@ export const DEFAULT_KEYBOARD_SHORTCUTS = {
export type KeyboardShortcutAction = keyof typeof DEFAULT_KEYBOARD_SHORTCUTS;
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'favoriteCycle', 'halfPageUp', 'halfPageDown'];
export const DEFAULT_DIRECT_SHORTCUTS = ['submit', 'abort', 'clearPrompt', 'toggleMode', 'variantCycle', 'favoriteCycle', 'halfPageUp', 'halfPageDown', 'switchPickerTab'];
export const GitCredentialSchema = z.object({
id: z.string().optional(),