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.

19 lines 1.06 kB
import type { ReadonlyFS } from "../types.js"; import { type IndexBucket } from "./parse-bucket.js"; /** Outcome of one bucket's generation pass; `entryCount` is null when the bucket was skipped. */ export interface GeneratedIndex { bucket: IndexBucket; /** POSIX-shaped project-relative INDEX.md path, safe for user-visible output on Windows. */ indexRelPath: string; entryCount: number | null; } /** * Regenerate INDEX.md for every learning-loop bucket that exists in the target project. * * @param projectPath - absolute target project root used to resolve write destinations * @param fs - read-only filesystem adapter rooted at the same project, used for parsing * @param bucketPaths - bucket-keyed relative directory paths, normally from `resolveIndexBucketPaths` * @returns one result per bucket in stable order; skipped buckets carry `entryCount: null` */ export declare function generateIndexes(projectPath: string, fs: ReadonlyFS, bucketPaths: Record<IndexBucket, string>): GeneratedIndex[]; //# sourceMappingURL=generate.d.ts.map