Skip to navigation

nemo-relay-worker-proto

View as Markdown

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

  • DIAGNOSTIC_NOT_CONSUMED_METADATA: Metadata set to 1 on a diagnostic admission rejection before execution. This certifies only that attempt; an earlier lost reply can still be uncertain.
  • DOWNSTREAM_CONTINUATION_METADATA: Continuation provenance for an error returned as gRPC status metadata. Used for stream-opening failures, where no WorkerError envelope is returned.
  • 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.