@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.
39 lines • 1.62 kB
JavaScript
/**
* Command and option type vocabulary shared between the CLI parser and the command handlers.
* Centralising the subcommand unions, the parsed-option shape, and the removed-command map here
* keeps the parser (which produces these values) and dispatch (which consumes them) agreeing on
* one source of truth, so adding a command means touching the union once rather than hunting
* string literals across files. Pure type/const declarations only; no runtime behaviour lives here.
*/
export const HOOK_SUBCOMMANDS = new Set([
"list",
"enable",
"disable",
"sync",
]);
export const COMMANDS = [
"setup",
"install",
"audit",
"quality",
"status",
"dashboard",
"info",
"manifest",
"events",
"hooks",
"menu",
"stats",
"index",
"skill",
];
export const REMOVED_COMMANDS = {
review: '"review" was removed in v1.1.0. Use "audit --harness" for deterministic harness scoring or "quality" for agent-driven assessment.',
critique: '"critique" was removed in v1.1.0. Use "quality" for agent-driven assessment.',
fix: '"fix" was removed in v1.1.0. Use "audit" or "quality" to identify issues, then apply fixes directly.',
eval: '"eval" was removed in v1.1.0. Use "quality candidacy" for skill/playbook fit checks or "audit" for setup validation.',
scan: '"scan" was removed in v1.1.0. Use "audit" for setup validation.',
check: '"check" was removed in v1.1.0. Use "audit --check-drift" for deterministic drift/content checks.',
};
export const VALID_FORMATS = ["json", "text", "markdown", "sarif"];
//# sourceMappingURL=cli-types.js.map