diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index 48ed54c5c4..946a14dc88 100755 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -515,10 +515,11 @@ export async function loadCliConfig( const hasQuery = !!argv.query; const interactive = !!argv.promptInteractive || + !!argv.experimentalAcp || (process.stdin.isTTY && !hasQuery && !argv.prompt); // In non-interactive mode, exclude tools that require a prompt. const extraExcludes: string[] = []; - if (!interactive && !argv.experimentalAcp) { + if (!interactive) { const defaultExcludes = [ SHELL_TOOL_NAME, EDIT_TOOL_NAME,