{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/SemanticExplorerRepository.php",
"limit": 30
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Infrastructure\/SemanticExplorerRepository.php",
"content": "<?php\n\nnamespace Infrastructure;\n\nuse Infrastructure\\Config\\DatabaseFactory;\n\n\/**\n * SemanticExplorerRepository - Database Access for Semantic Explorer\n *\n * Handles all database operations for documents, chunks, entities,\n * relations, taxonomy, ontology, and semantics.\n *\/\nclass SemanticExplorerRepository\n{\n private \\PDO $db;\n\n public function __construct()\n {\n $this->db = DatabaseFactory::content();\n }\n\n \/\/ =========================================================================\n \/\/ DOCUMENTS\n \/\/ =========================================================================\n\n public function getDocumentStats(): array\n {\n return $this->db->query(\n 'SELECT\n COUNT(*) as total,",
"numLines": 30,
"startLine": 1,
"totalLines": 798
}
}
}