Dashboard › cli › Distillation
dac3de21-9c7a-417a-9dfb-c73c62b067a7["lore_tm_v1_4HdjBXW3y4ks_UpXT4Ggdw5HrF8u11TwRAKR2zgKKdk"]
MAX_STABLE_CHAIN_DEPTH = 10, MAX_NIGHTLY_CHAIN_DEPTH = 30, SIZE_THRESHOLD_RATIO = 0.6 for abandoning a patch chain when its total size exceeds 60% of the full gzipped download, and GHCR manifest tag prefix PATCH_TAG_PREFIX = "patch-".PatchLink = { data: Uint8Array; size: number }; ChainStep = { fromVersion: string; toVersion: string }; PatchChain = { patches: PatchLink[]; totalSize: number; expectedSha256: string; steps?: ChainStep[] }, where expectedSha256 is the sole trust anchor and optional steps support offline-cache keying; DeltaResult = { sha256: string; patchBytes: number; chainLength: number }.InstrumentHook = <T>(name: string, fn: () => Promise<T>) => Promise<T>, an optional consumer-supplied per-HTTP-step instrumentation hook called around every library network operation. It must transparently preserve fn()’s resolved/rejected value; either the hook or fn throwing aborts the operation. Example usage wraps steps with withTracing(name, "http.client", () => fn()) and supplies it through resolveAndApply({ source: ghcrSource({ ..., instrument }), ... }).