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