Expand description
Plugin protocol wire types and (future) helpers.
Structs§
- Command
- 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
idon each response line.
Enums§
- Command
Type - Single-variant discriminator for
Command’stypefield. Always"command"on the wire. - Output
- One line of plugin output. Untagged outer enum — deserialization
tries each typed variant by its constant
type:"…"discriminator in source order and falls through toOutput::Notificationas a catch-all carrying the raw JSON value.