mlx-bun library API
    Preparing search index...
    interface DraftProviderKind {
        artifact: boolean;
        bundledCompanion?: string;
        fallback?: boolean;
        kind: string;
        detect?(artifact: DraftArtifact): Promise<boolean>;
        load(request: DraftLoadRequest): Promise<LoadedDraft>;
    }
    Index
    artifact: boolean

    False for a model-free kind: it takes no artifact and is chosen only by name.

    bundledCompanion?: string

    Subdirectory of a target artifact that bundles this kind's companion.

    fallback?: boolean

    A catch-all: asked only after every other kind declined, wherever it was registered, so a kind added later is still detected ahead of it.

    kind: string