Expand description
Discover a sidecar from loaded plugin manifests.
Walks the loaded plugin set and returns the first plugin that declares a sidecar binary in its manifest. Synaps CLI today supports at most one active sidecar per session.
The command field from the manifest is resolved to an absolute
path: relative paths are joined to the plugin root.
§Manifest schema
Plugins declare a sidecar via provides.sidecar in their plugin
manifest.
Structs§
- Discovered
Sidecar - A discovered sidecar, resolved against its plugin root and ready to
be spawned by
crate::sidecar::manager::SidecarManager.
Functions§
- discover
- Discover by walking the default plugin roots — a thin wrapper
around
crate::skills::loader::load_allfor callers that don’t already hold the plugin set. - discover_
all - Discover every sidecar by walking the default plugin roots.
- discover_
all_ in - Discover every sidecar declared by any plugin in
plugins. - discover_
in - Discover the first sidecar declared by any plugin in
plugins.