From 761ffc63388201373e5d16f36c2af09be71b5933 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Thu, 17 Jul 2025 16:25:23 -0600 Subject: Zed integration (#4266) Co-authored-by: Agus Zubiaga Co-authored-by: Ben Brandt Co-authored-by: mkorwel --- packages/core/src/tools/glob.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/core/src/tools/glob.ts') diff --git a/packages/core/src/tools/glob.ts b/packages/core/src/tools/glob.ts index 9381894e..417495fe 100644 --- a/packages/core/src/tools/glob.ts +++ b/packages/core/src/tools/glob.ts @@ -8,7 +8,7 @@ import fs from 'fs'; import path from 'path'; import { glob } from 'glob'; import { SchemaValidator } from '../utils/schemaValidator.js'; -import { BaseTool, ToolResult } from './tools.js'; +import { BaseTool, Icon, ToolResult } from './tools.js'; import { Type } from '@google/genai'; import { shortenPath, makeRelative } from '../utils/paths.js'; import { isWithinRoot } from '../utils/fileUtils.js'; @@ -86,6 +86,7 @@ export class GlobTool extends BaseTool { GlobTool.Name, 'FindFiles', 'Efficiently finds files matching specific glob patterns (e.g., `src/**/*.ts`, `**/*.md`), returning absolute paths sorted by modification time (newest first). Ideal for quickly locating files based on their name or path structure, especially in large codebases.', + Icon.FileSearch, { properties: { pattern: { -- cgit v1.2.3