v0.8.1
Finding card visual overhaul — per-severity themes, fixed-width panels, sign-aligned wrapping.
Changed
-
Finding card design ported verbatim from the maintainer’s
secguardreference. Replaces the v0.8.0 visual layer end-to-end. Each severity now ships its own dark theme — panel background, border, accent color, chip label:⊘ CRITICALon#1A1116/ border#602B38/ chip#ff6b8a⚠ HIGHon#1A1511/ border#603F2B/ chip#ffa86b● MEDIUMon#1A1A11/ border#5A5A2B/ chip#f0d050○ LOWon#11161A/ border#2B4760/ chip#6bb8ffℹ INFOon#11181A/ border#2B5560/ chip#6be0e0
Diff lines render as full-row strips with sign-column padding so removed/added/context lines read as colored bands.
-
Fixed inner content width of 96 columns. Long descriptions and snippets wrap to panel-bg-filled continuation rows via lipgloss
Width()instead of expanding the card past the terminal edge. Diff lines wrap with the sign-column preserved, so-/+continuation rows stay aligned. -
Border blends with panel background via
BorderBackground(bg)so the rounded corners share the severity-tinted bg — the card reads as one continuous block. -
Code-fence noise removed. Snippet rendering no longer wraps the excerpt in literal triple-backtick fences. The diff-coloured strips already mark the region as code.