[TXT][CSV][MARKDOWN][DOCX_XML][VECTOR_PDF_1.4][CLIPBOARD]

Multi-Format Report Export Subsystem

Zero-dependency report compilation into Plain Text, CSV, GitHub Markdown, Word DOCX, and Vector PDF 1.4 with OS clipboard integration.

Supported Document Formats

The `ExportEngine` compiles full session summaries without external binaries or Puppeteer dependencies:

FormatFile ExtensionEncoding ArchitectureKey Visual Features
Plain Text.txtFixed-width ASCII tableClean tabular output for terminal viewing & log archival
Dual-Table CSV.csvRFC-4180 Delimited TextSeparate tables for TradeLedger orders and TickLog telemetry
GitHub Markdown.mdGitHub Flavored MarkdownFormatted tables with outcome badges ([WIN], [LOSS]) and rules
Office Open XML.docxNative ZIP XML PackageWord document with formatted tables, headers, and callout styles
Native Vector PDF.pdfPure TypeScript PDF 1.4 BuilderHelvetica fonts, vector metrics cards, and multi-page tables
OS ClipboardSystemPlatform Native APIPowerShell Set-Clipboard, macOS pbcopy, Linux xclip / wl-copy

Interactive Format Selection Modal

Type `/export` or click Export in the terminal to trigger the format selection modal:

Interactive Export Dialog
text
┌───────────────────────────────────────────────────────────┐
SELECT EXPORT FORMAT & DESTINATION
├───────────────────────────────────────────────────────────┤
[1] Plain Text Report (.txt)
[2] Dual-Table CSV Data (.csv)
[3] GitHub Markdown Report (.md)
[4] Microsoft Word Document (.docx)
[5] Vector PDF 1.4 Report (.pdf)
[6] Copy Formatted Logs to OS Clipboard
├───────────────────────────────────────────────────────────┤
Enter destination path [./exports/session_report.pdf]:
Press [ENTER] to confirm [ESC] to cancel
└───────────────────────────────────────────────────────────┘
Last verified: August 2026Maintained by Zenth Core