codex-codes 0.143.2

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 #3829873 2026-07-12 02:54:35

# rustc version rustc 1.99.0-nightly (be8e82435 2026-07-11)

# docs.rs version docsrs 0.0.0 (964c90a45859fd8f9076e3cbe58470a5a4f4d4f7 2026-07-01 )

# 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" "098698d34af3bb5f1a308ba0daaa4eb87d62fd33c8d40153a790bcfd9091608c" "/opt/rustwide/cargo-home/bin/cargo" "+nightly" "rustdoc" "--lib" "-Zrustdoc-map" "--config" "build.rustdocflags=[\"--cfg\", \"docsrs\", \"-Z\", \"unstable-options\", \"--emit=invocation-specific\", \"--resource-suffix\", \"-20260711-1.99.0-nightly-be8e82435\", \"--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.2 (/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.47s [INFO] [stderr] Generated /opt/rustwide/target/x86_64-unknown-linux-gnu/doc/codex_codes/index.html [INFO] running `Command { std: "docker" "inspect" "098698d34af3bb5f1a308ba0daaa4eb87d62fd33c8d40153a790bcfd9091608c", kill_on_drop: false }`