-
Notifications
You must be signed in to change notification settings - Fork 12.2k
Clarify resume hints for renamed threads #23181
Copy link
Copy link
Open
Labels
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestNew feature or requestsessionIssues involving session (thread) management, resuming, forking, naming, archivingIssues involving session (thread) management, resuming, forking, naming, archiving
Metadata
Metadata
Assignees
Labels
TUIIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayIssues related to the terminal user interface: text input, menus and dialogs, and terminal displayenhancementNew feature or requestNew feature or requestsessionIssues involving session (thread) management, resuming, forking, naming, archivingIssues involving session (thread) management, resuming, forking, naming, archiving
Type
Fields
Give feedbackNo fields configured for issues without a type.
What variant of Codex are you using?
CLI / TUI
What feature would you like to see?
When a thread is renamed, this message gets displayed:
"Thread renamed to {thread-name}, to resume this thread run codex resume {thread-name}"
Which does not work. In fact, duplicates among threads' names are allowed, so we cannot point a specific thread with its name. We have to give the thread id instead.
Also, regardless of renaming a thread, exiting the thread displays:
"To continue this session, run codex resume {thread-id}"
Which, I think, looks awkward.
I think we would need to polish a bit so:
/renamedisplays correct guide (unless we change the behaviour)./exitalso mentions the thread name if it's renamed.For example,
/renamemay display"Thread renamed to
{thread-name}. To resume this thread run codex resume, then select{thread-name}({thread-id})"/exitmay display"To continue this session, run codex resume, then select
{thread-name}({thread-id})".Additional information
A screenshot for Codex guiding to run codex resume
{thread-name}, which is tried and failed.