There are no discriminator fields in the nREPL response messages, right? So one has to detect the type of message from the keyset?
Sometimes. Refresh has the information for example.
Nrepl doesn't require it, but middleware may provide it