IFClite TypeScript API
    Preparing search index...

    Interface AttachHistoryOptions

    interface AttachHistoryOptions {
        branch?: string;
        includeDiff?: boolean;
        intervalMs?: number;
        snapshot?: SnapshotOptions;
    }
    Index
    branch?: string

    Branch to record on. Default 'main'.

    includeDiff?: boolean

    If true (default), include a minimal-layer diff against the previous entry on the same branch. Diffs make historySidecar.diff(a, b) cheaper to compute.

    intervalMs?: number

    How often to record a snapshot, ms. Default 60_000.

    snapshot?: SnapshotOptions

    Forwarded to snapshotToIfcx.