fix: issue with shell calls

This commit is contained in:
2026-05-31 12:03:05 -05:00
parent fe85adfa53
commit 3f0d9a80c7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ function buildCommonTools(ctx: ToolContext, outputSchema?: JsonSchema): Tool<any
tools.push(SetOutputTool(ctx, outputSchema));
}
if (ctx.payload.shell === "restricted") {
if (ctx.payload.shell !== "disabled") {
tools.push(ShellTool(ctx));
tools.push(KillBackgroundTool(ctx));
}