diff --git a/codex-rs/analytics/src/analytics_client.rs b/codex-rs/analytics/src/analytics_client.rs index eadcfe876f..d9edc200d0 100644 --- a/codex-rs/analytics/src/analytics_client.rs +++ b/codex-rs/analytics/src/analytics_client.rs @@ -95,10 +95,7 @@ pub enum AnalyticsFact { connection_id: u64, response: Box, }, - Notification { - connection_id: u64, - notification: Box, - }, + Notification(Box), // Facts that do not naturally exist on the app-server protocol surface, or // would require non-trivial protocol reshaping on this branch. Custom(CustomAnalyticsFact), @@ -470,10 +467,7 @@ impl AnalyticsReducer { } => { self.ingest_response(connection_id, *response, out); } - AnalyticsFact::Notification { - connection_id: _connection_id, - notification: _notification, - } => {} + AnalyticsFact::Notification(_notification) => {} AnalyticsFact::Custom(input) => match input { CustomAnalyticsFact::SkillInvoked(input) => { self.ingest_skill_invoked(input, out).await;