How are turns inside sessions stored?

dev
5f3ab93wip: zen black
This post might have stale content, as dev is 7154 commits ahead.

how do turns inside sessions get stored? cause there's ai SDK's "UIMessage". wondering how stuff is stored.


END OF POST

How are turns inside sessions stored? — anomalyco/opencode