I've googled for this and it seems like there isn't any message-like/connection-like protocol over serial/uart? I'm aware of SLIP but it seems very bare bones.
I also get that making a new communication protocol because I don't understand why my embedded device is listening to my serial commands in one context but not others is probably not a good reason 😅.