Skip to main content

Module plugins

Module plugins 

Source
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 id on each response line.

Enums§

CommandType
Single-variant discriminator for Command’s type field. 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 to Output::Notification as a catch-all carrying the raw JSON value.