📄️ Session
The Session is the top-level response object returned by both API endpoints. It is the complete message the server sends to the client after any interaction.
📄️ SessionMeta
SessionMeta is the application's mutable state. It is the shared memory between the client and server across the entire session lifetime.
📄️ Screen
A Screen is the primary navigation unit in RUF. It represents a full page or view in the application, owns a set of components, and defines the interactions the user can perform while on it.
📄️ Component
A Component is a typed UI building block within a Screen. Components are what the server sends to drive rendering — each component carries its text, data, and a behavior variant that tells the client how to display it.
📄️ Action
An Action represents a user interaction that the client can dispatch to the server. Actions are typed per screen — the server defines which actions are available and what they require.
📄️ Metric
A Metric is an analytics event embedded in the protocol. Rather than instrumenting analytics separately on the client, RUF treats metrics as a first-class part of the server response — the server decides what to track and when.