codex-codes 0.143.0

Typed Rust SDK for the OpenAI Codex agent CLI: serde models of the codex app-server JSON-RPC protocol, plus sync and async (Tokio) clients for multi-turn Codex agent sessions, tool calls, and approvals.
Documentation

Build #3703246 2026-06-27 21:41:42

# rustc version rustc 1.98.0-nightly (ce9954c0c 2026-06-26)

# docs.rs version docsrs 0.0.0 (886bc7a22b1adc4b387ce1343447fe3af98d9ce5 2026-06-14 )

# build log [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "DOCS_RS=1" "-w" "/opt/rustwide/workdir" "--user" "1001:1001" "cfbca3b58eb5338dabd44e934ee1eb5be18abfd45e247ce546240aa433db8b0e" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260626-1.98.0-nightly-ce9954c0c\", \"--static-root-path\", \"/-/rustdoc.static/\", \"--cap-lints\", \"warn\", \"--extern-html-root-takes-precedence\"]" "--offline" "-Zunstable-options" "--config=doc.extern-map.registries.crates-io=\"https://docs.rs/{pkg_name}/{version}/x86_64-unknown-linux-gnu\"" "-Zrustdoc-scrape-examples" "-j6" "--target" "x86_64-unknown-linux-gnu", kill_on_drop: false }` [INFO] [stderr] warning: Rustdoc did not scrape the following examples because they require dev-dependencies: async_client, basic_repl, schema_coverage, sync_client [INFO] [stderr] If you want Rustdoc to scrape these examples, then add `doc-scrape-examples = true` [INFO] [stderr] to the [[example]] target configuration of at least one example. [INFO] [stderr] warning: target filter specified, but no targets matched; this is a no-op [INFO] [stderr] Documenting codex-codes v0.143.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: unresolved link to `ContentBlock` [INFO] [stderr] --> src/messages.rs:10:31 [INFO] [stderr] | [INFO] [stderr] 10 | //! The pattern mirrors the [`ContentBlock`] dispatch in the sibling [INFO] [stderr] | ^^^^^^^^^^^^ no item named `ContentBlock` in scope [INFO] [stderr] | [INFO] [stderr] = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` [INFO] [stderr] = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `AbsolutePathBufGuard::new` [INFO] [stderr] --> src/protocol_generated/types.rs:21:88 [INFO] [stderr] | [INFO] [stderr] 21 | ...base path must be set using [AbsolutePathBufGuard::new]. If no base path is set, the deserialization will fail unless the path be... [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `AbsolutePathBufGuard` in scope [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::CommandExecutionApprovalResponse` [INFO] [stderr] --> src/client_sync.rs:297:63 [INFO] [stderr] | [INFO] [stderr] 297 | /// approval, pass a [`CommandExecutionApprovalResponse`](crate::CommandExecutionApprovalResponse). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `CommandExecutionApprovalResponse` in module `codex_codes` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::FileChangeApprovalResponse` [INFO] [stderr] --> src/client_sync.rs:298:73 [INFO] [stderr] | [INFO] [stderr] 298 | /// For file change approval, pass a [`FileChangeApprovalResponse`](crate::FileChangeApprovalResponse). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `FileChangeApprovalResponse` in module `codex_codes` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::CommandExecutionApprovalResponse` [INFO] [stderr] --> src/client_async.rs:322:63 [INFO] [stderr] | [INFO] [stderr] 322 | /// approval, pass a [`CommandExecutionApprovalResponse`](crate::CommandExecutionApprovalResponse). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `CommandExecutionApprovalResponse` in module `codex_codes` [INFO] [stderr] [INFO] [stderr] warning: unresolved link to `crate::FileChangeApprovalResponse` [INFO] [stderr] --> src/client_async.rs:323:73 [INFO] [stderr] | [INFO] [stderr] 323 | /// For file change approval, pass a [`FileChangeApprovalResponse`](crate::FileChangeApprovalResponse). [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ no item named `FileChangeApprovalResponse` in module `codex_codes` [INFO] [stderr] [INFO] [stderr] warning: `codex-codes` (lib doc) generated 6 warnings [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.70s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/codex_codes/index.html [INFO] running `Command { std: "docker" "inspect" "cfbca3b58eb5338dabd44e934ee1eb5be18abfd45e247ce546240aa433db8b0e", kill_on_drop: false }`