feat: External editor settings (#882)

This commit is contained in:
Leo 2025-06-12 02:21:54 +01:00 committed by GitHub
parent dd53e5c96a
commit 1ef68e0612
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
23 changed files with 849 additions and 81 deletions

View file

@ -66,6 +66,7 @@ export const useSlashCommandProcessor = (
setShowHelp: React.Dispatch<React.SetStateAction<boolean>>,
onDebugMessage: (message: string) => void,
openThemeDialog: () => void,
openEditorDialog: () => void,
performMemoryRefresh: () => Promise<void>,
toggleCorgiMode: () => void,
showToolDescriptions: boolean = false,
@ -181,6 +182,13 @@ export const useSlashCommandProcessor = (
openThemeDialog();
},
},
{
name: 'editor',
description: 'open the editor',
action: (_mainCommand, _subCommand, _args) => {
openEditorDialog();
},
},
{
name: 'stats',
altName: 'usage',
@ -745,6 +753,7 @@ Add any other context about the problem here.
setShowHelp,
refreshStatic,
openThemeDialog,
openEditorDialog,
clearItems,
performMemoryRefresh,
showMemoryAction,