Browse Source

chore: generate

opencode-agent[bot] 1 week ago
parent
commit
378b8ca241
1 changed files with 4 additions and 1 deletions
  1. 4 1
      packages/opencode/src/tool/ls.ts

+ 4 - 1
packages/opencode/src/tool/ls.ts

@@ -45,7 +45,10 @@ export const ListTool = Tool.defineEffect(
     return {
       description: DESCRIPTION,
       parameters: z.object({
-        path: z.string().describe("The absolute path to the directory to list (must be absolute, not relative)").optional(),
+        path: z
+          .string()
+          .describe("The absolute path to the directory to list (must be absolute, not relative)")
+          .optional(),
         ignore: z.array(z.string()).describe("List of glob patterns to ignore").optional(),
       }),
       execute: (params: { path?: string; ignore?: string[] }, ctx: Tool.Context) =>