This is great, if I understand correctly I just inject the hook - <CopilotPortal /> ?
And Pretty much! You have to wrap the app (or the part you want copilot in) with a <CopilotProvider /> - this is UI-agnostic, business logic only. Then there are a few customizable UI providers you can use, or you can just build your own if needed.
If you check it out do let me know what you think!