There's barely any code in the js bindings anyway. It's just a thin component which defines an interface to communicate with it via events. The logic all happens in the (AFAIK) closed source iframe that gets injected from https://cdn.platform.openai.com/deployments/
Later,
> 2. Install the React bindings
So not so framework-agnostic, or am I missing something ?