diff options
| author | Taylor Mullen <[email protected]> | 2025-04-17 17:25:01 -0400 |
|---|---|---|
| committer | Taylor Mullen <[email protected]> | 2025-04-17 17:25:01 -0400 |
| commit | d970882428a264d122b2f60fc91a4d72da912a93 (patch) | |
| tree | f3eadc5ac3bd990e9986ab4afa4781ab8c1f1201 /packages/cli/src/core | |
| parent | ece8630c3327588f291a165599d44fade2c63425 (diff) | |
Fix build break (tool -> tools).
- Without this we'd get a TS1261 about the name "tool" only differeing from "Tool" (the class) by case.
Diffstat (limited to 'packages/cli/src/core')
| -rw-r--r-- | packages/cli/src/core/gemini-client.ts | 2 | ||||
| -rw-r--r-- | packages/cli/src/core/history-updater.ts | 2 |
2 files changed, 2 insertions, 2 deletions
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. |
