{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php",
"offset": 285,
"limit": 25
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php",
"content": " }\n\n private function sseError(string $message): void\n {\n header('Content-Type: text\/event-stream');\n header('Cache-Control: no-cache, no-store, must-revalidate');\n while (ob_get_level()) {\n ob_end_clean();\n }\n $errorData = ['error' => $message];\n echo \"event: error\\n\";\n echo 'data: ' . json_encode($errorData, JSON_UNESCAPED_UNICODE) . \"\\n\\n\";\n @ob_flush();\n flush();\n }\n\n public function updateTitle(string $uuid): void\n {\n $session = $this->getSessionUseCase->getSession($uuid);\n\n if ($session === null) {\n $this->notFound('Session nicht gefunden');\n }\n\n $title = $this->updateSessionUseCase->updateTitle($session->getId() ?? 0, $_POST['title'] ?? '');",
"numLines": 25,
"startLine": 285,
"totalLines": 382
}
}
}