pub fn parse_ansi(line: &str) -> Vec<Span>
Parse a line containing ANSI SGR colour escapes into coloured Spans. Only the foreground-colour subset is handled (others are stripped); enough to make CLI output match the palette.
Span