The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(plugins): keep late activation dependency-passive
ethernet2761a55f1b47
diff --git a/plugins/platforms/slack/adapter.py b/plugins/platforms/slack/adapter.pyindex e9955ae3ebc..54579f9ccce 100644--- a/plugins/platforms/slack/adapter.py+++ b/plugins/platforms/slack/adapter.py@@ -13,13 +13,14 @@ import unicodedatafrom dataclasses import dataclass, fieldfrom typing import Awaitable, Callable, ClassVar, Dict, Optional, Any, Tuple, List-import aiohttp-+aiohttp: Any = Nonetry:+ import aiohttp as _aiohttpfrom slack_bolt.async_app import AsyncAppfrom slack_bolt.adapter.socket_mode.async_handler import AsyncSocketModeHandlerfrom slack_sdk.web.async_client import AsyncWebClient+ aiohttp = _aiohttpSLACK_AVAILABLE = Trueexcept ImportError:SLACK_AVAILABLE = Falsediff --git a/tests/tui_gateway/test_plugins_manage_late_activation.py b/tests/tui_gateway/test_plugins_manage_late_activation.pyindex 83ed5eb51a6..8341c92457a 100644--- a/tests/tui_gateway/test_plugins_manage_late_activation.py+++ b/tests/tui_gateway/test_plugins_manage_late_activation.py@@ -39,7 +39,7 @@ def test_plugins_manage_install_rescans_fires_on_plugin_loaded_and_exposes_mcp_sevents: list = []manager.on_plugin_loaded(events.append)with patch("hermes_cli.plugins_cmd._install_plugin_core", _fake_install_core), \- patch("hermes_cli.plugins_cmd._install_python_dependencies_quietly", return_value=[]), \+ patch("hermes_cli.plugins_cmd._python_dependency_summary", return_value=[]), \patch("gateway.control_socket.reload_gateway_plugins", return_value=None): # no gateway runningresp = server.handle_request({"id": "1", "method": "plugins.manage","params": {"action": "install", "repo": "owner/late-mcp", "enable": True}})