pub fn normalize_whitespace(text: &str) -> StringExpand description
Collapse whitespace runs into single spaces, trimming the ends.
Delegates to the canonical vtcode_commons::formatting::collapse_whitespace;
kept as a named function because persistent-memory callers rely on the
normalize_whitespace spelling and the persistent_memory re-export.