Skip to main content

Module context

Module context 

Source
Expand description

§Context Engine Plugin Discovery

Discovers and loads context engine plugins from ~/.edgecrab/plugins/context_engine/. Each plugin directory must contain a manifest.yaml with name, description, command, and args fields.

§Design Note

This module is intentionally kept trait-free: it only handles filesystem discovery and manifest parsing. The PluginContextEngine adapter (which actually implements ContextEngine) lives in edgecrab-core to avoid a circular dependency (edgecrab-pluginsedgecrab-coreedgecrab-plugins).

Structs§

ContextEngineManifest
Manifest data for a context engine plugin — command + args to spawn.

Functions§

discover_context_engines
Scan ~/.edgecrab/plugins/context_engine/ for available engines.
find_context_engine_manifest
Find and parse the manifest for a named context engine plugin.