The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
refactor(tools): import the child-notification policy at module level
yoniebans3e6f4e403cf2
diff --git a/tools/process_registry.py b/tools/process_registry.pyindex 851c73c5232..017df6a9504 100644--- a/tools/process_registry.py+++ b/tools/process_registry.py@@ -32,7 +32,7 @@ from typing import Any, Dict, List, Literal, NamedTuple, Optionalfrom hermes_cli.config import get_hermes_home-from tools.process_registry_notifications import format_process_notification+from tools.process_registry_notifications import format_process_notification, is_child_process_notification, should_surface_notificationfrom tools.process_registry_checkpoint import ProcessCheckpointMixinfrom tools.process_registry_termination import ProcessTerminationMixinfrom tools.process_registry_results import load_completed_results, save_completed_result@@ -1873,7 +1873,6 @@ class ProcessRegistry(ProcessTerminationMixin, ProcessCheckpointMixin):requeue: list[dict] = []# delegation.surface_child_process_notifications, read at most once per drain# and only when an sa- event shows up.- from tools.process_registry_notifications import is_child_process_notification, should_surface_notificationsurface_child: bool | None = Nonewhile not self.completion_queue.empty():try: