{
"event": "PostToolUse",
"raw_data": {
"session_id": "18ef5bf3-e872-4052-897e-53d6dc45b0b9",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/18ef5bf3-e872-4052-897e-53d6dc45b0b9.jsonl",
"cwd": "\/var\/www\/dev.campus.systemische-tools.de",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Prompts\/ManagePromptsUseCase.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases\/Prompts\/ManagePromptsUseCase.php",
"content": "<?php\n\nnamespace UseCases\\Prompts;\n\nuse Infrastructure\\Persistence\\PromptsRepository;\n\nfinal class ManagePromptsUseCase\n{\n private PromptsRepository $promptsRepo;\n\n public function __construct(?PromptsRepository $promptsRepo = null)\n {\n $this->promptsRepo = $promptsRepo ?? new PromptsRepository();\n }\n\n public function getAll(): array\n {\n return array_map(\n fn (array $row) => PromptDTO::fromArray($row),\n $this->promptsRepo->findAll()\n );\n }\n\n public function getById(int $id): ?PromptDTO\n {",
"numLines": 25,
"startLine": 1,
"totalLines": 118
}
},
"tool_use_id": "toolu_01H79gVdFdNDh1B7Q8oeZXr9"
}
}