feat: implement NotificationReaderAgent to pre-screen Gitea notifications (#2)

This commit was merged in pull request #2.
This commit is contained in:
2026-06-30 22:01:07 +02:00
parent 287d20bc56
commit 9b72e20d5a
7 changed files with 288 additions and 2 deletions
+7
View File
@@ -11,6 +11,7 @@ from core.coding_agent import CodingAgent
from core.agent import CavemanAgent
from core.coordinator_agent import CoordinatorAgent
from core.planning_agent import PlanningAgent
from core.notification_agent import NotificationReaderAgent
from gitea.workspace import WorkspaceManager
logger: logging.Logger = logging.getLogger("core-factory")
@@ -77,6 +78,12 @@ class AgentFactory:
logger.info(f"Factory creating PlanningAgent with model: {model_name}")
return PlanningAgent(model_name)
@staticmethod
def create_notification_reader_agent(model_name: str) -> NotificationReaderAgent:
logger.info(f"Factory creating NotificationReaderAgent with model: {model_name}")
return NotificationReaderAgent(model_name)
class WorkspaceFactory:
"""Factory for creating workspace manager instances."""