Three small additions to the docs/ tree to round out the reference set.
Tasks
docs/recipes.md
A "common recipes" page with copy-paste examples for the three frameworks people actually integrate Chativa with, plus the most-asked DirectLine setup question.
Linked from the README under "Documentation".
Sequence diagram for GenUI round-trip
docs/genui/streaming.md describes the chunk types and the round-trip from component event → connector → bot's response chunk. A mermaid sequence diagram makes the timing instantly readable.
docs/events.md
packages/core/src/application/EventBus.ts defines a typed EventBusPayloadMap with 10 events. There is no central reference for them — devs have to read the source.
Acceptance criteria
Spun out of todos.md.
Three small additions to the docs/ tree to round out the reference set.
Tasks
docs/recipes.mdA "common recipes" page with copy-paste examples for the three frameworks people actually integrate Chativa with, plus the most-asked DirectLine setup question.
useEffect-based registration of the connector +chatStore.setConnectorcall).<script setup>).window.chativaSettings).tokenGeneratorUrl.Linked from the README under "Documentation".
Sequence diagram for GenUI round-trip
docs/genui/streaming.mddescribes the chunk types and the round-trip from component event → connector → bot's response chunk. A mermaid sequence diagram makes the timing instantly readable.sequenceDiagramwith: User → GenUIComponent → ChatEngine → IConnector → bot backend → connector emitseventchunk → component'slistenEventcallback fires.docs/events.mdpackages/core/src/application/EventBus.tsdefines a typedEventBusPayloadMapwith 10 events. There is no central reference for them — devs have to read the source.docs/extensions.md("for read-only analytics, prefer EventBus") anddocs/architecture.md.Acceptance criteria
README.md → Documentationtable.Spun out of
todos.md.