diff options
| author | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-10 19:40:10 +0000 |
|---|---|---|
| committer | opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com> | 2026-04-10 19:40:10 +0000 |
| commit | 378b8ca241a1ddf7f902bf6271280d8b2e59af68 (patch) | |
| tree | f71ff280489b703e51babe025336517a0d071c1d /packages | |
| parent | f63bdc8e08a179960fcfd1fe982354dfdf84b8fb (diff) | |
| download | opencode-378b8ca241a1ddf7f902bf6271280d8b2e59af68.tar.gz opencode-378b8ca241a1ddf7f902bf6271280d8b2e59af68.zip | |
chore: generate
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/opencode/src/tool/ls.ts | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/opencode/src/tool/ls.ts b/packages/opencode/src/tool/ls.ts index 659315790..2453b6e9c 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) => |
