From 8ede7c59d21249ade278b6a03bb81ffbcb7b349a Mon Sep 17 00:00:00 2001 From: Aiden Cline Date: Fri, 5 Dec 2025 16:12:40 -0600 Subject: [PATCH] fix --- packages/opencode/src/tool/bash.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/opencode/src/tool/bash.ts b/packages/opencode/src/tool/bash.ts index abfc5947cd..8743373327 100644 --- a/packages/opencode/src/tool/bash.ts +++ b/packages/opencode/src/tool/bash.ts @@ -92,7 +92,8 @@ export const BashTool = Tool.define("bash", async () => { timeout: z.number().describe("Optional timeout in milliseconds").optional(), workdir: z .string() - .describe(`The working directory to execute the command in, defaults to ${Instance.directory}`), + .describe(`The working directory to execute the command in, defaults to ${Instance.directory}`) + .optional(), description: z .string() .describe(