UNPKG

@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.

21 lines 1.19 kB
import type { AgentId } from "../types.js"; import type { CandidacyResult } from "./candidacy.js"; import type { ParsedCLI } from "../cli-types.js"; type CLIErrorConstructor = new (message: string, exitCode: number) => Error; /** * Injected collaborators the quality handlers depend on, kept as an interface so the command can * be exercised in tests without touching the real CLI error type or stdout. Supplied by the CLI * wiring layer; handlers never construct these themselves. */ export interface QualityCommandDeps { CLIError: CLIErrorConstructor; formatCandidacyArtifact(recommendation: CandidacyResult["recommendedArtifact"]): string; /** Returns the agent ids the CLI accepts for `--agent`; first entry is used as the usage hint. */ validAgents(): AgentId[]; /** Writes the rendered command output to the destination chosen by `options` (stdout or file). */ writeOutput(options: ParsedCLI, rendered: string): void; } /** Dispatch quality subcommands through focused branch handlers. */ export declare function handleQualityCommand(options: ParsedCLI, deps: QualityCommandDeps): Promise<void>; export {}; //# sourceMappingURL=quality-command.d.ts.map