Revert "Add batch editing capabilities to Edit Tool (#648)" (#857)

This commit is contained in:
N. Taylor Mullen
2025-06-08 16:20:43 -07:00
committed by GitHub
parent 152af28a34
commit d62dad5575
21 changed files with 1544 additions and 3159 deletions

View File

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