From d970882428a264d122b2f60fc91a4d72da912a93 Mon Sep 17 00:00:00 2001 From: Taylor Mullen Date: Thu, 17 Apr 2025 17:25:01 -0400 Subject: Fix build break (tool -> tools). - Without this we'd get a TS1261 about the name "tool" only differeing from "Tool" (the class) by case. --- packages/cli/src/core/gemini-client.ts | 2 +- packages/cli/src/core/history-updater.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'packages/cli/src/core') diff --git a/packages/cli/src/core/gemini-client.ts b/packages/cli/src/core/gemini-client.ts index e41fda6f..67812f8e 100644 --- a/packages/cli/src/core/gemini-client.ts +++ b/packages/cli/src/core/gemini-client.ts @@ -10,7 +10,7 @@ import { CoreSystemPrompt } from './prompts.js'; import { type ToolCallEvent, type ToolCallConfirmationDetails, ToolCallStatus } from '../ui/types.js'; import process from 'node:process'; import { toolRegistry } from '../tools/tool-registry.js'; -import { ToolResult } from '../tools/tool.js'; +import { ToolResult } from '../tools/tools.js'; import { getFolderStructure } from '../utils/getFolderStructure.js'; import { GeminiEventType, GeminiStream } from './gemini-stream.js'; diff --git a/packages/cli/src/core/history-updater.ts b/packages/cli/src/core/history-updater.ts index 4013728f..369454ff 100644 --- a/packages/cli/src/core/history-updater.ts +++ b/packages/cli/src/core/history-updater.ts @@ -1,7 +1,7 @@ import { Part } from "@google/genai"; import { toolRegistry } from "../tools/tool-registry.js"; import { HistoryItem, IndividualToolCallDisplay, ToolCallEvent, ToolCallStatus, ToolConfirmationOutcome, ToolEditConfirmationDetails, ToolExecuteConfirmationDetails } from "../ui/types.js"; -import { ToolResultDisplay } from "../tools/tool.js"; +import { ToolResultDisplay } from "../tools/tools.js"; /** * Processes a tool call chunk and updates the history state accordingly. -- cgit v1.2.3