mlx-bun library API
    Preparing search index...
    interface RegistryCatalogOptions {
        adapterDirs?: () => readonly string[];
        events?: Pick<EventBus, "publish">;
        hub?: CatalogHub;
        modelsRoot?: () => string;
        registry?: () => CatalogRegistry;
    }
    Index
    adapterDirs?: () => readonly string[]

    The adapter stores list({ kind: "adapter" }) reads, in order; a directory two stores reach is listed once. Default none.

    events?: Pick<EventBus, "publish">

    Where catalog.changed is published after an index refresh or a download.

    modelsRoot?: () => string

    The app's own model directory, searched when locating a picked folder. Default: models/ under MLX_BUN_HOME.

    registry?: () => CatalogRegistry

    A fresh handle per call, closed after it. Default: the index under MLX_BUN_HOME.