tool rework

This commit is contained in:
Dax Raad
2025-05-31 17:12:16 -04:00
parent 33109bac4d
commit b4f809559e
19 changed files with 142 additions and 110 deletions

View File

@@ -17,8 +17,8 @@ const IGNORE_PATTERNS = [
".vscode/",
]
export const ls = Tool.define({
name: "opencode.ls",
export const ListTool = Tool.define({
id: "opencode.list",
description: "List directory contents",
parameters: z.object({
path: z.string().optional(),