feat(plugins): add JavaScript plugin system with overlay panel (#303)

This commit is contained in:
sudacode authored and GitHub committed 2026-10-31 19:09:54 -07:00
1 parent 90fc7cf940
commit a9a4c4f083
110 files changed
+5897 -344

No files matched your search

+1
View File
@@ -595,6 +595,7 @@ function createKeyboardHandlerHarness() {
changelogKeydownCount += 1;
return true;
},
handlePluginPanelKeydown: () => false,
openSessionHelpModal: () => {},
openControllerSelectModal: () => {
openControllerSelectCount += 1;
+6
View File
@@ -32,6 +32,7 @@ export function createKeyboardHandlers(
handleControllerDebugKeydown: (e: KeyboardEvent) => boolean;
handleSessionHelpKeydown: (e: KeyboardEvent) => boolean;
handleChangelogKeydown: (e: KeyboardEvent) => boolean;
handlePluginPanelKeydown: (e: KeyboardEvent) => boolean;
openSessionHelpModal: (opening: {
bindingKey: 'KeyH' | 'KeyK';
fallbackUsed: boolean;
@@ -1172,6 +1173,11 @@ export function createKeyboardHandlers(
return;
}
if (ctx.state.pluginPanelModalOpen) {
options.handlePluginPanelKeydown(e);
return;
}
if (ctx.state.runtimeOptionsModalOpen) {
options.handleRuntimeOptionsKeydown(e);
return;