Lightweight coding agent that runs in your terminal
Rust
Show abort in the resume (#3629)
Ahmed Ibrahim50262a44cee2
diff --git a/codex-rs/core/src/rollout/policy.rs b/codex-rs/core/src/rollout/policy.rsindex f46fa7cab5..0d8fee92b0 100644--- a/codex-rs/core/src/rollout/policy.rs+++ b/codex-rs/core/src/rollout/policy.rs@@ -40,7 +40,8 @@ pub(crate) fn should_persist_event_msg(ev: &EventMsg) -> bool {| EventMsg::AgentReasoningRawContent(_)| EventMsg::TokenCount(_)| EventMsg::EnteredReviewMode(_)- | EventMsg::ExitedReviewMode(_) => true,+ | EventMsg::ExitedReviewMode(_)+ | EventMsg::TurnAborted(_) => true,EventMsg::Error(_)| EventMsg::TaskStarted(_)| EventMsg::TaskComplete(_)@@ -67,7 +68,6 @@ pub(crate) fn should_persist_event_msg(ev: &EventMsg) -> bool {| EventMsg::McpListToolsResponse(_)| EventMsg::ListCustomPromptsResponse(_)| EventMsg::PlanUpdate(_)- | EventMsg::TurnAborted(_)| EventMsg::ShutdownComplete| EventMsg::ConversationPath(_) => false,}