Codex CLI 0.167.0 preserves drafts across backends and improves image previews and long-task continuity

OpenAI has released stable Codex CLI 0.167.0, focusing on task management, image input and conversation continuity for terminal users. Official release

Managing tasks and connected backends

Run codex agents --no-daemon to open the agent command center. It and the session picker mark unread results. Switching connected backends through the terminal session picker preserves drafts.

Saved chats remain visible after changing model providers. If a chat cannot resume, you can read its transcript and prepare an editable prompt to continue in a new chat.

Images and long tasks

Supported terminals can preview local image attachments while composing. Local image paths in transcripts are clickable. Automatic compaction now accounts for retained output from failed responses and responses without token-usage data. This corrects accounting; OpenAI has not promised reduced subscription allowance consumption from this fix.

Updating and opting in

The official changelog provides npm install -g @openai/codex@0.167.0. macOS and Windows system proxy support requires opting in through /experimental. These are CLI release changes and have not been independently tested here. Official changelog