track errors

This commit is contained in:
Dax Raad
2025-06-04 17:55:07 -04:00
parent e20093678f
commit 6cfce1e4da
2 changed files with 76 additions and 91 deletions

View File

@@ -43,7 +43,7 @@ export const TodoWriteTool = Tool.define({
export const TodoReadTool = Tool.define({
id: "opencode.todoread",
description: "Use this tool to read your todo list",
parameters: z.object({}),
parameters: z.void({}),
async execute(params, opts) {
const todos = state()[opts.sessionID] ?? []
return {