mlx-bun library API
    Preparing search index...
    interface ResidencyPolicy {
        budgetBytes: number;
        idleUnloadSec: number;
        pinned: readonly string[];
    }
    Index
    budgetBytes: number

    Bytes all resident models may use together; a load that would exceed it evicts first.

    idleUnloadSec: number

    Seconds an unpinned model stays loaded after its last lease is released; 0 releases it at once.

    pinned: readonly string[]

    Never evicted.