Files
codex/codex-rs/cli
yansenzhou-oai 21e643d32e Remove the codex cloud and codex apply commands (#65173)
## 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
2026-12-02 06:11:22 +00:00
..