From 3f8425ef3be840b022fa2cd15d25d4d3cf34f91e Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Tue, 27 Jan 2026 11:59:07 -0800 Subject: [PATCH] Emit legacy thread/compacted notification --- codex-rs/app-server/src/bespoke_event_handling.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/codex-rs/app-server/src/bespoke_event_handling.rs b/codex-rs/app-server/src/bespoke_event_handling.rs index 3f02215cd5..7af25f2bd3 100644 --- a/codex-rs/app-server/src/bespoke_event_handling.rs +++ b/codex-rs/app-server/src/bespoke_event_handling.rs @@ -617,7 +617,10 @@ pub(crate) async fn apply_bespoke_event_handling( turn_id: event_turn_id.clone(), }; outgoing - .send_server_notification(ServerNotification::CompactionEnded(notification)) + .send_server_notification(ServerNotification::CompactionEnded(notification.clone())) + .await; + outgoing + .send_server_notification(ServerNotification::ContextCompacted(notification)) .await; } EventMsg::DeprecationNotice(event) => {