[codex-analytics] add protocol-native turn timestamps

This commit is contained in:
rhan-oai
2026-04-04 17:57:33 -07:00
parent 4fd5c35c4f
commit 73cdd36498
43 changed files with 746 additions and 28 deletions
+1
View File
@@ -111,6 +111,7 @@ pub(crate) async fn execute_user_shell_command(
// freshly reinjected context before the summary/replacement history is applied.
let event = EventMsg::TurnStarted(TurnStartedEvent {
turn_id: turn_context.sub_id.clone(),
created_at: turn_context.turn_timing_state.started_at_unix_secs().await,
model_context_window: turn_context.model_context_window(),
collaboration_mode_kind: turn_context.collaboration_mode.mode,
});