Topics
Message types
| Type | Used on topic |
|---|---|
ConfigPayload | config |
ConfigAckPayload | config_ack |
ConfigRequestPayload | config_request |
ConversationMessage | message:new |
SessionEndPayload | session:end |
PublicTokenRequest / PublicTokenResponse | HTTP /public/token |
PublicSessionRequest / PublicSessionResponse | HTTP /public/session |
IdentityResponse | Client identity |
SessionOptions | Session options |
RestoreState | Config restore |
FeatureDefinition | Config features |
ToolConfig | Config tools |
Collection | Config collections |
Collection
Content collections attached to the scenario, compiled server-side into the published version and delivered on theconfig topic:
RPC
RPC payload types
Multi-language spec
The protocol package is the source of truth for cross-language SDKs. Futurescenaro-protocol extraction (Python, Go) will align on these same definitions.
Source: packages/sdk/src/protocol/ in the scenaro/projects monorepo.