From 5651bce51f92c462a69308ca85bc3ae805c10419 Mon Sep 17 00:00:00 2001 From: Hannes Rudolph Date: Mon, 22 Dec 2025 22:14:37 -0700 Subject: [PATCH] fix: pass openFile=false in EditFileCodexTool when PREVENT_FOCUS_DISRUPTION enabled --- src/core/tools/EditFileCodexTool.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/tools/EditFileCodexTool.ts b/src/core/tools/EditFileCodexTool.ts index 26b5619e96..3602714b38 100644 --- a/src/core/tools/EditFileCodexTool.ts +++ b/src/core/tools/EditFileCodexTool.ts @@ -191,7 +191,7 @@ export class ApplyPatchTool extends BaseTool<"edit_file_codex"> { // Save the changes if (isPreventFocusDisruptionEnabled) { - await task.diffViewProvider.saveDirectly(relPath, newContent, true, diagnosticsEnabled, writeDelayMs) + await task.diffViewProvider.saveDirectly(relPath, newContent, false, diagnosticsEnabled, writeDelayMs) } else { await task.diffViewProvider.saveChanges(diagnosticsEnabled, writeDelayMs) }