co-mono/packages
Mario Zechner 6b496e006e Rewrite HTML export to match TUI visual style exactly
Complete overhaul of export-html.ts to replicate the TUI renderer's visual design:

**Exact TUI color matching:**
- User messages: rgb(52, 53, 65) dark slate background
- Tool pending: rgb(40, 40, 50) dark blue-gray
- Tool success: rgb(40, 50, 40) dark green
- Tool error: rgb(60, 40, 40) dark red
- Body background: rgb(24, 24, 30) very dark
- Text colors matching chalk: cyan for paths, dimmed gray for output

**Tool formatting (matching ToolExecutionComponent):**
- bash: Bold `$ command`, dimmed output (max 5 lines)
- write: Bold header with cyan path, line count, content preview (max 10 lines)
- read: Bold header with cyan path, content preview (max 10 lines)
- edit: Bold header with cyan path, unified diff with line numbers
- All tools show "... (N more lines)" indicators

**Additional improvements:**
- Use session filename + .html for default output
- Shorten paths with tilde notation (~)
- Replace tabs with 3 spaces
- Monospace font matching terminal aesthetic
- Minimal, clean design with no borders/boxes
- Print-friendly styles

The HTML export now looks identical to the TUI version.
2025-11-12 16:27:12 +01:00
..
agent Fix version sync script to update all internal dependencies 2025-11-12 14:41:40 +01:00
ai Fix Lit dependency duplication and update mini-lit to 0.2.0 2025-11-12 16:03:43 +01:00
coding-agent Rewrite HTML export to match TUI visual style exactly 2025-11-12 16:27:12 +01:00
pods Handle FinishReason.NO_IMAGE and fix optional chaining 2025-11-12 10:58:03 +01:00
proxy Handle FinishReason.NO_IMAGE and fix optional chaining 2025-11-12 10:58:03 +01:00
tui Handle FinishReason.NO_IMAGE and fix optional chaining 2025-11-12 10:58:03 +01:00
web-ui Fix Lit dependency duplication and update mini-lit to 0.2.0 2025-11-12 16:03:43 +01:00
test.txt Fix read/write tool output formatting 2025-11-11 21:22:08 +01:00