pub fn error_overlay_html(
err: &ParseError,
source: &str,
reload_client: &str,
) -> StringExpand description
Render a build error as a themed HTML overlay — the SAME source line + caret +
Socratic message + spelling suggestion the terminal shows, in the Claude palette,
with reload_client embedded so fixing the source snaps the page back to green.
Reuses ParseError::diagnostic_parts so the terminal and browser never drift.