Skip to content

The agent that grows with you

Merge branch 'main' into chore/relay-0.9

Alex Fournier440fe3ff241a
diff --cc hermes_cli/plugins.py
index 82f0cd0bfbd,464f6ee9f9d..ba758e57ede
--- a/hermes_cli/plugins.py
+++ b/hermes_cli/plugins.py
@@@ -1330,12 -1371,12 +1371,13 @@@ class PluginManager(PluginLoaderMixin,
stale_relay_keys = legacy_relay_plugin_keys(enabled)
if stale_relay_keys:
logger.warning("Removed Hermes plugin %s is still listed in plugins.enabled; "
- "remove it and configure native Relay plugins with %s",
+ "remove it and configure a standard user or system Relay plugins.toml, or use %s "
+ "for an explicit user-file override",
", ".join(stale_relay_keys), RELAY_PLUGINS_CONFIG_ENV)
- # Later sources win on key collision (project > user > bundled); gate the winners, then
+ # Later sources win on key collision (project > user > bundled) except a flat impostor claiming a
+ # bundled key from another directory (resolve_manifest_winners); gate the winners, then
# load survivors in requires_plugins order (see resolve_plugin_load_order).
- winners = {manifest_key(m): m for m in manifests}
+ winners = resolve_manifest_winners(manifests)
to_load = {k: m for k, m in winners.items() if self._gate_manifest(m, disabled, enabled)}
for lookup_key in resolve_plugin_load_order(to_load):
manifest = to_load[lookup_key]
diff --cc hermes_cli/update_cmd_maint.py
index 0386c4319d7,048942af38a..0ebd608204e
--- a/hermes_cli/update_cmd_maint.py
+++ b/hermes_cli/update_cmd_maint.py
@@@ -923,11 -923,8 +923,8 @@@ def _print_post_update_notices_and_self
('cua-driver refresh failed: %s', _refresh_cua_driver_after_update),
('Checkpoint footprint notice failed: %s', _print_checkpoint_footprint_notice),
('Plugin compat notice failed: %s', _print_plugin_compat_notice),
- # Named profiles stopped inheriting the root auth.json (#111724): name every profile that
- # now has no provider of its own so nobody finds out from a dead bot.
- ('Profile credential notice failed: %s', _print_profiles_without_credentials_notice),
- # Legacy HERMES_NEMO_RELAY_ATIF_*/ATOF_* vars produce no traces since the Relay cutover;
- # generate each profile's relay-plugins.toml instead of leaving exports silently dead.
+ # Relay ignores legacy HERMES_NEMO_RELAY_ATIF_*/ATOF_* vars; migrate each profile to
+ # relay-plugins.toml so those exporter settings remain effective.
('Relay exporter migration failed: %s', _migrate_relay_exporter_env),
):
with _best_effort(message):