Codex CLI's queue command sends messages to running or unloaded sessions from another shell

Codex CLI 0.149.0 introduced a command that lets users send messages to existing local or remote sessions from outside the session. Version 0.166.0, released October 29, added a --resume flag so messages can also wake sessions that are not currently loaded. Sessions can be targeted by an exact name, set with the /rename command inside the terminal interface, or by UUID, which is safer for unattended scripts. Queued messages use the session's existing model and accept text only, with no image attachments. The official documentation also notes that --resume requires a running local daemon or a remote server, and that a zero exit code does not guarantee the session actually resumed.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in