{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentPipelineController.php",
"offset": 225,
"limit": 60
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentPipelineController.php",
"content": " 'title' => 'Pipeline Status: ' . $pipeline['name'],\n 'pipeline' => $pipeline,\n 'run' => $run,\n ]);\n }\n\n \/**\n * GET \/content-pipeline\/{id}\/run\/{runId}\/poll (AJAX\/HTMX)\n *\/\n public function runStatusPoll(string $id, string $runId): void\n {\n $result = $this->statusUseCase->execute((int) $id, (int) $runId);\n\n if (!$result['success']) {\n $this->json(['error' => $result['error']], 404);\n\n return;\n }\n\n $this->json($result['data']);\n }\n\n \/**\n * POST \/content-pipeline\/{id}\/run\/{runId}\/cancel\n *\/\n public function runCancel(string $id, string $runId): void\n {\n $this->requireCsrf();\n\n $result = $this->runUseCase->cancel((int) $id, (int) $runId);\n\n if (!$result['success']) {\n if ($result['error'] === 'Run nicht gefunden') {\n $this->notFound($result['error']);\n }\n $_SESSION['error'] = $result['error'];\n } else {\n $_SESSION['success'] = 'Pipeline-Run wurde abgebrochen.';\n }\n\n $this->redirect('\/content-pipeline\/' . $id . '\/run\/' . $runId . '\/status');\n }\n\n \/**\n * POST \/content-pipeline\/{id}\/steps\/{stepId}\/toggle\n *\/\n public function toggleStep(string $id, string $stepId): void\n {\n $this->requireCsrf();\n\n if (!$this->stepService->toggleStep((int) $id, (int) $stepId)) {\n $this->notFound('Pipeline oder Schritt nicht gefunden');\n }\n\n $this->redirect('\/content-pipeline\/' . $id);\n }\n\n \/**\n * POST \/content-pipeline\/{id}\/steps\/{stepId}\/model (HTMX)\n *\/",
"numLines": 60,
"startLine": 225,
"totalLines": 366
}
}
}