"""Standalone single-file HTML export (single or multi-session with sidebar); no remote deps.""" import datetime import secrets from typing import Any, Dict, List from urllib.parse import quote from hermes_cli.timefmt import coerce_epoch # --- Icons (Lucide-style SVGs) --- ICON_USER = '' ICON_BOT = '' ICON_TERMINAL = '' ICON_WRENCH = '' ICON_SPARKLES = '' ICON_CHEVRON_RIGHT = '' ICON_SEARCH = '' ICON_SHIELD = '' ICON_HERMES = '' HTML_TEMPLATE = """