Skip to content

Commit f895d4c

Browse files
authored
Minor cleanup of codex exec output (#4585)
<img width="850" height="723" alt="image" src="https://github.com/user-attachments/assets/2ae067bf-ba6b-47bf-9ffe-d1c3f3aa1870" /> <img width="872" height="547" alt="image" src="https://github.com/user-attachments/assets/9058be24-6513-4423-9dae-2d5fd4cbf162" />
1 parent ed5d656 commit f895d4c

File tree

5 files changed

+65
-146
lines changed

5 files changed

+65
-146
lines changed

codex-rs/Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codex-rs/exec/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ workspace = true
1616

1717
[dependencies]
1818
anyhow = { workspace = true }
19-
chrono = { workspace = true }
2019
clap = { workspace = true, features = ["derive"] }
2120
codex-arg0 = { workspace = true }
2221
codex-common = { workspace = true, features = [
@@ -27,6 +26,7 @@ codex-common = { workspace = true, features = [
2726
codex-core = { workspace = true }
2827
codex-ollama = { workspace = true }
2928
codex-protocol = { workspace = true }
29+
opentelemetry-appender-tracing = { workspace = true }
3030
owo-colors = { workspace = true }
3131
serde = { workspace = true, features = ["derive"] }
3232
serde_json = { workspace = true }
@@ -40,7 +40,6 @@ tokio = { workspace = true, features = [
4040
] }
4141
tracing = { workspace = true, features = ["log"] }
4242
tracing-subscriber = { workspace = true, features = ["env-filter"] }
43-
opentelemetry-appender-tracing = { workspace = true }
4443
ts-rs = { workspace = true, features = [
4544
"uuid-impl",
4645
"serde-json-impl",
@@ -52,10 +51,10 @@ ts-rs = { workspace = true, features = [
5251
assert_cmd = { workspace = true }
5352
core_test_support = { workspace = true }
5453
libc = { workspace = true }
54+
mcp-types = { workspace = true }
5555
predicates = { workspace = true }
5656
pretty_assertions = { workspace = true }
5757
tempfile = { workspace = true }
5858
uuid = { workspace = true }
5959
walkdir = { workspace = true }
6060
wiremock = { workspace = true }
61-
mcp-types = { workspace = true }

codex-rs/exec/src/event_processor.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ pub(crate) trait EventProcessor {
2121

2222
/// Handle a single event emitted by the agent.
2323
fn process_event(&mut self, event: Event) -> CodexStatus;
24+
25+
fn print_final_output(&mut self) {}
2426
}
2527

2628
pub(crate) fn handle_last_message(last_agent_message: Option<&str>, output_file: &Path) {

0 commit comments

Comments
 (0)