{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php",
"offset": 227,
"limit": 15
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ChatController.php",
"content": " \/\/ Set progress callback\n $this->streamingUseCase->setProgressCallback(function (string $step, string $message, ?int $durationMs) {\n $timestamp = (new \\DateTime())->format('H:i:s.v');\n $data = [\n 'ts' => $timestamp,\n 'step' => $step,\n 'msg' => $message,\n 'ms' => $durationMs,\n ];\n echo \"event: progress\\n\";\n echo 'data: ' . json_encode($data, JSON_UNESCAPED_UNICODE) . \"\\n\\n\";\n @ob_flush();\n flush();\n });\n",
"numLines": 15,
"startLine": 227,
"totalLines": 380
}
}
}