{
"event": "PostToolUse",
"raw_data": {
"session_id": "f0f145c4-ac1d-417a-b15b-271983ae648b",
"transcript_path": "\/root\/.claude\/projects\/-var-www\/f0f145c4-ac1d-417a-b15b-271983ae648b.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\/Domain\/ValueObject\/MessageRole.php"
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/ValueObject\/MessageRole.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\ValueObject;\n\n\/\/ @responsibility: Chat-Message-Rolle (user\/assistant\/system)\n\nenum MessageRole: string\n{\n case USER = 'user';\n case ASSISTANT = 'assistant';\n case SYSTEM = 'system';\n\n \/**\n * Get human-readable label.\n *\/\n public function label(): string\n {\n return match ($this) {\n self::USER => 'Benutzer',\n self::ASSISTANT => 'Assistent',\n self::SYSTEM => 'System',\n };\n }\n\n \/**\n * Check if this is a user message.\n *\/\n public function isUser(): bool\n {\n return $this === self::USER;\n }\n\n \/**\n * Check if this is an assistant response.\n *\/\n public function isAssistant(): bool\n {\n return $this === self::ASSISTANT;\n }\n\n \/**\n * Check if this is a system prompt.\n *\/\n public function isSystem(): bool\n {\n return $this === self::SYSTEM;\n }\n}\n",
"numLines": 51,
"startLine": 1,
"totalLines": 51
}
},
"tool_use_id": "toolu_01ECWtrduzye88x1prd4MLvs"
}
}