diff --git a/adapter.py b/adapter.py index e0f6c78..688b61b 100644 --- a/adapter.py +++ b/adapter.py @@ -77,7 +77,7 @@ class GeminiCLIAdapter(BaseAdapter): Also seeds GEMINI.md from system-prompt.md if GEMINI.md is absent, so the agent has role context on first boot. """ - from executor_helpers import get_mcp_server_path + from molecule_runtime.executor_helpers import get_mcp_server_path # -- MCP wiring -------------------------------------------------- gemini_dir = Path.home() / ".gemini" @@ -116,7 +116,7 @@ class GeminiCLIAdapter(BaseAdapter): async def create_executor(self, config: AdapterConfig) -> AgentExecutor: from cli_executor import CLIAgentExecutor - from config import RuntimeConfig + from molecule_runtime.config import RuntimeConfig rc = config.runtime_config if isinstance(rc, dict): @@ -139,3 +139,6 @@ class GeminiCLIAdapter(BaseAdapter): config_path=config.config_path, heartbeat=config.heartbeat, ) + + +Adapter = GeminiCLIAdapter diff --git a/cli_executor.py b/cli_executor.py index 0396c61..f5ceadd 100644 --- a/cli_executor.py +++ b/cli_executor.py @@ -38,8 +38,8 @@ from a2a.server.events import EventQueue # KI-009: a2a-sdk v1 renames a2a.utils → a2a.helpers from a2a.helpers import new_agent_text_message -from config import RuntimeConfig -from executor_helpers import ( +from molecule_runtime.config import RuntimeConfig +from molecule_runtime.executor_helpers import ( CONFIG_MOUNT, MEMORY_CONTENT_MAX_CHARS, WORKSPACE_MOUNT,