diff --git a/codex-rs/core/src/event_mapping.rs b/codex-rs/core/src/event_mapping.rs index ab1f88f2cd..8e9c5c802d 100644 --- a/codex-rs/core/src/event_mapping.rs +++ b/codex-rs/core/src/event_mapping.rs @@ -492,6 +492,7 @@ mod tests { query: Some("weather".to_string()), queries: None, }, + metadata: None, } ), other => panic!("expected TurnItem::WebSearch, got {other:?}"), @@ -519,6 +520,7 @@ mod tests { action: WebSearchAction::OpenPage { url: Some("https://example.com".to_string()), }, + metadata: None, } ), other => panic!("expected TurnItem::WebSearch, got {other:?}"), @@ -548,6 +550,7 @@ mod tests { url: Some("https://example.com".to_string()), pattern: Some("needle".to_string()), }, + metadata: None, } ), other => panic!("expected TurnItem::WebSearch, got {other:?}"), @@ -570,6 +573,7 @@ mod tests { id: "ws_partial".to_string(), query: String::new(), action: WebSearchAction::Other, + metadata: None, } ), other => panic!("expected TurnItem::WebSearch, got {other:?}"), diff --git a/codex-rs/core/src/turn_timing.rs b/codex-rs/core/src/turn_timing.rs index 6d72319bd9..7ca67d10db 100644 --- a/codex-rs/core/src/turn_timing.rs +++ b/codex-rs/core/src/turn_timing.rs @@ -215,6 +215,7 @@ mod tests { id: "msg-1".to_string(), content: Vec::new(), phase: None, + metadata: None, })) .await .is_some() @@ -225,6 +226,7 @@ mod tests { id: "msg-2".to_string(), content: Vec::new(), phase: None, + metadata: None, })) .await, None diff --git a/codex-rs/tui/src/chatwidget/tests.rs b/codex-rs/tui/src/chatwidget/tests.rs index c18d1070be..bb6184622b 100644 --- a/codex-rs/tui/src/chatwidget/tests.rs +++ b/codex-rs/tui/src/chatwidget/tests.rs @@ -235,6 +235,7 @@ async fn thread_snapshot_replay_does_not_duplicate_agent_message_history() { text: "assistant reply".to_string(), }], phase: None, + metadata: None, }), }), }); @@ -3503,6 +3504,7 @@ fn complete_assistant_message( text: text.to_string(), }], phase, + metadata: None, }), }), }); @@ -3538,6 +3540,7 @@ fn complete_user_message_for_inputs(chat: &mut ChatWidget, item_id: &str, conten item: TurnItem::UserMessage(UserMessageItem { id: item_id.to_string(), content, + metadata: None, }), }), }); @@ -5819,6 +5822,7 @@ async fn slash_copy_state_tracks_plan_item_completion() { item: TurnItem::Plan(PlanItem { id: "plan-1".to_string(), text: plan_text.clone(), + metadata: None, }), }), });