Expand description
Session-lifecycle commands: archive, delete, and unarchive a saved session.
These wrap codex archive, codex delete, and codex unarchive. Each
targets a saved session by id (UUID) or name; UUIDs take precedence when the
value parses as one.
The underlying subcommands inherit a large shared option block from the CLI
(model, image, sandbox, remote, and so on), almost none of which is
meaningful for a lifecycle operation. These builders expose only the useful
surface: the session target, the -c / --enable / --disable config
passthrough, and (for delete) --force.
Structsยง
- Archive
Command - Archive a saved session (
codex archive <SESSION>). - Delete
Command - Permanently delete a saved session (
codex delete <SESSION>). - Unarchive
Command - Unarchive a previously archived session (
codex unarchive <SESSION>).