fix: support cancelled task state (#775)

This commit is contained in:
Robb Currall
2025-07-08 16:33:39 -04:00
committed by GitHub
parent f7d6175283
commit a2fa7ffa42
2 changed files with 3 additions and 1 deletions

View File

@@ -5,7 +5,7 @@ import { App } from "../app/app"
const TodoInfo = z.object({
content: z.string().min(1).describe("Brief description of the task"),
status: z.enum(["pending", "in_progress", "completed"]).describe("Current status of the task"),
status: z.enum(["pending", "in_progress", "completed", "cancelled"]).describe("Current status of the task"),
priority: z.enum(["high", "medium", "low"]).describe("Priority level of the task"),
id: z.string().describe("Unique identifier for the todo item"),
})