Skip to content

The open source coding agent.

TypeScript

chore: generate

opencode-agent[bot]378b8ca241a1
diff --git a/packages/opencode/src/tool/ls.ts b/packages/opencode/src/tool/ls.ts
index 65931579064..2453b6e9cdf 100644
--- a/packages/opencode/src/tool/ls.ts
+++ b/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) =>