Eric Traut
2801d12661
Add Markdown conversation export to the TUI ( #37358 )
...
## 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
2026-08-07 02:45:35 +00:00
..
2026-07-13 09:40:51 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-04-20 15:37:31 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-04-27 10:07:15 -07:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-04-28 12:52:25 -03:00
2026-04-27 03:43:53 +00:00
2026-03-28 11:23:07 -06:00
2026-06-05 08:32:07 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-06-12 09:15:04 +09:00
2026-04-30 11:34:34 -07:00
2026-04-24 21:16:45 -07:00
2026-06-19 21:37:01 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-04-01 22:00:27 -06:00
2026-08-01 17:43:03 +00:00
2026-04-27 18:48:57 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-12 11:57:22 -07:00
2026-07-13 22:50:28 +00:00
2026-04-28 12:52:25 -03:00
2026-07-13 22:50:28 +00:00
2026-03-28 11:23:07 -06:00
2026-04-28 09:24:29 -07:00
2026-06-23 19:52:37 +00:00
2026-03-28 11:23:07 -06:00
2026-04-20 15:37:31 -07:00
2026-07-14 06:55:29 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-07-29 03:50:00 +00:00
2026-05-11 10:49:19 -07:00
2026-05-11 10:49:19 -07:00
2026-05-18 11:28:53 -07:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-07-20 16:05:14 +00:00
2026-07-09 03:40:08 +00:00
2026-07-09 03:40:08 +00:00
2026-04-10 14:05:47 -07:00
2026-05-29 15:12:40 +00:00
2026-04-10 14:05:47 -07:00
2026-04-10 14:05:47 -07:00
2026-07-17 19:58:56 +00:00
2026-04-10 14:05:47 -07:00
2026-07-14 16:29:54 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-05-01 14:48:22 -07:00
2026-03-28 11:23:07 -06:00
2026-04-24 21:16:45 -07:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-19 19:44:10 +00:00
2026-07-22 15:41:47 +00:00
2026-07-17 23:14:37 +00:00
2026-03-28 11:23:07 -06:00
2026-07-06 16:33:13 -04:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-04-15 15:34:25 +01:00
2026-04-15 15:34:25 +01:00
2026-07-13 09:40:51 +00:00
2026-04-28 12:52:25 -03:00
2026-04-20 21:52:30 +00:00
2026-07-13 09:40:51 +00:00
2026-07-14 21:50:19 +00:00
2026-05-12 10:43:17 -03:00
2026-04-10 14:05:47 -07:00
2026-07-17 15:14:47 +00:00
2026-07-17 15:14:47 +00:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 11:06:40 -07:00
2026-05-29 11:06:40 -07:00
2026-05-12 10:43:17 -03:00
2026-04-19 14:01:58 -03:00
2026-05-12 10:43:17 -03:00
2026-05-12 10:43:17 -03:00
2026-04-28 14:34:10 -03:00
2026-04-28 14:34:10 -03:00
2026-05-12 10:43:17 -03:00
2026-06-22 10:30:16 -07:00
2026-06-24 18:48:11 -07:00
2026-06-22 17:31:14 -07:00
2026-06-26 17:24:46 -04:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-04-28 12:52:25 -03:00
2026-04-30 10:25:07 -07:00
2026-06-24 18:48:11 -07:00
2026-06-24 18:48:11 -07:00
2026-07-20 21:41:17 +00:00
2026-07-20 21:41:17 +00:00
2026-07-09 03:40:08 +00:00
2026-06-22 13:48:09 -07:00
2026-06-22 13:48:09 -07:00
2026-05-29 11:06:40 -07:00
2026-07-15 01:36:44 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-06-22 18:45:41 +00:00
2026-07-17 15:28:19 +00:00
2026-07-17 15:28:19 +00:00
2026-07-14 21:50:19 +00:00
2026-07-18 18:19:39 +00:00
2026-07-08 16:24:12 -07:00
2026-03-28 11:23:07 -06:00
2026-05-04 08:58:07 -07:00
2026-07-09 03:40:08 +00:00
2026-06-09 09:41:58 -07:00
2026-07-10 23:16:09 +00:00
2026-07-15 02:03:46 +00:00
2026-07-10 23:16:09 +00:00
2026-07-20 21:41:17 +00:00
2026-07-23 21:03:40 +00:00
2026-07-23 21:03:40 +00:00
2026-07-23 21:03:40 +00:00
2026-06-12 17:33:43 -07:00
2026-07-14 16:29:54 +00:00
2026-06-12 16:29:40 -07:00
2026-06-03 20:30:15 -03:00
2026-05-29 11:07:19 -07:00
2026-04-09 18:10:38 -03:00
2026-06-10 18:04:02 -07:00
2026-08-07 02:45:35 +00:00
2026-08-07 02:45:35 +00:00
2026-08-07 02:45:35 +00:00
2026-05-12 10:43:17 -03:00
2026-04-16 09:01:45 -07:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-04-24 21:16:45 -07:00
2026-04-30 22:42:07 -07:00
2026-04-16 09:00:16 -07:00
2026-04-12 15:42:09 -07:00
2026-07-08 16:24:12 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-01 09:30:20 -07:00
2026-06-22 04:25:07 -07:00
2026-05-29 11:06:40 -07:00
2026-04-20 17:46:11 -07:00
2026-04-20 17:46:11 -07:00
2026-05-25 09:41:32 -07:00
2026-07-09 03:40:08 +00:00
2026-05-12 10:43:17 -03:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-13 15:33:27 +00:00
2026-05-25 09:41:32 -07:00
2026-05-29 11:09:40 -07:00
2026-07-08 12:29:21 -07:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-07-09 03:40:08 +00:00
2026-03-28 11:23:07 -06:00
2026-03-28 11:23:07 -06:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-22 18:45:41 +00:00
2026-06-12 17:33:43 -07:00
2026-07-20 21:41:17 +00:00
2026-03-28 11:23:07 -06:00
2026-05-29 16:31:33 -07:00
2026-05-29 16:31:33 -07:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00
2026-04-20 05:51:47 +00:00