pub fn truncate_output_preview( text: &str, max_lines: usize, max_bytes: usize, ) -> String
Format a string as a truncated preview for tool output display.