mlx-bun library API
    Preparing search index...
    interface ResidentModel {
        bytes: number;
        id: string;
        lastUsedAt: number;
        leases: number;
        operations: readonly ModelOperation[];
        pinned: boolean;
        role: ModelRole;
        state: ModelState;
        uses?: readonly string[];
    }
    Index
    bytes: number

    Weights plus the state the model currently holds.

    id: string
    lastUsedAt: number
    leases: number

    Leases currently held; a leased model is never evicted.

    operations: readonly ModelOperation[]
    pinned: boolean
    role: ModelRole
    state: ModelState
    uses?: readonly string[]

    Directories the model reads: the one its id names and any it holds besides (a snapshot another feature loaded into it). Cache cleanup keeps them.