Skip to content

Commit 378b8ca

Browse files
chore: generate
1 parent f63bdc8 commit 378b8ca

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • packages/opencode/src/tool

packages/opencode/src/tool/ls.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,10 @@ export const ListTool = Tool.defineEffect(
4545
return {
4646
description: DESCRIPTION,
4747
parameters: z.object({
48-
path: z.string().describe("The absolute path to the directory to list (must be absolute, not relative)").optional(),
48+
path: z
49+
.string()
50+
.describe("The absolute path to the directory to list (must be absolute, not relative)")
51+
.optional(),
4952
ignore: z.array(z.string()).describe("List of glob patterns to ignore").optional(),
5053
}),
5154
execute: (params: { path?: string; ignore?: string[] }, ctx: Tool.Context) =>

0 commit comments

Comments
 (0)