mirror of
https://github.com/getcompanion-ai/co-mono.git
synced 2026-04-15 21:03:19 +00:00
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:
parent
b5be54b8ef
commit
b80762966a
3 changed files with 9 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue