Expand description
Wire messages: typed builders for what an adapter sends, checked parsers for what it receives.
The adapter pushes commits, the driver issues requests, and either side may send an error and close. Everything is validated against the active limits before it is retained; failures are returned, never raised.
Structs§
- Adapter
Info - Identifies the adapter implementation to the driver.
- Evidence
Provider Registration - Application evidence producer frozen into hello negotiation.
- Hello
- The adapter’s handshake: sent exactly once, before anything else.
- Hello
Ack - The driver’s reply: session id, negotiated limits, what to push.
- LogBudget
- The log-channel allowance, sent only when the adapter announced the
logscapability. Absent means logs are disabled: an adapter that receives no budget must not emit log messages at all. - LogMessage
- Carries one application log record to the driver.
- Marker
Config - Whether the adapter should emit render markers.
- Probe
Info - What a probe says about itself when it attaches.
- Probe
Instrumentation - Runtime attachment facts declared in a first-party probe handshake.
- Protocol
Error Message - Terminal error: the sender closes after emitting it.
- Revision
Commit - Announces that a render was committed to the terminal.
- Semantic
Full Message - Carries a full tree for one revision.
Enums§
- Degraded
Session Capability - Closed session-capability vocabulary used for named runtime degradation.
- Probe
Identity Kind - How an object’s identity behaves across frames.
- Probe
Injection Tier - Strongest injection tier that actually engaged for this probe run.
- Probe
Semantic Class - Whether the semantic tree includes authoritative framework geometry.
Constants§
- PROTOCOL_
ID - The wire protocol identifier both sides must agree on.
- PROTOCOL_
VERSION - The current major version.
Functions§
- default_
capabilities - Capabilities for a tree-publishing adapter with qualified geometry.
- parse_
adapter_ message - Validate one adapter → driver message.
- parse_
driver_ message - Validate one driver → adapter message.