//! Wire shape for a plugin-emitted command-execution request.
use JsonSchema;
use ;
/// Plugin requests the host execute a command. The host streams
/// every emission back into the plugin's stdin; plugins demultiplex
/// concurrent in-flight commands by matching against the echoed
/// `id` on each response line.
///
/// The constant `type:"command"` discriminator disambiguates this
/// variant from the rest of the untagged [`super::Output`] catch-all,
/// mirroring the `type:"error"` discriminator on
/// [`crate::cli::Error`].
/// Single-variant discriminator for [`Command`]'s `type` field.
/// Always `"command"` on the wire.