mirror of
https://github.com/openai/codex.git
synced 2026-11-16 22:00:36 +00:00
## Summary - Adapts the moved `codex-cloud-config` crate from the legacy cloud requirements endpoint to the new config bundle endpoint. - Switches runtime consumers from `CloudRequirementsLoader` to `CloudConfigBundleLoader` so one shared bundle supplies cloud-delivered config and requirements. - Removes the legacy cloud requirements domain loader path. ## Details This intentionally keeps `codex-cloud-config` monolithic for review lineage: the previous PR establishes the crate move, and this PR shows the behavior change against that moved implementation. A follow-up PR splits the module back into focused files. The new bundle path preserves the important cloud requirements loader semantics where intended: account-scoped signed cache, 30 minute TTL, 5 minute refresh cadence, retry/backoff, auth recovery, and fail-closed startup loading. The cached payload changes from a single requirements TOML string to the backend-delivered bundle, and validation rejects malformed config or requirements fragments before cache write/use.
16 lines
488 B
Rust
16 lines
488 B
Rust
mod client;
|
|
pub(crate) mod types;
|
|
|
|
pub use client::AddCreditsNudgeCreditType;
|
|
pub use client::Client;
|
|
pub use client::RequestError;
|
|
pub use types::CodeTaskDetailsResponse;
|
|
pub use types::CodeTaskDetailsResponseExt;
|
|
pub use types::ConfigBundleResponse;
|
|
pub use types::DeliveredConfigToml;
|
|
pub use types::DeliveredRequirementsToml;
|
|
pub use types::DeliveredTomlFragment;
|
|
pub use types::PaginatedListTaskListItem;
|
|
pub use types::TaskListItem;
|
|
pub use types::TurnAttemptsSiblingTurnsResponse;
|