| use schemars::JsonSchema; | |
| use serde::Deserialize; | |
| use serde::Serialize; | |
| use ts_rs::TS; | |
| // Types for the TODO tool arguments matching codex-vscode/todo-mcp/src/main.rs | |
| pub enum StepStatus { | |
| Pending, | |
| InProgress, | |
| Completed, | |
| } | |
| pub struct PlanItemArg { | |
| pub step: String, | |
| pub status: StepStatus, | |
| } | |
| pub struct UpdatePlanArgs { | |
| /// Arguments for the `update_plan` todo/checklist tool (not plan mode). | |
| pub explanation: Option<String>, | |
| pub plan: Vec<PlanItemArg>, | |
| } | |