It seems this protocol has similarities to the Chrome Remote Debugging protocol.
Does it make sense for the repo to have a protocol.json file ? e.g https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
This means different language servers implement the protocol and maintain a protocol.json file which can be queried if the API is compatible and has any breaking changes.
The protocol.json can then be used to automatically generate code for a client or server implementation in languages other than typescript.
e.g I can consume protocol.json and automatically generate a Java class for java language service interface.
Same for PHP, python and the rest. Code generation on both client and server can benefit.
It seems this protocol has similarities to the Chrome Remote Debugging protocol.
Does it make sense for the repo to have a protocol.json file ? e.g https://cs.chromium.org/chromium/src/third_party/WebKit/Source/platform/v8_inspector/js_protocol.json
This means different language servers implement the protocol and maintain a protocol.json file which can be queried if the API is compatible and has any breaking changes.
The protocol.json can then be used to automatically generate code for a client or server implementation in languages other than typescript.
e.g I can consume protocol.json and automatically generate a Java class for java language service interface.
Same for PHP, python and the rest. Code generation on both client and server can benefit.