Fix build break (tool -> tools).

- Without this we'd get a TS1261 about the name "tool" only differeing from "Tool" (the class) by case.
This commit is contained in:
Taylor Mullen
2025-04-17 17:25:01 -04:00
parent ece8630c33
commit d970882428
13 changed files with 12 additions and 12 deletions

View File

@@ -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';

View File

@@ -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.