mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-01 00:40:42 -07:00
fix(tools): restore static tool names to fix configuration exclusions (#11551)
This commit is contained in:
@@ -360,6 +360,8 @@ export class ShellTool extends BaseDeclarativeTool<
|
||||
ShellToolParams,
|
||||
ToolResult
|
||||
> {
|
||||
static readonly Name = SHELL_TOOL_NAME;
|
||||
|
||||
private allowlist: Set<string> = new Set();
|
||||
|
||||
constructor(private readonly config: Config) {
|
||||
@@ -367,7 +369,7 @@ export class ShellTool extends BaseDeclarativeTool<
|
||||
// Errors are surfaced when parsing commands.
|
||||
});
|
||||
super(
|
||||
SHELL_TOOL_NAME,
|
||||
ShellTool.Name,
|
||||
'Shell',
|
||||
getShellToolDescription(),
|
||||
Kind.Execute,
|
||||
|
||||
Reference in New Issue
Block a user