mlx-bun library API
    Preparing search index...

    Cross-module contributions. A contributor registers to a point it declared in its manifest; a consumer lists what is registered under a point. Neither names the other, so a module's tools appear in chat with no import between them. list is a live view: a consumer lists on demand or follows onChange, since a contributor may activate after it.

    interface Registry {
        list<P extends keyof ExtensionPoints>(
            point: P,
        ): readonly Registration<P>[];
        onChange(point: keyof ExtensionPoints, handler: () => void): Unsubscribe;
        register<P extends keyof ExtensionPoints>(
            point: P,
            contribution: ExtensionPoints[P],
        ): Unsubscribe;
    }
    Index