File tree Expand file tree Collapse file tree
src/utils/processUserInput Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -146,9 +146,10 @@ export async function processUserInput({
146146} ) : Promise < ProcessUserInputBaseResult > {
147147 const inputString = typeof input === 'string' ? input : null
148148 // Immediately show the user input prompt while we are still processing the input.
149- // Skip for isMeta (system-generated prompts like scheduled tasks) — those
150- // should run invisibly.
151- if ( mode === 'prompt' && inputString !== null && ! isMeta ) {
149+ // Skip for isMeta (system-generated prompts like scheduled tasks) and slash
150+ // commands (they produce their own system message echo via createCommandInputMessage).
151+ const isSlashInput = inputString ?. startsWith ( '/' ) && ! skipSlashCommands
152+ if ( mode === 'prompt' && inputString !== null && ! isMeta && ! isSlashInput ) {
152153 setUserInputOnProcessing ?.( inputString )
153154 }
154155
You can’t perform that action at this time.
0 commit comments