{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/SemanticSearchRepositoryInterface.php"
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Domain\/Repository\/SemanticSearchRepositoryInterface.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Domain\\Repository;\n\n\/\/ @responsibility: Interface für Semantik-Suche und Graph-Daten\n\ninterface SemanticSearchRepositoryInterface\n{\n \/**\n * Holt Gesamtstatistiken über Entitäten, Relationen, Taxonomie, Ontologie, Semantik.\n *\n * @return array{entities: int, relations: int, taxonomy: int, ontology: int, semantics: int}\n *\/\n public function getSemanticStats(): array;\n\n \/**\n * Holt Entitäten mit Bedeutungen\/Beschreibungen (gefiltert).\n *\n * @return array<int, array{id: int, name: string, type: string, description: ?string, chunk_id: ?int, chunk_index: ?int, document_id: ?int, filename: ?string}>\n *\/\n public function findEntitySemantics(string $search = '', string $type = '', int $limit = 50, int $offset = 0): array;\n\n \/**\n * Zählt Entitäten mit Bedeutungen (gefiltert).\n *\/\n public function countEntitySemantics(string $search = '', string $type = ''): int;\n\n \/**\n * Holt Graph-Daten für D3.js Visualisierung.\n *\n * @return array{nodes: array, links: array, stats: array}\n *\/\n public function getGraphData(): array;\n\n \/**\n * Holt Text-Semantik Statistiken für Dashboard.\n *\n * @return array{analyzed: int, total: int, coverage: float, by_statement_form: array, by_intent: array}\n *\/\n public function getTextSemanticStats(): array;\n\n \/**\n * Holt Knowledge-Semantik Statistiken für Dashboard.\n *\n * @return array{analyzed: int, total: int, coverage: float, by_semantic_role: array, by_functional_category: array}\n *\/\n public function getKnowledgeSemanticStats(): array;\n}\n",
"numLines": 51,
"startLine": 1,
"totalLines": 51
}
}
}