fn safe_content_preview(content: &str, max_len: usize) -> StringExpand description
Safely formats content for display in hook output.
If content is a slash command, returns a placeholder to prevent injection detection triggers. Otherwise returns truncated content.