{
"event": "PreToolUse",
"tool_name": "Read",
"tool_input": {
"file_path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/PromptsController.php",
"limit": 40
}
}
{
"tool_response": {
"type": "text",
"file": {
"filePath": "\/var\/www\/dev.campus.systemische-tools.de\/src\/Controller\/ConfigController.php",
"content": "<?php\n\ndeclare(strict_types=1);\n\nnamespace Controller;\n\n\/\/ @responsibility: HTTP-Endpunkte für Content-Konfiguration (Profile, Strukturen, Contracts)\n\nuse Framework\\Controller;\nuse UseCases\\Config\\ManageConfigUseCase;\n\nclass ConfigController extends Controller\n{\n private ManageConfigUseCase $configUseCase;\n\n private const TYPES = ['author_profile', 'structure', 'organization', 'contract', 'rule', 'system_prompt'];\n private const TYPE_LABELS = [\n 'author_profile' => 'Autorenprofil',\n 'structure' => 'Struktur',\n 'organization' => 'Organisation',\n 'contract' => 'Contract',\n 'rule' => 'Regel',\n 'system_prompt' => 'System-Prompt',\n ];\n\n public function __construct(?ManageConfigUseCase $configUseCase = null)\n {\n $this->configUseCase = $configUseCase ?? new ManageConfigUseCase();\n }\n\n public function index(): void\n {\n $typeFilter = $this->getString('type');\n $statusFilter = $this->getString('status');\n\n $this->view('config.index', [\n 'title' => 'Content-Konfiguration',\n 'configs' => array_map(fn ($dto) => $dto->toArray(), $this->configUseCase->getAll($typeFilter, $statusFilter)),\n 'stats' => $this->configUseCase->getStatistics(),\n 'types' => self::TYPES,",
"numLines": 40,
"startLine": 1,
"totalLines": 162
}
}
}