diff options
Diffstat (limited to 'packages/cli/src/ui/hooks/shellCommandProcessor.ts')
| -rw-r--r-- | packages/cli/src/ui/hooks/shellCommandProcessor.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/cli/src/ui/hooks/shellCommandProcessor.ts b/packages/cli/src/ui/hooks/shellCommandProcessor.ts index 980a6572..543c7f24 100644 --- a/packages/cli/src/ui/hooks/shellCommandProcessor.ts +++ b/packages/cli/src/ui/hooks/shellCommandProcessor.ts @@ -38,7 +38,10 @@ export const useShellCommandProcessor = ( const commandToExecute = rawQuery.trim().slice(1).trimStart(); const userMessageTimestamp = Date.now(); - addItemToHistory({ type: 'user', text: rawQuery }, userMessageTimestamp); + addItemToHistory( + { type: 'user_shell', text: rawQuery }, + userMessageTimestamp, + ); if (!commandToExecute) { addItemToHistory( |
