pub fn parse_plugin_action_probe_request(
input: impl Read,
expected_plugin_id: Uuid,
) -> Result<PluginActionProbeRequest>Expand description
Parses the bounded JSON request received by a plugin in probe mode.
Pass a locked stdin handle and the executable’s manifest UUID. The helper
reads at most PLUGIN_ACTION_IO_BYTES_LIMIT plus one sentinel byte, then
rejects oversized or malformed JSON, protocol/UUID confusion, an invoke
operation, and invalid or duplicate context paths.