{
"event": "PreToolUse",
"tool_name": "Bash",
"tool_input": {
"command": "grep -rn \"new .*Repository\\|new .*Service\" UseCases\/ 2>\/dev\/null | grep -v \"\/\/ \" | head -30",
"description": "Find all direct instantiations in UseCases"
}
}
{
"tool_response": {
"stdout": "UseCases\/Docs\/DocumentationChatUseCase.php:21: $this->syncService = $syncService ?? new ChunkSyncService();\nUseCases\/Docs\/DocumentationChatUseCase.php:22: $this->ollamaService = $ollamaService ?? new OllamaService();\nUseCases\/Protokoll\/ViewProtokollUseCase.php:18: $this->protokollRepo = $protokollRepo ?? new KiProtokollRepository();\nUseCases\/Task\/DeleteTaskUseCase.php:17: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/AssignTaskUseCase.php:27: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/AssignTaskUseCase.php:28: $this->assignmentRepository = $assignmentRepository ?? new TaskAssignmentRepository();\nUseCases\/Task\/AssignTaskUseCase.php:29: $this->commentRepository = $commentRepository ?? new TaskCommentRepository();\nUseCases\/Task\/CreateTaskUseCase.php:23: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/CreateTaskUseCase.php:24: $this->commentRepository = $commentRepository ?? new TaskCommentRepository();\nUseCases\/Task\/SaveTaskResultUseCase.php:27: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/SaveTaskResultUseCase.php:28: $this->resultRepository = $resultRepository ?? new TaskResultRepository();\nUseCases\/Task\/SaveTaskResultUseCase.php:29: $this->commentRepository = $commentRepository ?? new TaskCommentRepository();\nUseCases\/Task\/GetTasksUseCase.php:25: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/GetTasksUseCase.php:26: $this->assignmentRepository = $assignmentRepository ?? new TaskAssignmentRepository();\nUseCases\/Task\/GetTasksUseCase.php:27: $this->resultRepository = $resultRepository ?? new TaskResultRepository();\nUseCases\/Task\/UpdateTaskStatusUseCase.php:24: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Task\/UpdateTaskStatusUseCase.php:25: $this->commentRepository = $commentRepository ?? new TaskCommentRepository();\nUseCases\/Task\/ExecuteAITaskUseCase.php:30: $this->taskRepository = $taskRepository ?? new TaskRepository();\nUseCases\/Config\/ManageConfigUseCase.php:20: $this->configRepo = $configRepo ?? new ContentConfigRepository();\nUseCases\/Pipeline\/UpdatePipelineConfigUseCase.php:18: $this->repository = $repository ?? new PipelineRepository();\nUseCases\/Pipeline\/PipelineRunStatusUseCase.php:17: $this->repository = $repository ?? new PipelineRepository();\nUseCases\/Pipeline\/RunPipelineUseCase.php:21: $this->repository = $repository ?? new PipelineRepository();\nUseCases\/Critics\/ManageCriticsUseCase.php:17: $this->criticsRepo = $criticsRepo ?? new CriticsRepository();\nUseCases\/Prompts\/ManagePromptsUseCase.php:17: $this->promptsRepo = $promptsRepo ?? new PromptsRepository();\nUseCases\/Chat\/ManageChatSessionsUseCase.php:32: $this->sessionRepo = $sessionRepo ?? new ChatSessionRepository();\nUseCases\/Chat\/ManageChatSessionsUseCase.php:33: $this->messageRepo = $messageRepo ?? new ChatMessageRepository();\nUseCases\/Chat\/ManageChatSessionsUseCase.php:34: $this->configRepo = $configRepo ?? new ContentConfigRepository();\nUseCases\/Chat\/ManageChatSessionsUseCase.php:35: $this->collectionRepo = $collectionRepo ?? new CollectionRepository();\nUseCases\/Chat\/LoadChatSessionUseCase.php:21: $this->sessionRepo = $sessionRepo ?? new ChatSessionRepository();\nUseCases\/Chat\/LoadChatSessionUseCase.php:22: $this->messageRepo = $messageRepo ?? new ChatMessageRepository();",
"stderr": "",
"interrupted": false,
"isImage": false
}
}