Files
hermes-agent/plugins/context_engine
unsupportedpastels 482bf3b351 fix(plugins): listing context engines and cron schedulers no longer runs plugins that are not turned on
Opening the Context Engine category in `hermes plugins`, the dashboard's
context-engine options, or any caller of discover_context_engines() /
discover_cron_schedulers() imported every user plugin whose __init__.py
mentioned the contract, to read its availability. A plugin that was only
installed, or that plugins.disabled lists, ran its code just by being
listed.

Now a user plugin directory is imported for a listing only when the
operator turned it on: it is the one context.engine / cron.provider
selects, or plugins.enabled names it under any of its spellings, and
plugins.disabled does not. Every other one is still listed, with its
name and manifest description, as not available. Selecting it by name
keeps working and loads it on the existing select path. Bundled
providers list exactly as before. config.yaml is read once per listing.
2026-11-23 11:44:18 -05:00
..