Revert "Make --allowed-tools work in non-interactive mode" (#10006)

This commit is contained in:
Gal Zahavi
2025-09-26 16:22:02 -07:00
committed by GitHub
parent 2aa2ab878b
commit 24c15b9d43
9 changed files with 7 additions and 388 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ import { quote } from 'shell-quote';
import { doesToolInvocationMatch } from './tool-utils.js';
import { spawn, type SpawnOptionsWithoutStdio } from 'node:child_process';
export const SHELL_TOOL_NAMES = ['run_shell_command', 'ShellTool'];
const SHELL_TOOL_NAMES = ['run_shell_command', 'ShellTool'];
/**
* An identifier for the shell type.