From d62dad5575a53b5bb8058509563502ca922a4fc5 Mon Sep 17 00:00:00 2001 From: "N. Taylor Mullen" Date: Sun, 8 Jun 2025 16:20:43 -0700 Subject: Revert "Add batch editing capabilities to Edit Tool (#648)" (#857) --- packages/cli/src/gemini.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages/cli/src') diff --git a/packages/cli/src/gemini.tsx b/packages/cli/src/gemini.tsx index 4f30e3da..01bbf73c 100644 --- a/packages/cli/src/gemini.tsx +++ b/packages/cli/src/gemini.tsx @@ -28,6 +28,7 @@ import { ShellTool, WebFetchTool, WebSearchTool, + WriteFileTool, } from '@gemini-cli/core'; export async function main() { @@ -155,13 +156,14 @@ async function loadNonInteractiveConfig( GrepTool.Name, GlobTool.Name, EditTool.Name, + WriteFileTool.Name, WebFetchTool.Name, WebSearchTool.Name, ReadManyFilesTool.Name, ShellTool.Name, MemoryTool.Name, ]; - const interactiveTools = [ShellTool.Name, EditTool.Name]; + const interactiveTools = [ShellTool.Name, EditTool.Name, WriteFileTool.Name]; const nonInteractiveTools = existingCoreTools.filter( (tool) => !interactiveTools.includes(tool), ); -- cgit v1.2.3