Gateway protocol: pins, reactions, topics, events, streams, activity, admin
The new Voelin UI needs Discord-like features that TeamSpeak does not have. They run on tsgw, so the protocol grows, additively within v1: - capabilities in hello (server-wide) and auth_ok (per user, with admin) - query_history with before/after id and time cursors, optional limit, topic filter; sync by revision for new and changed messages - post (optionally into a topic), pins, reactions with per-user counts, topics, scheduled events with RSVP and reminders, the stream directory, the activity feed, runtime configuration and permission rules - history entries carry topic, reactions, pinned flag and revision; old clients ignore the extra fields Old clients never see a new message type: extension pushes need enable or a subscribe request. New error codes and enums have an unknown fallback so older clients keep parsing newer gateways. The optional client feature adds a typed client (request/answer by envelope id, typed pushes), shared by the app engine and the gateway's integration tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
1 parent
f0f1269812
commit
08071e7f43
8 files changed
+2016
-42
No files matched your search
Generated
+3
@@ -9143,11 +9143,14 @@ name = "voelin-gateway-proto"
|
||||
version = "0.1.0"
|
||||
dependencies = [
|
||||
"base64 0.22.1",
|
||||
"futures-util",
|
||||
"serde",
|
||||
"serde_json",
|
||||
"sha-1",
|
||||
"sha2 0.10.9",
|
||||
"thiserror 2.0.21",
|
||||
"tokio",
|
||||
"tokio-tungstenite 0.30.0",
|
||||
"tsproto",
|
||||
"tsproto-types",
|
||||
"voelin-model",
|
||||
|
||||
Reference in new issue
Block a user