Expand description
Sidecar lifecycle and IO.
SidecarManager spawns a sidecar process, writes line-JSON
SidecarCommand values to its stdin, and surfaces the
deserialized SidecarFrame stream as higher-level
SidecarLifecycleEvent values on an mpsc channel.
Modality-agnostic. Plugin-specific work lives in the plugin process;
this module is intentionally small and dependency-free beyond tokio
and serde_json.
Structs§
- Sidecar
Manager - Supervises one sidecar process and its line-JSON streams.
Enums§
- Sidecar
Error - Errors surfaced by the manager.
- Sidecar
Lifecycle Event - High-level events emitted by the manager. This is a curated subset
of
SidecarFrametailored for chatui consumers; plugin-specific frames that are not actionable by core are dropped.