{
"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\/ModelRegistry.php",
"limit": 25
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/AI\/ModelRegistry.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Infrastructure\\AI;\n\nuse PDO;\n\n\/**\n * Central Model Registry - Single Source of Truth for AI Models.\n *\n * Reads available models from ki_dev.ai_models database table.\n * Replaces static ModelConfig arrays with dynamic database lookup.\n *\/\nfinal class ModelRegistry\n{\n private PDO $pdo;\n private static ?array $cache = null;\n private static ?self $instance = null;\n\n public function __construct(?PDO $pdo = null)\n {\n if ($pdo !== null) {\n $this->pdo = $pdo;\n } else {",
"numLines": 25,
"startLine": 1,
"totalLines": 323
}
},
"tool_use_id": "toolu_01HhofpzgKPrmn574dZ6GkgD"
}
}