- [new]
codex exec forkforks a previous session by id (UUID or thread name) into a new session, with an optional follow-up prompt (including stdin via-). Supports the usual exec knobs such as--image,--model,--output-schema,--output-last-message, config overrides, and JSONL output. - [new]
/exportslash command exports the current TUI transcript. - [changed] Shell completions (bash, fish, zsh) cover
exec forkand its flags.
Under the hood
- Exec-server picks up structured environment configuration, and local config loading is split out for clearer resolution paths.
- Agent-identity auth can point at separate Auth API and JWKS bases via
CODEX_AGENT_IDENTITY_*settings. - TUI turn handling is reworked for more reliable runtime behavior; optional rounded TUI chrome is gated by
CODEX_TUI_ROUNDED. - Hook configuration gains an MCP-tool handler path alongside existing prompt hooks.
- Session/thread and filesystem response payloads expand slightly (including unarchive notifications and directory/open results), and tool-registry TOML config is reshaped for richer definitions.
- Token usage is modeled as an explicit profile for clearer accounting downstream.