@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.
20 lines • 1.04 kB
TypeScript
/**
* Return one hook's desired enabled state using the registry default on absence.
*
* @param projectPath - project whose goat-flow config stores hook overrides
* @param hookId - canonical hook id to read
* @param defaultEnabled - registry default to use when config omits the hook
* @returns configured enabled state, or the registry default when absent
*/
export declare function readHookEnabled(projectPath: string, hookId: string, defaultEnabled: boolean): boolean;
/**
* Set one hook's desired enabled state in `.goat-flow/config.yaml`.
*
* @param projectPath - project whose goat-flow config should be written
* @param hookId - canonical hook id to update
* @param enabled - desired enabled state to persist
*/
export declare function setHookEnabled(projectPath: string, hookId: string, enabled: boolean): void;
export declare function removeHookConfig(projectPath: string, hookId: string): void;
export declare function removeTopLevelConfigBlock(projectPath: string, key: string): void;
//# sourceMappingURL=writer.d.ts.map