mlx-bun library API
    Preparing search index...
    interface MicCapture {
        events: AsyncIterable<MicEvent>;
        exited: Promise<number>;
        stop(): Promise<void>;
    }
    Index
    events: AsyncIterable<MicEvent>

    Ends once the sidecar's stdout closes (after stop, or when it exits on its own).

    exited: Promise<number>

    The sidecar's exit code.