Modules§
- identity_
token - The identity token is the only carrier of a session’s name. The hub mints
signed tokens (
issHUB_ISSUER, EdDSA, verified by the relay against the hub’s JWKS); a client that cannot reach the hub mints the same shape unsigned (issSELF_ISSUER,algUNSIGNED_ALG, empty signature) and the relay treats the name as unverified. Keep the claim shape in sync withmanabrew-hub/src/auth/token.rs. - state_
delta
Structs§
- Chat
Message - Deck
- Draft
Config - Engine
Play Stats - Identity
Proof - Player
Deck Info - Player
Info - Resume
Room Request - Room
Info - Room
Player Info - Sealed
Config
Enums§
- Chat
Scope - Client
Message - Client
Platform - Engine
Kind - Game
Format - Local
Game Kind - A game running on the player’s own machine, which the relay never sees.
- Room
Status - Server
Message - State
Envelope - Typed envelope carried inside
ClientMessage::BroadcastState.state/ServerMessage::StateUpdate.state. One discriminator (kind) plus the payload for that variant. Constructed and parsed in every layer that touches the relay (engine, bot, host, web/Tauri UI) — anything that needs to handcraftjson!({"kind": "..."})belongs here instead.
Constants§
- CHAT_
HISTORY_ MAX_ AGE_ MS - CHAT_
HISTORY_ MAX_ MESSAGES - CHAT_
MESSAGE_ MAX_ CHARS - CHAT_
MIN_ INTERVAL_ MS - DEFAULT_
RECONNECT_ TIMEOUT_ S - FEATURES
- FEATURE_
CHAT - Names
ClientMessage::SendChatinAuthResult::features. - FEATURE_
LOCAL_ GAME - Names
ClientMessage::SetLocalGameinAuthResult::features. - FEATURE_
ROOM_ INVITES - Names
ClientMessage::InviteToRoominAuthResult::features. - PROTOCOL_
VERSION