mirror of
https://github.com/openai/codex.git
synced 2026-10-31 19:28:49 +00:00
Display reconnect commands on a separate line (#48350)
## What changed Print `To reconnect, run:` followed by the indented resume command on its own line in disconnect exit summaries. Update CLI expectations and TUI snapshots for the new layout, and adjust the remote reconnect test to parse the command from its new line. GitOrigin-RevId: 46f05084482063cf4f196b3b49471f331bc91384
This commit is contained in:
@@ -3724,7 +3724,8 @@ mod tests {
|
||||
exit_info.format_exit_messages(/*color_enabled*/ false),
|
||||
vec![
|
||||
"Disconnected from this task. Any running work continues.",
|
||||
"Reconnect: codex --remote wss://example.com:443/ --remote-auth-token-env CODEX_REMOTE_TOKEN resume 123e4567-e89b-12d3-a456-426614174000",
|
||||
"To reconnect, run:",
|
||||
" codex --remote wss://example.com:443/ --remote-auth-token-env CODEX_REMOTE_TOKEN resume 123e4567-e89b-12d3-a456-426614174000",
|
||||
"Stop the current turn: run codex --remote wss://example.com:443/ --remote-auth-token-env CODEX_REMOTE_TOKEN agents, select this task, and press ctrl + x.",
|
||||
"Token usage so far: total=2 input=0 output=2",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user