agentfootprint
Version:
The explainable agent framework — backtrack a wrong answer to the exact context that caused it (evidence, not guesses). Built on footprintjs.
19 lines (18 loc) • 849 B
TypeScript
/**
* formatToolCatalogReport — human-readable rendering of a lint report.
*
* Pattern: pure presenter. One report → one string; used verbatim by the
* CLI (`agentfootprint-lint-tools`) and the examples so output
* stays byte-identical across surfaces.
* Role: `src/tool-lint/` leaf. No I/O.
*/
import type { ToolCatalogReport } from './types.js';
export interface FormatReportOptions {
/** How many ranked pairs to show in the relative-ordering section.
* Default 10. 0 hides the section. */
readonly topPairs?: number;
/** How many WATCH pairs to print before eliding the rest (the report
* object always carries all of them). Default 10. */
readonly maxWatch?: number;
}
export declare function formatToolCatalogReport(report: ToolCatalogReport, options?: FormatReportOptions): string;