{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentPipelineController.php",
"offset": 247,
"limit": 30
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ContentPipelineController.php",
"content": " \/**\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');",
"numLines": 30,
"startLine": 247,
"totalLines": 366
}
}
}