/// The Vue frontend template, built from frontend/dist/index.html
/// Rebuild with: cd frontend && npm run build && cp frontend/dist/index.html crates/cc-token-usage/src/output/template.html
const TEMPLATE: &str = include_str!;
/// Render the new Vue dashboard by injecting real data into the template.
///
/// Escapes dangerous sequences in JSON payload before embedding in `<script>`:
/// - `</` → `<\/` prevents premature `</script>` closure
/// - `<!--` → `<\!--` prevents HTML comment injection