Rename update_plan tool to todo_write

This commit is contained in:
Charles Cunningham
2026-01-29 11:09:15 -08:00
parent e162f96b78
commit 8b8840047c
29 changed files with 142 additions and 77 deletions
@@ -589,7 +589,7 @@ server_notification_definitions! {
TurnStarted => "turn/started" (v2::TurnStartedNotification),
TurnCompleted => "turn/completed" (v2::TurnCompletedNotification),
TurnDiffUpdated => "turn/diff/updated" (v2::TurnDiffUpdatedNotification),
TurnPlanUpdated => "turn/plan/updated", aliases(["turn/todo/updated"]) (v2::TurnPlanUpdatedNotification),
TurnPlanUpdated => "turn/plan/updated", aliases(["turn/todo/updated", "turn/todos/updated"]) (v2::TurnPlanUpdatedNotification),
ItemStarted => "item/started" (v2::ItemStartedNotification),
ItemCompleted => "item/completed" (v2::ItemCompletedNotification),
/// This event is internal-only. Used by Codex Cloud.
@@ -2270,6 +2270,7 @@ pub struct TurnPlanUpdatedNotification {
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Eq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
/// Legacy plan-named todo step used by the todo list update notification.
pub struct TurnPlanStep {
pub step: String,
pub status: TurnPlanStepStatus,
@@ -2278,6 +2279,7 @@ pub struct TurnPlanStep {
#[derive(Serialize, Deserialize, Debug, Clone, Copy, PartialEq, Eq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
/// Legacy plan-named todo status used by the todo list update notification.
pub enum TurnPlanStepStatus {
Pending,
InProgress,