@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
26 lines • 1.72 kB
TypeScript
import { type FamilyRegistry } from "./compact-catalog-registry.ts";
import type { CompactContentStore } from "./compact-content-store.ts";
import type { CatalogComponent } from "./compact-recovery-catalog.ts";
import type { SettledReader } from "./compact-settled-rows.ts";
import type { CompactValues } from "./compact-values.ts";
import type { FrozenAcceptedRoot } from "./session-acceptance-lane.ts";
/** One frozen cut as its catalog reads it: the current store, a value reader over it, the root, the settled reader. */
interface CatalogCut {
readonly store: CompactContentStore;
readonly values: CompactValues;
readonly root: FrozenAcceptedRoot;
readonly settled: SettledReader;
}
/**
* Every component of one frozen root, in schema order (R4.B2): the family registry, then each family's members or
* its explicit empty component. A family with a complete producer is never omitted, and a `partial` one emits only
* the members it enumerated and never an explicit empty, so a reader can tell "no members" from "not enumerated"
* (RULING-60 Q1, RULING-61 Q1). Members stream one at a time: a value goes through `walk` into bounded leaves, a
* collection through `rows`, and each component's leaves are released once the catalog has placed it. The
* completeness gate runs last: a complete producer that emitted nothing refuses the whole catalog (X03). Its return
* value is the registry it emitted as `families/families`, the one source the manifest copies `requiredKinds` from
* (RULING-128).
*/
export declare function checkpointComponents(cut: CatalogCut, valid: () => void): AsyncGenerator<CatalogComponent, FamilyRegistry>;
export {};
//# sourceMappingURL=compact-catalog-families.d.ts.map