So after a week or two of letting Gemini roll it's own, the Loro team came to rescue with an [E2EE bidirectional sync protocol for CRDTs](https://github.com/loro-dev/protocol).