fix(zed-integration): Ensure that the zed integration is classified as interactive (#13394)

Co-authored-by: Shreya Keshive <shreyakeshive@google.com>
This commit is contained in:
Ben Brandt
2025-11-20 15:28:37 +00:00
committed by GitHub
parent 1d2e27a698
commit 6c126b9e58

View File

@@ -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,