mirror of
https://github.com/openai/codex.git
synced 2026-05-28 15:00:16 +00:00
## Summary First PR in the split from #17956. - adds the core/app-server `RateLimitReachedType` shape - maps backend `rate_limit_reached_type` into Codex rate-limit snapshots - carries the field through app-server notifications/responses and generated schemas - updates existing constructors/tests for the new optional field ## Validation - `cargo test -p codex-backend-client` - `cargo test -p codex-app-server-protocol` - `cargo test -p codex-app-server rate_limits` - `cargo test -p codex-tui workspace_` - `cargo test -p codex-tui status_` - `just fmt` - `just fix -p codex-backend-client` - `just fix -p codex-app-server-protocol` - `just fix -p codex-app-server` - `just fix -p codex-tui`
47 lines
1.6 KiB
Rust
47 lines
1.6 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_file_response;
|
|
pub use self::config_file_response::ConfigFileResponse;
|
|
|
|
// 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;
|