Skip to main content

Crate codex_wrapper

Crate codex_wrapper 

Source
Expand description

A type-safe Codex CLI wrapper for Rust.

codex-wrapper mirrors the builder-oriented shape of claude-wrapper, but targets the current Codex CLI surface.

Re-exports§

pub use command::CodexCommand;
pub use command::exec::ExecCommand;
pub use command::exec::ExecResumeCommand;
pub use command::login::LoginCommand;
pub use command::login::LoginStatusCommand;
pub use command::login::LogoutCommand;
pub use command::mcp::McpAddCommand;
pub use command::mcp::McpGetCommand;
pub use command::mcp::McpListCommand;
pub use command::mcp::McpLoginCommand;
pub use command::mcp::McpLogoutCommand;
pub use command::mcp::McpRemoveCommand;
pub use command::raw::RawCommand;
pub use command::review::ReviewCommand;
pub use command::version::VersionCommand;
pub use error::Error;
pub use error::Result;
pub use exec::CommandOutput;
pub use retry::BackoffStrategy;
pub use retry::RetryPolicy;
pub use version::CliVersion;
pub use version::VersionParseError;
pub use types::*;

Modules§

command
error
exec
retry
types
version

Structs§

Codex
CodexBuilder