mlx-bun library API
    Preparing search index...

    A model directory an operating-system folder picker selected. The picker reveals a folder's name (and, from a file input, its path inside the folder), never its location.

    interface FolderSelection {
        name?: string;
        relPath?: string;
    }
    Index
    name?: string

    The picked folder's name (a hub cache repo folder models--org--name or a snapshot hash).

    relPath?: string

    The picked folder's path relative to the picked root, when the browser gave one.