mlx-bun library API
    Preparing search index...
    interface ProposalSource {
        name: string;
        windowNeeded?: number;
        observe?(ids: readonly number[]): void;
        propose(tail: TokenView): Proposal | null;
    }

    Implemented by

    Index
    name: string
    windowNeeded?: number

    How many trailing tokens this source needs to see in TokenView.tail. The session retains the maximum across its sources; a source that needs more history than that keeps its own copy (see observe()).

    • Every token that actually entered the sequence — sampled or injected — in order. Sources that maintain an index grow it here.

      Parameters

      • ids: readonly number[]

      Returns void