Attempt to make this work

This commit is contained in:
Mark Wylde
2025-05-31 00:13:14 +01:00
parent 436046a0ff
commit 3afac506b2

View File

@@ -187,12 +187,12 @@ export class ClaudeExecutor {
// Add allowed tools if specified // Add allowed tools if specified
if (tools.allowed.length > 0) { if (tools.allowed.length > 0) {
args.push("--allowed-tools", tools.allowed.join(",")); args.push("--allowedTools", tools.allowed.join(","));
} }
// Add disallowed tools if specified // Add disallowed tools if specified
if (tools.disallowed.length > 0) { if (tools.disallowed.length > 0) {
args.push("--disallowed-tools", tools.disallowed.join(",")); args.push("--disallowedTools", tools.disallowed.join(","));
} }
console.log("[CLAUDE-EXECUTOR] Claude Code command:", "claude", args.join(" ")); console.log("[CLAUDE-EXECUTOR] Claude Code command:", "claude", args.join(" "));