{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/semantic-explorer\/entitaeten\/index.php"
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/semantic-explorer\/entitaeten\/index.php",
"content": "<?php ob_start(); ?>\n\n<nav class=\"breadcrumb\">\n <a href=\"\/\">Home<\/a> » <a href=\"\/explorer\">Explorer<\/a> » <a href=\"\/semantic-explorer\">Semantic Explorer<\/a> » Entitaeten\n<\/nav>\n\n<h1>Entitaeten<\/h1>\n<p>Extrahierte Personen, Organisationen, Konzepte und mehr.<\/p>\n\n<div class=\"stats-grid\">\n <?php foreach ($stats as $s): ?>\n <div class=\"stat-card\">\n <span class=\"stat-card__value\"><?= $s['count'] ?><\/span>\n <span class=\"stat-card__label\"><?= htmlspecialchars($s['type']) ?><\/span>\n <\/div>\n <?php endforeach; ?>\n<\/div>\n\n<form method=\"get\" class=\"filter-form\">\n <input type=\"text\" name=\"search\" value=\"<?= htmlspecialchars($currentSearch) ?>\" placeholder=\"Suchen...\">\n <select name=\"type\">\n <option value=\"\">Alle Typen<\/option>\n <option value=\"PERSON\" <?= $currentType === 'PERSON' ? 'selected' : '' ?>>Person<\/option>\n <option value=\"ORGANIZATION\" <?= $currentType === 'ORGANIZATION' ? 'selected' : '' ?>>Organisation<\/option>\n <option value=\"LOCATION\" <?= $currentType === 'LOCATION' ? 'selected' : '' ?>>Ort<\/option>\n <option value=\"CONCEPT\" <?= $currentType === 'CONCEPT' ? 'selected' : '' ?>>Konzept<\/option>\n <option value=\"METHOD\" <?= $currentType === 'METHOD' ? 'selected' : '' ?>>Methode<\/option>\n <option value=\"TOOL\" <?= $currentType === 'TOOL' ? 'selected' : '' ?>>Tool<\/option>\n <option value=\"EVENT\" <?= $currentType === 'EVENT' ? 'selected' : '' ?>>Event<\/option>\n <option value=\"OTHER\" <?= $currentType === 'OTHER' ? 'selected' : '' ?>>Sonstige<\/option>\n <\/select>\n <button type=\"submit\" class=\"btn btn--primary\">Filtern<\/button>\n <?php if ($currentSearch || $currentType): ?>\n <a href=\"\/semantic-explorer\/entitaeten\" class=\"btn\">Reset<\/a>\n <?php endif; ?>\n<\/form>\n\n<?php if (!empty($entities)): ?>\n<table data-sortable>\n <thead>\n <tr>\n <th data-sort=\"name\">Name<\/th>\n <th data-sort=\"type\">Typ<\/th>\n <th data-sort=\"chunk_count\">Chunks<\/th>\n <th data-sort=\"relation_count\">Relationen<\/th>\n <th data-sort=\"description\">Beschreibung<\/th>\n <\/tr>\n <\/thead>\n <tbody>\n <?php foreach ($entities as $e): ?>\n <tr>\n <td><a href=\"\/semantic-explorer\/entitaeten\/<?= $e['id'] ?>\"><?= htmlspecialchars($e['name']) ?><\/a><\/td>\n <td><span class=\"badge\"><?= htmlspecialchars($e['type']) ?><\/span><\/td>\n <td><?= $e['chunk_count'] ?><\/td>\n <td><?= $e['relation_count'] ?><\/td>\n <td><?= htmlspecialchars(substr($e['description'] ?? '', 0, 80)) ?><?= strlen($e['description'] ?? '') > 80 ? '...' : '' ?><\/td>\n <\/tr>\n <?php endforeach; ?>\n <\/tbody>\n<\/table>\n<?php else: ?>\n<p>Keine Entitaeten gefunden. Fuehren Sie die semantische Analyse aus.<\/p>\n<?php endif; ?>\n\n<p class=\"links-bar\">\n <a href=\"\/semantic-explorer\">Zurueck zum Explorer<\/a> |\n <a href=\"\/semantic-explorer\/relationen\">Relationen<\/a>\n<\/p>\n\n<?php $content = ob_get_clean(); ?>\n<?php require VIEW_PATH . '\/layout.php'; ?>\n",
"numLines": 72,
"startLine": 1,
"totalLines": 72
}
}
}