{
"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\/scripts\/pipeline",
"permission_mode": "acceptEdits",
"hook_event_name": "PostToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/chat\/index.php",
"offset": 160,
"limit": 50
},
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/View\/chat\/index.php",
"content": " placeholder=\"Stelle eine Frage...\"\n autocomplete=\"off\"\n required>\n <button type=\"submit\" class=\"chat-submit-btn\">\n <span class=\"btn-text\">Senden<\/span>\n <span class=\"btn-loading\"><span><\/span><span><\/span><span><\/span><\/span>\n <\/button>\n <\/div>\n\n <div class=\"chat-options-row\">\n <?php $currentModel = $session['model'] ?? $defaultModel ?? 'claude-opus-4-5-20251101'; ?>\n <select name=\"model\">\n <optgroup label=\"Anthropic\">\n <?php foreach ($models ?? [] as $modelId => $modelLabel): ?>\n <?php if (!str_starts_with($modelId, 'ollama:')): ?>\n <option value=\"<?= htmlspecialchars($modelId) ?>\" <?= $currentModel === $modelId ? 'selected' : '' ?>><?= htmlspecialchars($modelLabel) ?><\/option>\n <?php endif; ?>\n <?php endforeach; ?>\n <\/optgroup>\n <optgroup label=\"Ollama (lokal)\">\n <?php foreach ($models ?? [] as $modelId => $modelLabel): ?>\n <?php if (str_starts_with($modelId, 'ollama:')): ?>\n <option value=\"<?= htmlspecialchars($modelId) ?>\" <?= $currentModel === $modelId ? 'selected' : '' ?>><?= htmlspecialchars($modelLabel) ?><\/option>\n <?php endif; ?>\n <?php endforeach; ?>\n <\/optgroup>\n <\/select>\n <?php\n $selected = json_decode($session['collections'] ?? '[\"documents\"]', true) ?: ['documents'];\n$variant = 'checkbox';\ninclude __DIR__ . '\/..\/partials\/form\/collections-select.php';\n?>\n <select name=\"context_limit\">\n <?php $currentLimit = (int) ($session['context_limit'] ?? 5); ?>\n <option value=\"3\" <?= $currentLimit === 3 ? 'selected' : '' ?>>3 Quellen<\/option>\n <option value=\"5\" <?= $currentLimit === 5 ? 'selected' : '' ?>>5 Quellen<\/option>\n <option value=\"10\" <?= $currentLimit === 10 ? 'selected' : '' ?>>10 Quellen<\/option>\n <option value=\"15\" <?= $currentLimit === 15 ? 'selected' : '' ?>>15 Quellen<\/option>\n <\/select>\n <select name=\"author_profile_id\">\n <?php $currentProfileId = (int) ($session['author_profile_id'] ?? 0); ?>\n <option value=\"0\" <?= $currentProfileId === 0 ? 'selected' : '' ?>>Kein Profil<\/option>\n <?php foreach ($authorProfiles ?? [] as $profile): ?>\n <option value=\"<?= $profile['id'] ?>\" <?= $currentProfileId === (int) $profile['id'] ? 'selected' : '' ?>><?= htmlspecialchars($profile['name']) ?><\/option>\n <?php endforeach; ?>\n <\/select>\n <select name=\"system_prompt_id\">\n <?php $currentPromptId = (int) ($session['system_prompt_id'] ?? 1); ?>\n <?php foreach ($systemPrompts ?? [] as $prompt): ?>\n <option value=\"<?= $prompt['id'] ?>\" <?= $currentPromptId === (int) $prompt['id'] ? 'selected' : '' ?>><?= htmlspecialchars($prompt['name']) ?><\/option>",
"numLines": 50,
"startLine": 160,
"totalLines": 473
}
},
"tool_use_id": "toolu_019mxQjTEY5F7XHVUHbyBrA9"
}
}