@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
19 lines • 1.7 kB
TypeScript
import type { TranscriptRoot } from "./accepted-transcript.ts";
import { type FamilyProducers } from "./compact-catalog-registry.ts";
import type { CompactContentStore } from "./compact-content-store.ts";
import type { CatalogComponent } from "./compact-recovery-catalog.ts";
/** The base row's text when the root has a non-empty loaded base, else undefined. */
export declare function baseRow(transcript: TranscriptRoot): string | undefined;
/**
* The transcript and opaque families (R4.B2, RULING-60 Q1, RULING-61) from what the frozen S04 root owns: its
* descriptor, the loaded base as a file range, then one ancestry row per accepted entry of the epoch. An entry whose
* kind the engine union does not know is also an `opaque` member: its exact retained line while the tail holds it,
* else its ancestry row naming the file as its source. With a loaded base the opaque family names the base stream
* too; it is explicitly empty only when its producer is complete and no base exists, and a partial one with no
* member of this epoch emits nothing. An unavailable root is an explicit descriptor with its typed reason and no rows.
* The tail is held for the whole walk: one consistent cut of it, its entries readable to the end even if persistence
* releases them meanwhile.
*/
export declare function transcriptComponents(store: CompactContentStore, transcript: TranscriptRoot, producers: FamilyProducers, valid: () => void): AsyncGenerator<CatalogComponent>;
export declare const textComponent: (store: CompactContentStore, kind: CatalogComponent["kind"], id: CatalogComponent["id"], text: string) => AsyncGenerator<CatalogComponent>;
//# sourceMappingURL=compact-catalog-transcript.d.ts.map