mlx-bun library API
    Preparing search index...
    interface PatchOutcome {
        action: "skipped" | "patched";
        addedDef: boolean;
        anchor: string;
        content: string | null;
        footnote: number | null;
        normalizeNotes: string[];
        reason: string | null;
        reusedFootnote: boolean;
    }
    Index
    action: "skipped" | "patched"
    addedDef: boolean

    True when a new [^N]: definition line was appended.

    anchor: string
    content: string | null

    Final post-NORMALIZE article, or null when the patch was a NO-OP.

    footnote: number | null

    The [^N] number assigned to the chunk (null when never reached).

    normalizeNotes: string[]
    reason: string | null

    Skip reason; null on success.

    reusedFootnote: boolean

    True when the chunk's conversation was already cited (reused marker, no new def).