import type { RunStepReference } from '../run-types.js'; import type { StoredSession } from '../session-types.js'; export interface ListChecksResult { type: 'list-checks'; checks: { slug: string; description: string; tags: string[]; }[]; totalCount: number; /** * Optional heading for the rendered list (tool-command-surface-taxonomy Task * 3.4). Lets a non-fitness producer reuse the shared `list-checks` shape + * `viewListChecks` renderer with an accurate title (e.g. `graph list` → * "Available Graph Rules"). Omitted ⇒ the renderer's default * "Available Fitness Checks" (the fit-list surface is unchanged). */ title?: string; } export interface ListRecipesResult { type: 'list-recipes'; recipes: { name: string; description: string; /** Legacy label field — prefer `selectionLabel` for new producers. */ checkCount: string; /** Neutral human label for what the recipe selects (checks, rules, origin, …). */ selectionLabel?: string; }[]; } export interface HistorySession extends StoredSession { readonly ledger?: RunStepReference; readonly summary?: { readonly total: number; readonly passed: number; readonly failed: number; readonly errors: number; readonly warnings: number; }; readonly showCommand: string; } export interface HistorySuiteGroup { readonly suiteRunId: string; readonly suiteName?: string; readonly sessions: readonly HistorySession[]; } export interface HistoryResult { type: 'history'; sessions: HistorySession[]; /** Present when one or more rows share a `suiteRunId`; standalone rows stay in `sessions` only. */ suiteGroups?: readonly HistorySuiteGroup[]; } export interface ReportResult { type: 'report'; path: string; opened: boolean; } //# sourceMappingURL=list-history-results.d.ts.map