properly support codex mini

This commit is contained in:
Dax Raad
2025-06-09 20:24:18 -04:00
parent bffc612a4e
commit fed659c582
10 changed files with 26 additions and 24 deletions

View File

@@ -22,8 +22,16 @@ export const ListTool = Tool.define({
id: "opencode.list",
description: DESCRIPTION,
parameters: z.object({
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(),
path: z
.string()
.describe(
"The absolute path to the directory to list (must be absolute, not relative)",
)
.nullable(),
ignore: z
.array(z.string())
.describe("List of glob patterns to ignore")
.nullable(),
}),
async execute(params) {
const app = App.info()