docs
evals
scenario-1
scenario-10
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
Create helper functions that assemble styled terminal strings for announcements, statuses, and short notes using terminal text emphasis effects.
formatHeader("Maintenance", "Reboot at 02:00 UTC") returns two lines: a title line rendered with strong emphasis and a visible line beneath it, followed by a detail line that is visibly softened without losing readability. @testformatStatus("warning", "Disk at 90%") returns a single line that prefixes the message with a highlighted status label and a separator, while keeping the detail readable but secondary. @testformatStatus("retired", "Legacy importer") returns a single line where the status label appears clearly crossed out while the detail remains unstyled. @testrenderNotes([{ label: "Tip", text: "Use --dry-run" }, { label: "Note", text: "Logs at ~/.cache" }]) returns two newline-separated bullet items; each label uses gentle emphasis, each note is muted, and styling does not bleed between lines. @testexport function formatHeader(title, detail): string;
export function formatStatus(status, detail): string;
export function renderNotes(items): string;Provides terminal text styling helpers.