Gateway payload schemas and their HTTP transport metadata.
Gateway payload schemas and their HTTP transport metadata.
Remote lease lifetime and keepalive policy.
Remote lease lifetime and keepalive policy.
(error-body type message extra)Build the canonical JSON error body; caller extras retain their existing override semantics.
Build the canonical JSON error body; caller extras retain their existing override semantics.
All event names on session, dedicated-job and relay-push streams.
All event names on session, dedicated-job and relay-push streams.
(handshake {:keys [version build]})Build the engine handshake from schema protocol numbers and runtime release identity.
Build the engine handshake from schema protocol numbers and runtime release identity.
All dedicated job-stream event names.
All dedicated job-stream event names.
Directional event names carried by dedicated speech job streams.
Directional event names carried by dedicated speech job streams.
Oldest client protocol served by this gateway.
Oldest client protocol served by this gateway.
Oldest gateway protocol accepted by this client.
Oldest gateway protocol accepted by this client.
(newer-session-goal previous incoming)Keep the highest valid session-wide revision across HTTP snapshots and event replay. Goal replacement increments revision too; invalid, absent and older snapshots cannot rewind it.
Keep the highest valid session-wide revision across HTTP snapshots and event replay. Goal replacement increments revision too; invalid, absent and older snapshots cannot rewind it.
(operation method path)Request/response transport declaration for built-in method and path, or nil.
Request/response transport declaration for built-in `method` and `path`, or nil.
Wire protocol spoken by this schema.
Wire protocol spoken by this schema.
Event names used by relay push payloads.
Event names used by relay push payloads.
Queue lifecycle events mirrored by attached channels.
Queue lifecycle events mirrored by attached channels.
(route-methods)Exact built-in [method path] pairs declared by the schema's HTTP metadata.
Exact built-in `[method path]` pairs declared by the schema's HTTP metadata.
Complete [method path] to request/response transport declaration.
Complete `[method path]` to request/response transport declaration.
Complete built-in gateway route table, one record per path.
Complete built-in gateway route table, one record per path.
Schema number stamped onto every session event.
Schema number stamped onto every session event.
(session-event-type? event-type)True when event-type belongs to the closed session-stream vocabulary.
True when `event-type` belongs to the closed session-stream vocabulary.
Closed built-in vocabulary carried by the session journal and multiplexed SSE stream.
Closed built-in vocabulary carried by the session journal and multiplexed SSE stream.
Display titles of the canonical goal status schema alternatives.
Display titles of the canonical goal status schema alternatives.
Speech synthesis job stream event name.
Speech synthesis job stream event name.
(stamp-journal-line event producer pid store?)Add private producer metadata to one already-stamped session event.
Add private producer metadata to one already-stamped session event.
(stamp-session-event payload session-id sequence timestamp type)Apply the schema identity stamp after payload, so payload keys cannot spoof it.
Apply the schema identity stamp after `payload`, so payload keys cannot spoof it.
(strip-journal-metadata event)Remove private journal metadata before an event reaches a session consumer.
Remove private journal metadata before an event reaches a session consumer.
(subscription-ready-event {:keys [session-id cursor current-turn-id is-live
server-time-ms latest-iteration goal
agent-name]})Build the canonical first frame for one session subscription.
Build the canonical first frame for one session subscription.
Wire fields copied from a settled turn into blocking submit/attach results.
Wire fields copied from a settled turn into blocking submit/attach results.
Every built-in event type that ends a turn.
Every built-in event type that ends a turn.
(valid-session-goal? goal)True for a canonical wire goal. A session without a goal carries nil instead.
True for a canonical wire goal. A session without a goal carries nil instead.
(verdict {:keys [gateway-protocol gateway-min-client gateway-version
client-protocol client-min-gateway client-version
client-name]})Pure compatibility verdict between a gateway and a client.
Reasons are ok, client-too-old, gateway-too-old, or unknown when a peer
did not advertise a protocol. :upgrade names the half that must be updated.
Pure compatibility verdict between a gateway and a client. Reasons are `ok`, `client-too-old`, `gateway-too-old`, or `unknown` when a peer did not advertise a protocol. `:upgrade` names the half that must be updated.
Session event that ends either View kind.
Session event that ends either View kind.
Open, patch and close event names for both View kinds.
Open, patch and close event names for both View kinds.
Session event that mounts either View kind.
Session event that mounts either View kind.
Session event carrying accepted View operations.
Session event carrying accepted View operations.
Transcription job stream event name.
Transcription job stream event name.
(wire->handshake m)Read a peer's advertised handshake from its canonical string-keyed wire map.
Missing fields remain nil so verdict rejects an unversioned peer explicitly.
Read a peer's advertised handshake from its canonical string-keyed wire map. Missing fields remain nil so [[verdict]] rejects an unversioned peer explicitly.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |