From 86ea00dc2131f628fea4d93d9cea41a895bf8fdf Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Mon, 12 Jan 2026 19:08:57 +0000 Subject: [PATCH] fix(tools): accept legacy bash tool calls --- src/agents/pi-tools.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/agents/pi-tools.ts b/src/agents/pi-tools.ts index 388c4179b..77fbdc926 100644 --- a/src/agents/pi-tools.ts +++ b/src/agents/pi-tools.ts @@ -641,6 +641,11 @@ export function createClawdbotCodingTools(options?: { } : undefined, }); + const bashTool = { + ...(execTool as unknown as AnyAgentTool), + name: "bash", + label: "bash", + } satisfies AnyAgentTool; const processTool = createProcessTool({ cleanupMs: options?.exec?.cleanupMs, scopeKey, @@ -665,6 +670,7 @@ export function createClawdbotCodingTools(options?: { : []), ...(applyPatchTool ? [applyPatchTool as unknown as AnyAgentTool] : []), execTool as unknown as AnyAgentTool, + bashTool, processTool as unknown as AnyAgentTool, // Provider docking: include provider-defined agent tools (login, etc.). ...listProviderAgentTools({ cfg: options?.config }),