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/grep.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'packages/core/src/tools/grep.ts') diff --git a/packages/core/src/tools/grep.ts b/packages/core/src/tools/grep.ts index afe83050..177bd1aa 100644 --- a/packages/core/src/tools/grep.ts +++ b/packages/core/src/tools/grep.ts @@ -10,7 +10,7 @@ import path from 'path'; import { EOL } from 'os'; import { spawn } from 'child_process'; import { globStream } from 'glob'; -import { BaseTool, ToolResult } from './tools.js'; +import { BaseTool, Icon, ToolResult } from './tools.js'; import { Type } from '@google/genai'; import { SchemaValidator } from '../utils/schemaValidator.js'; import { makeRelative, shortenPath } from '../utils/paths.js'; @@ -62,6 +62,7 @@ export class GrepTool extends BaseTool { GrepTool.Name, 'SearchText', 'Searches for a regular expression pattern within the content of files in a specified directory (or current working directory). Can filter files by a glob pattern. Returns the lines containing matches, along with their file paths and line numbers.', + Icon.Regex, { properties: { pattern: { -- cgit v1.2.3