Skip to content
Back

OpenAICodex CLI

Codex CLI 0.148.0

6 new6 fixes1 other

AI summary

Written by AI from the official notes. Check them for exact details.

Codex CLI 0.148.0 introduces new features for session management and Markdown export, along with several bug fixes.

  • Export TUI conversations to Markdown with /export.
  • Fork and archive sessions using codex exec fork.
  • View estimated thread credits in /status.
  • Use Amazon Bedrock Runtime with AWS support.
  • Hooks can run commands asynchronously.

Why it matters: Users managing sessions and exports will benefit from improved functionality and reliability.

Full release notes13 changes

New Features

  • Export complete TUI conversations to Markdown with /export, either to the clipboard or a new file.
  • Fork sessions with codex exec fork, and archive or restore sessions from the TUI resume picker.
  • Draft prompts while the TUI initializes, with resume and fork progress shown during startup.
  • View estimated thread credits or cost in /status, status lines, and terminal titles for eligible workspaces.
  • Use Amazon Bedrock Runtime as a built-in provider with AWS profile, region, and GPT-5.6 routing support.
  • Hooks can now run commands asynchronously and invoke MCP tools.

Bug Fixes

  • Model switches and settings updates no longer leave stale instructions behind or change an active turn midstream.
  • Resumed sessions now restore their persisted working directory and approval policy, with more accurate transcript previews.
  • Turns reconnect through temporary provider outages, and MCP servers recover after OAuth reauthentication without restarting Codex.
  • TUI startup no longer lets buffered terminal input activate prompts accidentally, and onboarding appears when authentication is missing.
  • Composer and transcript rendering now handle CRLF pastes, wrapped whitespace, and long URLs correctly.
  • Sandbox restrictions now fail closed for denied or unreadable paths across Linux and Windows.

Documentation

  • The bundled skill-creator guide is more focused, and validation now rejects unfinished TODO placeholders.