UNPKG

@code-yeongyu/senpi

Version:

Coding agent CLI with read, bash, edit, write tools and session management

17 lines • 1.05 kB
import { type CatalogFamily, type FamilyRegistry } from "./compact-catalog-registry.ts"; export type RequiredKindsRefusal = "manifest_missing_required_kinds" | "manifest_unknown_required_kind" | "manifest_required_kinds_mismatch"; export type RequiredKindsRead = { readonly ok: true; readonly requiredKinds: readonly CatalogFamily[]; } | { readonly ok: false; readonly code: RequiredKindsRefusal; }; /** * The families a client opens for one decoded manifest (RULING-128): its `requiredKinds`, read verbatim and never * replaced by a built-in family list. `registry` is the cut's `families/families` component as `readFamilyRegistry` * decodes it from bytes verified against the root entry that `checkpointDigest` covers. The digest covers that * component, not the manifest field, so the list opens only when it equals the component's complete families. */ export declare function readRequiredKinds(manifest: unknown, registry: FamilyRegistry): RequiredKindsRead; //# sourceMappingURL=compact-recovery-manifest-kinds.d.ts.map