Docs: chat history and the gateway's features in the engine

Architecture: how messages are stored and merged, what opening a chat and
paging back emit, the history settings, the gateway's requests and
updates in the engine, and the directory as a stream discovery source.
The protocol page points to the engine's mapping, the README and the
changelog mention chat history and voelinctl's engine mode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-28 02:56:49 +00:00
1 parent 2203e8f840
commit c1e96ac607
4 files changed
+93 -7

No files matched your search

+6 -1
View File
@@ -3,7 +3,12 @@
How Voelin talks to `tsgw` ([gateway-admin.md](gateway-admin.md)). The types
are in `crates/voelin-gateway-proto` (`messages.rs`, `types.rs`); its
`client` feature is a typed client (one async method per request, pushes as
`Push`), which the app uses through `voelin_core::gateway`.
`Push`), which the app uses through `voelin_core::gateway`: the engine's
`Command::Gateway` requests and `Event::Gateway` updates map onto the
messages below one to one, and the chat history sync uses `query_history`
and `sync` ([architecture.md](architecture.md#chat-history)).
`voelinctl gateway --engine --request '<json>'` sends any request through
the engine, e.g. `'{"config_get":{"key":"relay.pinned_channels"}}'`.
## Transport