[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:
| Format | File Extension | Encoding Architecture | Key Visual Features |
|---|---|---|---|
| Plain Text | .txt | Fixed-width ASCII table | Clean tabular output for terminal viewing & log archival |
| Dual-Table CSV | .csv | RFC-4180 Delimited Text | Separate tables for TradeLedger orders and TickLog telemetry |
| GitHub Markdown | .md | GitHub Flavored Markdown | Formatted tables with outcome badges ([WIN], [LOSS]) and rules |
| Office Open XML | .docx | Native ZIP XML Package | Word document with formatted tables, headers, and callout styles |
| Native Vector PDF | Pure TypeScript PDF 1.4 Builder | Helvetica fonts, vector metrics cards, and multi-page tables | |
| OS Clipboard | System | Platform Native API | PowerShell 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 2026•Maintained by Zenth Core