From 0170791800183b81e2afc98f8fb2368219bfb3e3 Mon Sep 17 00:00:00 2001 From: Ramón Medrano Llamas <45878745+rmedranollamas@users.noreply.github.com> Date: Mon, 28 Jul 2025 17:46:43 +0200 Subject: feat: Add /config refresh command (#4993) Co-authored-by: Bryan Morgan --- packages/cli/src/ui/hooks/slashCommandProcessor.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'packages/cli/src/ui/hooks/slashCommandProcessor.ts') diff --git a/packages/cli/src/ui/hooks/slashCommandProcessor.ts b/packages/cli/src/ui/hooks/slashCommandProcessor.ts index be32de11..67e49c21 100644 --- a/packages/cli/src/ui/hooks/slashCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/slashCommandProcessor.ts @@ -50,6 +50,7 @@ export const useSlashCommandProcessor = ( openPrivacyNotice: () => void, toggleVimEnabled: () => Promise, setIsProcessing: (isProcessing: boolean) => void, + refreshConfig: () => Promise, ) => { const session = useSessionStats(); const [commands, setCommands] = useState([]); @@ -158,6 +159,7 @@ export const useSlashCommandProcessor = ( setPendingItem: setPendingCompressionItem, toggleCorgiMode, toggleVimEnabled, + refreshConfig, }, session: { stats: session.stats, @@ -180,6 +182,7 @@ export const useSlashCommandProcessor = ( toggleCorgiMode, toggleVimEnabled, sessionShellAllowlist, + refreshConfig, ], ); -- cgit v1.2.3