@@ -496,8 +496,8 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
496496 return ;
497497 }
498498
499+ // Handle standard message sending based on variant
499500 if ( variant === "creation" ) {
500- // Creation variant: simple message send + workspace creation
501501 setIsSending ( true ) ;
502502 const ok = await creationState . handleSend ( messageText ) ;
503503 if ( ok ) {
@@ -511,7 +511,7 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
511511 }
512512
513513 // Workspace variant: regular message send
514- if ( variant !== "workspace" ) return ; // Type guard
514+ if ( variant !== "workspace" ) return ;
515515
516516 try {
517517 // Regular message - send directly via API
@@ -762,17 +762,15 @@ export const ChatInput: React.FC<ChatInputProps> = (props) => {
762762 < ChatInputToast toast = { toast } onDismiss = { handleToastDismiss } />
763763 ) }
764764
765- { /* Command suggestions - workspace only */ }
766- { variant === "workspace" && (
767- < CommandSuggestions
768- suggestions = { commandSuggestions }
769- onSelectSuggestion = { handleCommandSelect }
770- onDismiss = { ( ) => setShowCommandSuggestions ( false ) }
771- isVisible = { showCommandSuggestions }
772- ariaLabel = "Slash command suggestions"
773- listId = { commandListId }
774- />
775- ) }
765+ { /* Command suggestions - available in both variants */ }
766+ < CommandSuggestions
767+ suggestions = { commandSuggestions }
768+ onSelectSuggestion = { handleCommandSelect }
769+ onDismiss = { ( ) => setShowCommandSuggestions ( false ) }
770+ isVisible = { showCommandSuggestions }
771+ ariaLabel = "Slash command suggestions"
772+ listId = { commandListId }
773+ />
776774
777775 < div className = "flex items-end" data-component = "ChatInputControls" >
778776 < VimTextArea
0 commit comments