protocol

Versioned, validated wire and save schemas.

Interfaces

Types

Functions

Constants

ACCOUNT_PATHAPI_PREFIXPaths, in one place, because four things have to agree on them: the client, the Worker's router, runWorkerFirst in cloudflare.config.ts, and the service worker's cache bypass.decodeAccountStatusdecodeBooleandecodeFrameIddecodeFrameStatedecodeGuideErrordecodeGuideSessionCreateddecodeGuideSessionRequestdecodeGuideVerdictThe verdict, if it is one; a proxy's error page or a stale shape is not.decodeIntegerdecodeNumberdecodeNumberRecorddecodeQuatdecodeRailsEpochdecodeSaveCharacterdecodeSaveEntitydecodeSaveGameDecode a save of the current schema version.decodeSaveMutationdecodeSaveSurfacePlacementdecodeSaveThrusterProfiledecodeServerHealthdecodeStringdecodeStringRecorddecodeSubjectBriefdecodeTourCandidatedecodeTourContextdecodeTourFactdecodeTourManifestdecodeUniverseVectordecodeVec3decodeWireFrameStatedecodeWireQuatdecodeWireRailsEpochdecodeWireVec3decodeWorkerRequestValidate an inbound request envelope.GUIDE_CAMERA_TOOLSThe tools that move the camera or the picture time.GUIDE_CLIENT_EVENTSExactly the tool loop, the scene, the greeting, mute, and close.GUIDE_LIMITSGUIDE_LIST_SCOPESGUIDE_MOTIONSGUIDE_PREFIXThe guide's routes, under APIPREFIX.GUIDE_REFUSAL_SENTENCESGUIDE_REFUSALSWhy the guide is refused.GUIDE_SESSION_LIMITSThe bounds of a session request, both in UTF-8 bytes: the request goes to the provider as an encoded body, so bytes are what the adapter holds it to.GUIDE_SESSIONS_PATHGUIDE_STAR_CLASSESGUIDE_TIME_MODESGUIDE_TOOL_NAMESGUIDE_TOOLSThe inventory as the backend model receives it.GUIDE_VERDICT_PATHGUIDE_VOICESEvery voice the Live reference lists that the panel offers.GUIDE_WORLD_KINDSHEALTH_PATHMEDIA_PREFIXFiles the site serves but does not carry — object storage, not the bundle.NET_PROTOCOL_VERSIONBumped when the shape of anything on the wire changes incompatibly.SAVE_MUTATION_KINDSSAVE_SCHEMA_VERSIONSOCKET_PATHTOUR_LIMITSTOUR_PROTOCOL_VERSION