Expand description
Plugin interactive command (/command) output event types and parser.
Phase B Phase 2 contract — see
docs/plans/2026-05-03-extension-contracts-for-rich-plugins.md.
Wire shape (command.output JSON-RPC notification params):
{
"request_id": "abc-123",
"event": { "kind": "text"|"system"|"error"|"table"|"done", ... }
}Synaps subscribes to command.output notifications matching the
caller-issued request_id after invoking command.invoke.
Structs§
- Command
Output Frame - Parsed
command.outputnotification frame.
Enums§
- Command
Output Event - A single structured event emitted by an interactive plugin command.
Functions§
- parse_
command_ output - Parse a
command.outputJSON-RPC notification’sparams. - parse_
command_ output_ event - Parse just the
eventpayload ({"kind": "...", ...}).