mirror of
https://github.com/openai/codex.git
synced 2026-05-24 13:04:29 +00:00
Addresses #23181 ## Why Renamed threads can share names, so hints that suggest resuming directly by name are ambiguous. Issue #23181 asks for the picker hint to include the thread name and thread ID in parens so users can disambiguate safely. ## What - Adds a shared resume hint formatter for named threads: run `codex resume`, then select `<name> (<thread-id>)`. - Uses that hint for /rename confirmations, TUI session summaries, and CLI/TUI exit messages. - Keeps direct `codex resume <thread-id>` guidance for unnamed threads. ## Verification Manually verified that message after `/rename` and after `/exit` include session ID in parens. --------- Co-authored-by: Felipe Coury <felipe.coury@openai.com>
16 lines
515 B
Rust
16 lines
515 B
Rust
mod approval_mode_cli_arg;
|
|
mod config_override;
|
|
pub(crate) mod format_env_display;
|
|
mod resume_command;
|
|
mod sandbox_mode_cli_arg;
|
|
mod shared_options;
|
|
|
|
pub use approval_mode_cli_arg::ApprovalModeCliArg;
|
|
pub use codex_protocol::config_types::ProfileV2Name;
|
|
pub use config_override::CliConfigOverrides;
|
|
pub use format_env_display::format_env_display;
|
|
pub use resume_command::resume_command;
|
|
pub use resume_command::resume_hint;
|
|
pub use sandbox_mode_cli_arg::SandboxModeCliArg;
|
|
pub use shared_options::SharedCliOptions;
|