mlx-bun library API
    Preparing search index...
    interface PipelineOptions {
        articleCap?: number;
        call?: SynthesisCall;
        client?: MemoryCompletionClient;
        commit?: boolean;
        convIds?: string[];
        extractCall?: ExtractCall;
        mustCreate?: string[];
        now?: number;
        onEvent?: (e: SynthesisEvent) => void;
        root?: string;
        sectionCall?: SectionCall;
        segmentCall?: ChunkCall;
        signal?: AbortSignal;
        useSubjectGate?: boolean;
    }
    Index
    articleCap?: number

    Max articles to CREATE this run (bounds a smoke's GPU cost).

    Model-call seam for the CREATE drafting AND the steady-state PATCH (both run the synthesis stage). Tests inject a fake.

    commit?: boolean

    Skip the final git commit (tests).

    convIds?: string[]

    Restrict the run to these conversation ids; default every conversation.

    extractCall?: ExtractCall

    Model-call seam for ENTITY-EXTRACT (the entity stage). Tests inject a fake.

    mustCreate?: string[]

    Entities to force into the CREATE set when they earn a create.

    now?: number
    onEvent?: (e: SynthesisEvent) => void
    root?: string

    Vault root (honors MLX_BUN_WIKI); defaults to vaultRoot().

    sectionCall?: SectionCall

    Model-call seam for SECTION-ROUTE (the section stage binary/name calls). Tests inject a fake.

    segmentCall?: ChunkCall

    Model-call seam for SEGMENT (the chunk stage — our e4b-chunk-300 / memory-chunk adapter). Defaults to callLocal("chunk", …) inside chunkConversations; tests inject a fake to avoid a real model load.

    signal?: AbortSignal
    useSubjectGate?: boolean

    Run the subject-engagement model gate to promote a thin (single-chunk) genuine-subject candidate to a create stub. Off by default (a recurring subject already creates).