From 829b0f5d1ad5cd43750d37d57dbda3f8303b497a Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Mon, 19 Jan 2026 09:28:19 -0800 Subject: [PATCH] fix --- codex-rs/core/src/unified_exec/process_manager.rs | 3 --- codex-rs/core/tests/suite/abort_tasks.rs | 6 ++++++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/codex-rs/core/src/unified_exec/process_manager.rs b/codex-rs/core/src/unified_exec/process_manager.rs index 82c2c1c73c..09f4cb4c5f 100644 --- a/codex-rs/core/src/unified_exec/process_manager.rs +++ b/codex-rs/core/src/unified_exec/process_manager.rs @@ -10,9 +10,6 @@ use tokio::time::Duration; use tokio::time::Instant; use tokio_util::sync::CancellationToken; -use crate::bash::extract_bash_command; -use crate::codex::Session; -use crate::codex::TurnContext; use crate::exec::append_abort_message; use crate::exec_env::create_env; use crate::protocol::ExecCommandSource; diff --git a/codex-rs/core/tests/suite/abort_tasks.rs b/codex-rs/core/tests/suite/abort_tasks.rs index 952eac7131..7eaedca8e3 100644 --- a/codex-rs/core/tests/suite/abort_tasks.rs +++ b/codex-rs/core/tests/suite/abort_tasks.rs @@ -276,6 +276,7 @@ async fn interrupt_shell_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "start shell".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, }) @@ -292,6 +293,7 @@ async fn interrupt_shell_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "follow up".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, }) @@ -335,6 +337,7 @@ async fn interrupt_local_shell_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "start local shell".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, }) @@ -351,6 +354,7 @@ async fn interrupt_local_shell_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "follow up".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, }) @@ -410,6 +414,7 @@ async fn interrupt_unified_exec_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "start unified exec".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, }) @@ -426,6 +431,7 @@ async fn interrupt_unified_exec_records_partial_output() { .submit(Op::UserInput { items: vec![UserInput::Text { text: "follow up".into(), + text_elements: Vec::new(), }], final_output_json_schema: None, })