[codex-analytics] add protocol-native turn timestamps

This commit is contained in:
rhan-oai
2026-04-04 16:13:25 -07:00
parent 4fd5c35c4f
commit 466fcf6e49
43 changed files with 733 additions and 21 deletions
@@ -53,6 +53,7 @@ fn resume_history(
history: vec![
RolloutItem::EventMsg(EventMsg::TurnStarted(TurnStartedEvent {
turn_id: turn_id.clone(),
created_at: None,
model_context_window: None,
collaboration_mode_kind: ModeKind::Default,
})),
@@ -66,6 +67,8 @@ fn resume_history(
RolloutItem::EventMsg(EventMsg::TurnComplete(TurnCompleteEvent {
turn_id,
last_agent_message: None,
completed_at: None,
duration_ms: None,
})),
],
rollout_path: rollout_path.to_path_buf(),