6e3f9e2cdf
Restore original modules/badge/badge.go (upstream) and adapt our presets to use GenerateBadge() and the existing Badge type. - Rename Generate → GenerateRepoBadge to avoid conflict - Add FormatRepoBadgeSVG for SVG rendering - Add RenderFlat/RenderFlatSquare methods on Badge - Fix API handler to use new function names Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>