mirror of
https://github.com/openai/codex.git
synced 2026-09-13 11:47:17 +00:00
## Summary PR 1 of 5 in the cloud-managed config client stack. Adds the generated backend models and client transport surface for the config bundle endpoint. This bundle endpoint is the replacement backend surface for legacy cloud requirements; the final PR in the stack switches runtime consumers over to it. ## Details - This is transport-only plumbing: no runtime config behavior changes in this PR. - The bundle endpoint is the new shared backend surface for cloud-delivered config and requirements data. - Both supported path styles are wired here: `/api/codex/config/bundle` and `/wham/config/bundle`. - The response types come from generated backend models so later PRs consume the backend contract directly instead of maintaining hand-written mirror structs. ## Validation Validated through the targeted stack checks after rebasing onto current `main`: - Rust crate tests for config/hooks/cloud-config/backend-client/app-server-protocol - Filtered `codex-core` and `codex-app-server` `cloud_config_bundle` tests - Python generated-file contract test - `cargo shear --deny-warnings` - Targeted `argument-comment-lint` for config/hooks
59 lines
2.0 KiB
Rust
59 lines
2.0 KiB
Rust
// Curated minimal export list for current workspace usage.
|
|
// NOTE: This file was previously auto-generated by the OpenAPI generator.
|
|
// Currently export only the types referenced by the workspace
|
|
// The process for this will change
|
|
|
|
// Config
|
|
pub(crate) mod config_bundle_response;
|
|
pub use self::config_bundle_response::ConfigBundleResponse;
|
|
|
|
pub(crate) mod config_file_response;
|
|
pub use self::config_file_response::ConfigFileResponse;
|
|
|
|
pub(crate) mod delivered_config_toml;
|
|
pub use self::delivered_config_toml::DeliveredConfigToml;
|
|
|
|
pub(crate) mod delivered_requirements_toml;
|
|
pub use self::delivered_requirements_toml::DeliveredRequirementsToml;
|
|
|
|
pub(crate) mod delivered_toml_fragment;
|
|
pub use self::delivered_toml_fragment::DeliveredTomlFragment;
|
|
|
|
// Cloud Tasks
|
|
pub(crate) mod code_task_details_response;
|
|
pub use self::code_task_details_response::CodeTaskDetailsResponse;
|
|
|
|
pub(crate) mod task_response;
|
|
pub use self::task_response::TaskResponse;
|
|
|
|
pub(crate) mod external_pull_request_response;
|
|
pub use self::external_pull_request_response::ExternalPullRequestResponse;
|
|
|
|
pub(crate) mod git_pull_request;
|
|
pub use self::git_pull_request::GitPullRequest;
|
|
|
|
pub(crate) mod task_list_item;
|
|
pub use self::task_list_item::TaskListItem;
|
|
|
|
pub(crate) mod paginated_list_task_list_item_;
|
|
pub use self::paginated_list_task_list_item_::PaginatedListTaskListItem;
|
|
|
|
// Rate Limits
|
|
pub(crate) mod additional_rate_limit_details;
|
|
pub use self::additional_rate_limit_details::AdditionalRateLimitDetails;
|
|
|
|
pub(crate) mod rate_limit_status_payload;
|
|
pub use self::rate_limit_status_payload::PlanType;
|
|
pub use self::rate_limit_status_payload::RateLimitReachedKind;
|
|
pub use self::rate_limit_status_payload::RateLimitReachedType;
|
|
pub use self::rate_limit_status_payload::RateLimitStatusPayload;
|
|
|
|
pub(crate) mod rate_limit_status_details;
|
|
pub use self::rate_limit_status_details::RateLimitStatusDetails;
|
|
|
|
pub(crate) mod rate_limit_window_snapshot;
|
|
pub use self::rate_limit_window_snapshot::RateLimitWindowSnapshot;
|
|
|
|
pub(crate) mod credit_status_details;
|
|
pub use self::credit_status_details::CreditStatusDetails;
|