Expand description
Runtime plugin discovery + load. Wraps
PluginRegistry::load_with_xdg plus the cold-start fast path.
Functions§
- load_
plugins - Discover + compile plugins from
cfg.plugin_dirsplus the XDG segments dir. ReturnsNonewhen neithercfg.plugin_dirsis configured nor an XDG segments directory exists on disk — cold-start fast path that skipsbuild_engineentirely. (Configured-but-missing entries incfg.plugin_dirstake theSomepath and surface as load errors on the registry.) Callers consumeregistry.load_errors()per their needs: the driver writes them to stderr; doctor classifies them across theplugins.compile/plugins.deps_valid/plugins.no_id_collisions/plugins.no_builtin_collisionscheck rows. - xdg_
segments_ dir $XDG_CONFIG_HOME/linesmith/segments/(with$HOMEfallback) per the cascade incrate::data_context::xdg::resolve_subdir.Nonewhen neither env var is populated.