mlx-bun library API
    Preparing search index...

    What a panel is told about its backend: the same shape as @mlx-bun/app-core's PanelConnection.

    interface PanelConnection {
        apiBase: string;
        eventsUrl: string;
        ui?: {
            catalogChanged?(): void;
            modelId?(): string | undefined;
            notify?(message: string, kind?: "ok" | "err"): void;
            publish?(
                container: HTMLElement,
                source: {
                    job_id?: string;
                    kind: "quantize" | "finetune" | "dataset";
                    source_path?: string;
                },
            ): void
            | Promise<void>;
        };
    }
    Index
    apiBase: string

    Absolute or origin-relative base of /api/<module id>.

    eventsUrl: string

    Server-sent stream the panel follows.

    ui?: {
        catalogChanged?(): void;
        modelId?(): string | undefined;
        notify?(message: string, kind?: "ok" | "err"): void;
        publish?(
            container: HTMLElement,
            source: {
                job_id?: string;
                kind: "quantize" | "finetune" | "dataset";
                source_path?: string;
            },
        ): void
        | Promise<void>;
    }

    Optional presentation supplied by the embedding host.