nx_mcp_envelope.nx
buildroot/runtime/nx_mcp_envelope.nx
about
Native MCP envelope selection. Reuses the estate value parser.
Spans refer to original request bytes; nested params cannot supply envelope fields.
dependencies 1 imports · 8 importers
imports: nx_value_parse_json.nx
imported by: nx_mcp_envelope_gate.nxnx_tools_api.nxnx_tools_api_candidate_t182.nxnx_tools_api_canonical_candidate_t182.nxnx_tools_api_idem_candidate_t190.nxnx_tools_api_recovery_candidate_t316.nxnx_tools_api_recovery_candidate_v2_t316.nxnx_tools_api_recovery_candidate_v3_t316.nx
structs
| 4 | struct NxMcpEnvelope { id_off: i64, id_len: i64, method_off: i64, method_len: i64 } |
consts
| 5 | const NX_MCP_ENVELOPE_BYTES: i64 = 4 * 8 |
functions
| 6 | func nme_equal(v: *NxValue, s: *u8, n: i64) -> i64 |
| 12 | func nme_read(src: *u8, n: i64, e: *NxMcpEnvelope) -> i64 |