@blundergoat/goat-flow
Version:
AI coding agent harness and local dashboard for Claude Code, OpenAI Codex, Google Antigravity, and GitHub Copilot - setup audits, guardrails, structured skills, deny hooks, and persistent learning loops.
34 lines • 1.45 kB
TypeScript
/**
* Output renderers for `goat-flow stats` - text, JSON, markdown.
* Text is the default for terminals; JSON/markdown are for CI and PR comments.
*/
import type { StatsCheckReport, StatsReport } from "./stats.js";
/**
* Render the stats report as human-readable terminal text.
*
* @param report Learning-loop stats payload from `buildStatsReport`.
* @returns Text format optimized for local inspection, not a stable machine contract.
*/
export declare function renderStatsText(report: StatsReport): string;
/**
* Render the stats report as JSON.
*
* @param report Learning-loop stats payload from `buildStatsReport`.
* @returns Pretty JSON; the object shape is the CI/API contract, not the text renderer.
*/
export declare function renderStatsJson(report: StatsReport): string;
/**
* Render the stats report as Markdown for PR comments and release notes.
*
* @param report Learning-loop stats payload from `buildStatsReport`.
* @returns Markdown summary that preserves the same section ordering as text output.
*/
export declare function renderStatsMarkdown(report: StatsReport): string;
/**
* Render a `--check` verdict as text suitable for CI logs.
*
* @param check Pass/fail report produced by `checkStats`.
* @returns Stable text with findings before warnings and remediation hints on frontmatter failures.
*/
export declare function renderStatsCheckText(check: StatsCheckReport): string;
//# sourceMappingURL=render.d.ts.map