{
"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\/src",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/AI\/ModelConfig.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/AI\/ModelConfig.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Infrastructure\\AI;\n\n\/**\n * Central configuration for available AI models.\n * Used by Chat, Content Studio, and other AI-powered features.\n *\n * NOW READS FROM DATABASE via ModelRegistry (Single Source of Truth).\n * Legacy static interface preserved for backward compatibility.\n *\/\nfinal class ModelConfig\n{\n \/**\n * Get all available chat models.\n *\n * @return array<string, string> [model_key => display_name]\n *\/\n public static function getAll(): array\n {\n return ModelRegistry::getInstance()->getChatModels();\n }\n",
"numLines": 25,
"startLine": 1,
"totalLines": 111
}
},
"tool_use_id": "toolu_012uu2Hu5vpyWYdFewrmFPHL"
}
}