Skip to main content

Module protocol

Module protocol 

Source
Expand description

Shared Host control wire v1. Mirrored in rpi-extcore, never linked into a DLL from rpi-cli. Wire declarations do NOT advertise implemented capabilities. This is distinct from both native session RPC and the rpi-server protocol.

Structs§

AdministrativeRequest
Complete intent for receipt reconciliation and explicitly matched execution. Its epoch can be historical; the enclosing transport epoch must be current.
AgentId
AgentMutation
AuthToken
Serialized only in the authenticated handshake. Neither Debug nor client errors disclose it. Callers must keep serialized frames out of logs.
CallId
ControlScopeId
Epoch
Hello
HostId
Limits
MiniRequest
Entire epoch-scoped volatile intent. This never names a durable admission or grants permission; only the daemon’s private Mini policy can do that.
ProfileRef
Opaque immutable input identity, never configuration or authority.
ProfileVersion
Request
RequestId
Response
RunId
TicketId
Version
Welcome

Enums§

AdministrativeAction
Capability
Unknown future capabilities are ignored, never treated as permission.
Command
ErrorCode
MiniAction
Reply

Constants§

MAJOR
MAX_FRAME_BYTES
MAX_PAGE_SIZE
MAX_RESULT_TEXT_BYTES
Text-result page budget in UTF-8 bytes, independent of catalog page counts.
MAX_SUBMIT_PROMPT_BYTES
Bounded text prompt for one submit. Larger inputs need an explicit contract (images/structured content) rather than an unbounded JSON string.
MINOR
PROTOCOL