Skip to content

Add Markdown conversation export to the TUI - #37358

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c2815fc2430d7a555da75d7038cc1ac08157b82e
Aug 7, 2026
Merged

Add Markdown conversation export to the TUI#37358
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c2815fc2430d7a555da75d7038cc1ac08157b82e

Conversation

@copyberry

@copyberry copyberry Bot commented Aug 7, 2026

Copy link
Copy Markdown

Add Markdown conversation export to the TUI

What changed

  • Add /export with clipboard and file destinations, including a default filename prompt and support for an explicit path argument.
  • Export the complete conversation history as structured Markdown, preserving user and assistant messages, plans, reasoning, activity, image labels, file changes, and MCP tool details while honoring reasoning visibility.
  • Fall back to legacy history loading when pagination is unavailable, and use the visible transcript for ephemeral sessions.
  • Resolve relative and home-relative paths without overwriting an existing file, and report export or copy results in the conversation.

Testing

  • Cover Markdown rendering, hidden review prompts, activity details, complete paginated and legacy history loading, destination prompts, status messages, path resolution, and overwrite protection.

## What changed

- Add `/export` with clipboard and file destinations, including a default filename prompt and support for an explicit path argument.
- Export the complete conversation history as structured Markdown, preserving user and assistant messages, plans, reasoning, activity, image labels, file changes, and MCP tool details while honoring reasoning visibility.
- Fall back to legacy history loading when pagination is unavailable, and use the visible transcript for ephemeral sessions.
- Resolve relative and home-relative paths without overwriting an existing file, and report export or copy results in the conversation.

## Testing

- Cover Markdown rendering, hidden review prompts, activity details, complete paginated and legacy history loading, destination prompts, status messages, path resolution, and overwrite protection.

GitOrigin-RevId: c2815fc2430d7a555da75d7038cc1ac08157b82e
@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c2815fc2430d7a555da75d7038cc1ac08157b82e branch from 31ea1b9 to 2801d12 Compare August 7, 2026 02:46
@copyberry
copyberry Bot merged commit 2801d12 into main Aug 7, 2026
30 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c2815fc2430d7a555da75d7038cc1ac08157b82e branch August 7, 2026 02:47
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant