feat(coding-agent): add resume as configurable keybinding action (#1249)

feat(coding-agent): add resume as configurable keybinding action

Allow users to bind a key to open the session resume selector, matching the pattern of newSession, tree, and fork actions.
This commit is contained in:
Juan Ibiapina 2026-02-04 13:43:51 +01:00 committed by GitHub
parent b5be54b8ef
commit b80762966a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 1 deletions

View file

@ -32,7 +32,8 @@ export type AppAction =
| "pasteImage"
| "newSession"
| "tree"
| "fork";
| "fork"
| "resume";
/**
* All configurable actions.
@ -68,6 +69,7 @@ export const DEFAULT_APP_KEYBINDINGS: Record<AppAction, KeyId | KeyId[]> = {
newSession: [],
tree: [],
fork: [],
resume: [],
};
/**
@ -98,6 +100,7 @@ const APP_ACTIONS: AppAction[] = [
"newSession",
"tree",
"fork",
"resume",
];
function isAppAction(action: string): action is AppAction {