/** * Lightweight, dependency-free syntax highlighter for the command / script * inputs across the VibeControls UI (actions, vibe-deck buttons, aliases, * agent runners, instruction files, …). * * Why hand-rolled instead of Prism/Shiki/CodeMirror: this MFE ships as a * pre-built dist consumed by host shells at build time, and every command * surface only needs *coloring* — not folding, autocomplete or a full editor. * A small tokenizer keeps the bundle lean and, crucially, lets us paint tokens * with the platform's **semantic color tokens** (no raw colors) so highlighting * themes correctly across brands/dark-mode just like the rest of the app. * * The output is HTML (token text is always HTML-escaped) meant to be rendered * underneath a transparent