Skip to main content

Module sidecar

Module sidecar 

Source
Expand description

Sidecar plugin support: long-running plugin processes that stream events into the host over a JSONL line protocol.

This module is plugin-agnostic. It hosts whatever a plugin declares itself to be, as long as that plugin fits the sidecar line-protocol contract.

It owns:

  • The line-JSON sidecar protocol types (see protocol).
  • Sidecar process lifecycle and supervision (see manager).
  • Plugin discovery for sidecar binaries (see discovery).

Capability metadata (display name, kind, permissions, params) is declared via the generic capability contract โ€” see crate::extensions::runtime::process::CapabilityDeclaration.

Modulesยง

discovery
Discover a sidecar from loaded plugin manifests.
manager
Sidecar lifecycle and IO.
protocol
Sidecar protocol types โ€” line-JSON over stdio.
spawn
Plugin-supplied sidecar spawn parameters.