nemo-relay-worker-proto
nemo-relay-worker-proto
Generated from cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-pii-redaction -p nemo-relay-ffi -p nemo-relay-types -p nemo-relay-plugin -p nemo-relay-worker-proto -p nemo-relay-worker.
Versioned gRPC protocol for NeMo Relay out-of-process worker plugins.
The protobuf schema owns transport control flow and the tool-result wrapper structure. Open application payloads remain lossless JSON values, while other Relay data transfer objects are carried in JSON envelopes.
Modules
- v1: Generated protobuf and gRPC service definitions.
Constants
- WORKER_PROTOCOL_GRPC_V1: Stable worker protocol identifier accepted by
compat.worker_protocol.
Functions
- decode_json_envelope: Decodes a JSON envelope into the requested DTO type.
- decode_json_value: Decodes a lossless protocol JSON value into the requested type.
- json_envelope: Creates a JSON envelope from a serializable DTO.
- json_value: Creates a lossless protocol JSON value from a serializable value.