mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-21 03:15:11 +00:00
fix
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user