Files
hermes-agent/tests
Teknium 75ccc2eaaf fix(plugins): load a platform plugin's new dependencies without a restart; no false catalog notice
A platform plugin whose Python dependencies are new (Feishu: lark-oapi) lands them in a new PM
dependency generation. The gateway that installed it at start, or saw it installed while running
(Desktop / dashboard save, `hermes plugins install`), kept importing its boot generation: discovery
logged "restart Hermes" and the adapter failed with "lark-oapi is not installed" until a restart.

PM already adopts a published generation in place when nothing the process imported would change
(pm.environments_adopt.adopt / adopt_selected, used by pm.extras.ensure_import). Plugin discovery and
the platform dependency probe (PlatformRegistry.ensure_deps) now use it through one helper,
pm.environments_adopt.adopt_published; when PM refuses (a loaded package would change) the restart
remedy stays, unchanged.

catalog_platforms.pending_entries no longer names an entry whose required env a platform plugin the
home already has also requires (the community hermes-tag overrides Feishu with the same FEISHU_*), so
a working Feishu user is not told on every start that a plugin they do not need is missing.
2026-11-26 00:33:17 -08:00
..
…