From a437367a0549a05e02f329fdfb5b2e02e858a6ac Mon Sep 17 00:00:00 2001 From: Ben Brandt Date: Wed, 19 Nov 2025 10:56:48 +0100 Subject: [PATCH] fix(zed-integration): Ensure that the zed integration is classified as interactive Shell-based tool calls were always failing because the zed flag wasn't getting marked in the config as an interactive session. This should allow the tool calls to proceed. --- packages/cli/src/config/config.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/cli/src/config/config.ts b/packages/cli/src/config/config.ts index cca736179f3..1ce02b922e3 100755 --- a/packages/cli/src/config/config.ts +++ b/packages/cli/src/config/config.ts @@ -514,10 +514,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,