I do a simple copy of jedi-language-server, replace jedi calls to pyright, everything seems to work except the request goes to stdin (not sure if they actually do) but no response comes back.
A demo can be seen in the following asciicast

Please provide me insight if I'm doing something wrong here.
Thank you!