gemini-cli/packages/server/src/tools
Taylor Mullen 3d74a7061e fix(server): Use console.debug in GrepTool for less verbose logging
- Replaces `console.warn` and `console.error` calls with `console.debug` in `packages/server/src/tools/grep.ts`. This change reduces noise for the user, as `warn` and `error` messages are
displayed directly, while `debug` messages are not.
- Adds a comprehensive test suite for the GrepTool (`packages/server/src/tools/grep.test.ts`) to ensure its functionality remains robust after these changes and to cover various usage
scenarios.
- Improves error message consistency in `GrepTool`'s parameter validation and execution.

Fixes https://b.corp.google.com/issues/418648813
2025-05-18 23:19:15 -07:00
..
edit.test.ts refactor: Unify file modification confirmation state 2025-05-16 23:34:48 -07:00
edit.ts refactor: Unify file modification confirmation state 2025-05-16 23:34:48 -07:00
glob.test.ts fix(glob): Improve glob tool accuracy and output 2025-05-18 00:10:56 -07:00
glob.ts fix(glob): Improve glob tool accuracy and output 2025-05-18 00:10:56 -07:00
grep.test.ts fix(server): Use console.debug in GrepTool for less verbose logging 2025-05-18 23:19:15 -07:00
grep.ts fix(server): Use console.debug in GrepTool for less verbose logging 2025-05-18 23:19:15 -07:00
ls.ts Enable tools to cancel active execution. 2025-05-10 00:21:09 -07:00
memoryTool.test.ts ability to override core system prompt (via .gemini/system.md) and specify core tools via coreTools setting (e.g. coreTools:["ls", "GrepTool", ...]) ; added tests, but did not update docs for now (#413) 2025-05-17 19:45:16 -07:00
memoryTool.ts ability to override core system prompt (via .gemini/system.md) and specify core tools via coreTools setting (e.g. coreTools:["ls", "GrepTool", ...]) ; added tests, but did not update docs for now (#413) 2025-05-17 19:45:16 -07:00
read-file.ts Enable tools to cancel active execution. 2025-05-10 00:21:09 -07:00
read-many-files.ts feat: Implement CLI and model memory management (#371) 2025-05-16 16:36:50 -07:00
shell.json minimal shell tool (#191) 2025-04-27 18:57:10 -07:00
shell.md drop restriction on whitespace in bash commands (#272) 2025-05-06 23:38:36 -07:00
shell.ts fix(shell): Improve error reporting for shell command failures 2025-05-18 00:25:53 -07:00
tool-registry.test.ts ability to override core system prompt (via .gemini/system.md) and specify core tools via coreTools setting (e.g. coreTools:["ls", "GrepTool", ...]) ; added tests, but did not update docs for now (#413) 2025-05-17 19:45:16 -07:00
tool-registry.ts added timeout setting to mcp server config, also switched to custom config type without "stderr" field that does not make sense in settings (#410) 2025-05-17 16:53:22 -07:00
tools.ts fix: Ensure filename is available for diff rendering in write-file 2025-05-16 10:13:13 -07:00
web-fetch.ts Enable tools to cancel active execution. 2025-05-10 00:21:09 -07:00
write-file.test.ts fix: Prevent WriteFileTool from writing to directory paths 2025-05-17 00:01:35 -07:00
write-file.ts refactor: Remove console.error from WriteFileTool 2025-05-17 23:06:50 -07:00