diff --git a/codex-rs/core/src/exec.rs b/codex-rs/core/src/exec.rs index 9ed488098c..e90e9061e2 100644 --- a/codex-rs/core/src/exec.rs +++ b/codex-rs/core/src/exec.rs @@ -184,7 +184,7 @@ pub struct StreamOutput { pub truncated_after_lines: Option, } #[derive(Debug)] -pub struct RawExecToolCallOutput { +struct RawExecToolCallOutput { pub exit_status: ExitStatus, pub stdout: StreamOutput>, pub stderr: StreamOutput>, @@ -255,7 +255,7 @@ async fn exec( /// Consumes the output of a child process, truncating it so it is suitable for /// use as the output of a `shell` tool call. Also enforces specified timeout. -pub(crate) async fn consume_truncated_output( +async fn consume_truncated_output( mut child: Child, timeout: Duration, stdout_stream: Option,