Is your feature request related to a problem? Please describe.
A client should be notified when a STDIO server unexpectedly terminates (e.g. a crash) so that tool lists can be updated and optionally restart the server.
Describe the solution you'd like
Add an Exited event to StdioClientTransport. It should provide the exit code and at least the tail of the STDERR from the process as well, similar to what you did for #362. The idea being we can include any crash data in the logs for user inspection to resolve whatever issue led to the crash.
Is your feature request related to a problem? Please describe.
A client should be notified when a STDIO server unexpectedly terminates (e.g. a crash) so that tool lists can be updated and optionally restart the server.
Describe the solution you'd like
Add an
Exitedevent toStdioClientTransport. It should provide the exit code and at least the tail of the STDERR from the process as well, similar to what you did for #362. The idea being we can include any crash data in the logs for user inspection to resolve whatever issue led to the crash.