mirror of
https://github.com/openai/codex.git
synced 2026-12-03 00:41:03 +00:00
## Why Once the commands are removed, invocations such as `codex cloud exec work` could be interpreted as interactive prompts. Rejecting retired command names in the root prompt position prevents old invocations from starting a session by mistake. ## What changed - Remove `codex cloud` and `codex apply`, which provided CLI workflows for running and browsing cloud tasks and applying their diffs locally. Delete the cloud task crates, related backend client code, and the TUI composer widget used by the cloud task interface. - Reject `cloud`, `cloud-tasks`, `apply`, and `a` as retired root commands. To use one of those names as a prompt, pass it after `--`, as in `codex -- apply`. ## Testing Add parser coverage for retired names used alone, with trailing arguments, and after root options, as well as for explicit prompts after `--`. GitOrigin-RevId: 8469e936eacde3428862c6bf1b7e33084b8ead68
63 lines
2.4 KiB
Rust
63 lines
2.4 KiB
Rust
mod analytics_session;
|
|
mod client;
|
|
pub(crate) mod types;
|
|
|
|
pub use analytics_session::AnalyticsAccount;
|
|
pub use analytics_session::AnalyticsSession;
|
|
pub use client::AddCreditsNudgeCreditType;
|
|
pub use client::ChatgptThreadTurnCosts;
|
|
pub use client::ChatgptTurnCost;
|
|
pub use client::Client;
|
|
pub use client::RequestError;
|
|
pub use client::ThreadUsage;
|
|
pub use client::ThreadUsageBreakdownGroup;
|
|
pub use client::analytics::AnalyticsReport;
|
|
pub use client::analytics::AnalyticsResponse;
|
|
pub use client::profile::AccountProfile;
|
|
pub use client::profile::ProfileIdentity;
|
|
pub use client::profile::ProfileInvocation;
|
|
pub use client::profile::ProfileInvocationKind;
|
|
pub use client::profile::ProfileMetadata;
|
|
pub use client::profile::ProfileStats;
|
|
pub use client::statsig::StatsigBootstrapContext;
|
|
pub use client::turn_usage::ApiKeyResponseCost;
|
|
pub use client::turn_usage::ApiKeyTurnCost;
|
|
pub use client::turn_usage::ApiKeyTurnCostStatus;
|
|
pub use types::AccountEntry;
|
|
pub use types::AccountsCheckResponse;
|
|
pub use types::CodexUserSettingsResponse;
|
|
pub use types::CodexWorkspaceMessage;
|
|
pub use types::CodexWorkspaceMessageType;
|
|
pub use types::CodexWorkspaceMessagesResponse;
|
|
pub use types::ConfigBundleResponse;
|
|
pub use types::ConsumeRateLimitResetCreditCode;
|
|
pub use types::ConsumeRateLimitResetCreditResponse;
|
|
pub use types::DeliveredConfigToml;
|
|
pub use types::DeliveredManagedLayers;
|
|
pub use types::DeliveredRequirementsToml;
|
|
pub use types::DeliveredTomlFragment;
|
|
pub use types::RateLimitResetCreditDetails;
|
|
pub use types::RateLimitResetCreditsDetails;
|
|
pub use types::RateLimitResetCreditsSummary;
|
|
pub use types::RateLimitsWithResetCredits;
|
|
pub use types::TokenUsageProfile;
|
|
pub use types::TokenUsageProfileDailyBucket;
|
|
pub use types::TokenUsageProfileStats;
|
|
pub use types::VoiceOption;
|
|
pub use types::VoiceSettings;
|
|
|
|
pub use client::plan_history::PlanLimitBreakdown;
|
|
pub use client::plan_history::PlanLimitDimension;
|
|
pub use client::plan_history::PlanLimitHistory;
|
|
pub use client::plan_history::PlanLimitPeriod;
|
|
pub use client::plan_history::PlanLimitValue;
|
|
|
|
pub use client::task_usage::TaskCredits;
|
|
pub use client::task_usage::TaskUsage;
|
|
pub use client::task_usage::TaskUsageAmounts;
|
|
pub use client::task_usage::TaskUsageGroup;
|
|
pub use client::task_usage::TaskUsageResponse;
|
|
pub use client::task_usage::TaskUsageStatus;
|
|
pub use client::task_usage::TaskUsageThread;
|
|
pub use codex_backend_openapi_models::models::analytics as analytics_models;
|