pass --disallowedTools as a single comma-separated arg

claude-code's commander parser treats --disallowedTools as variadic
<tools...>, which silently absorbs extra tokens but may not enforce
them as reliably as a single comma-separated value. switch to the
form the CLI help documents ("Bash,Agent(Bash)") to make the deny
list unambiguous.
This commit is contained in:
Colin McDonnell
2026-04-16 23:38:42 +00:00
committed by pullfrog[bot]
parent 6533ffddae
commit 6d0254c7b8
+1 -2
View File
@@ -591,8 +591,7 @@ export const claude = agent({
"--effort", "--effort",
effort, effort,
"--disallowedTools", "--disallowedTools",
"Bash", "Bash,Agent(Bash)",
"Agent(Bash)",
]; ];
if (model) { if (model) {