OptionalactionSpecifies the type of action being performed
OptionaldetailsAdditional error context or stack trace information
OptionaldisconnectWhen true, signals that the connection should be terminated after message processing
OptionalerrorDescription of any error that occurred
OptionalidUnique identifier for the client connection
OptionalmsgPayload data encoded as a base64 string
OptionalpidProcess ID of the connected client (platform-dependent availability)
OptionalsocketPath to the IPC socket being used for communication
OptionalversionProtocol version identifier for compatibility checking
Defines the fundamental message structure used for all IPC communications. This interface serves as the base for more specific message types and contains all possible fields that might be used in any message.