# Codex CLI 0.148.0: TUI export, session forking, Amazon Bedrock provider, hooks MCP support

> Adds Markdown conversation export via /export, session forking with codex exec fork, and the ability to draft prompts while the TUI initializes. Amazon Bedrock Runtime is now a built-in provider with AWS profile and region support. Hooks can run commands asynchronously and invoke MCP tools. Credit/cost estimates appear in /status and terminal titles. Bug fixes cover model switching, session resume, MCP recovery after OAuth reauthentication, sandbox path restrictions, and TUI rendering of CRLF and long URLs.

| | |
|---|---|
| **Tool** | Codex CLI |
| **Version** | rust-v0.148.0 |
| **Kind** | release |
| **Published** | 2026-08-18 |
| **Observed** | 2026-08-21 |
| **Significance** | 3/5 |
| **Breaking** | no |
| **Categories** | feature, capability, model-support, api-change |

## What changed


- **Markdown export:** `/export` writes the full TUI conversation to clipboard or a new file.
- **Session forking:** `codex exec fork` creates forks; archive and restore sessions from the TUI resume picker.
- **Draft prompts during init:** compose prompts while the TUI starts up, with resume/fork progress shown.
- **Credit/cost estimates:** `/status` and terminal titles show estimated thread credits or cost for eligible workspaces.
- **Amazon Bedrock Runtime:** built-in provider with AWS profile, region, and GPT-5.6 routing support.
- **Hooks improvements:** can now run commands asynchronously and invoke MCP tools.
- **Fixes:** model switches no longer leave stale instructions; resumed sessions restore working directory and approval policy; turns reconnect through temporary provider outages; MCP servers recover after OAuth reauth without restarting Codex; sandbox restrictions fail closed for denied/unreadable paths on Linux and Windows.


## Sources

- [github_release](https://github.com/openai/codex/releases/tag/rust-v0.148.0) — retrieved 2026-08-21


## Community

_No curated reactions recorded. Facts and community takes are kept in separate layers
and never blended._

---
Canonical: https://changelogs.info/codex-cli/rust-v0-148-0
Entity: https://changelogs.info/codex-cli
Event ID: `evt_2026-08-18_codex-cli_rust-v0-148-0`
Licence: event synthesis © changelogs.info, CC BY 4.0. Linked sources belong to their vendors.
