Optional ReadonlyclearedOptional ReadonlycolorOptional ReadonlycursorWorld-space pointer position; absent = no cursor to show.
ReadonlyidReadonlykindOptional ReadonlynameOptional ReadonlyroleOptional ReadonlyselectionSelected element ids the sender chose to publish; absent = none.
Optional ReadonlytoolActive tool name; absent = not published.
The wire shape of one awareness frame. Every frame is the sender's COMPLETE state (identity + whatever it publishes), so any coalescer that keeps only the newest frame — the relay's per-kind throttle lane, a slow consumer — is correct by construction: latest wins. Absent fields mean "none / not published"; there is no delta encoding. A
clearedframe says the sender is going away (receivers drop it now instead of waiting for stale expiry). Presence only: never elements, undo history, persisted canvas state, or durable operations.