mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-12 21:03:05 -07:00
refactor(tools): Migrate shell tool name to a centralized constant (#11418)
This commit is contained in:
@@ -19,7 +19,7 @@ import {
|
||||
// Write tools
|
||||
EditTool,
|
||||
MemoryTool,
|
||||
ShellTool,
|
||||
SHELL_TOOL_NAME,
|
||||
WRITE_FILE_TOOL_NAME,
|
||||
WEB_FETCH_TOOL_NAME,
|
||||
WebSearchTool,
|
||||
@@ -47,7 +47,7 @@ const READ_ONLY_TOOLS = new Set([
|
||||
const WRITE_TOOLS = new Set([
|
||||
EditTool.Name,
|
||||
MemoryTool.Name,
|
||||
ShellTool.Name,
|
||||
SHELL_TOOL_NAME,
|
||||
WRITE_FILE_TOOL_NAME,
|
||||
WEB_FETCH_TOOL_NAME,
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user