{
"event": "PreToolUse",
"tool_name": "Grep",
"tool_input": {
"pattern": "Constants::",
"path": "\/var\/www\/dev.campus.systemische-tools.de\/src\/UseCases",
"output_mode": "content",
"-n": true
}
}
{
"tool_response": {
"mode": "content",
"numFiles": 0,
"filenames": [],
"content": "src\/UseCases\/CodeAnalysis\/GetCodeAnalysisUseCase.php:27: public function execute(array $filters = [], int $limit = Constants::DEFAULT_LIMIT, int $offset = 0): array\nsrc\/UseCases\/Command\/CreatePromptCommand.php:45: if (mb_strlen($this->name) > Constants::NAME_MAX_LENGTH) {\nsrc\/UseCases\/Command\/CreatePromptCommand.php:46: $errors[] = 'Name darf maximal ' . Constants::NAME_MAX_LENGTH . ' Zeichen lang sein.';\nsrc\/UseCases\/Command\/SendChatMessageCommand.php:75: if ($this->maxTokens < Constants::MIN_TOKENS || $this->maxTokens > Constants::MAX_TOKENS) {\nsrc\/UseCases\/Command\/SendChatMessageCommand.php:76: $errors[] = 'Max-Tokens muss zwischen ' . Constants::MIN_TOKENS . ' und ' . Constants::MAX_TOKENS . ' liegen.';\nsrc\/UseCases\/Command\/UpdatePromptCommand.php:51: if (mb_strlen($this->name) > Constants::NAME_MAX_LENGTH) {\nsrc\/UseCases\/Command\/UpdatePromptCommand.php:52: $errors[] = 'Name darf maximal ' . Constants::NAME_MAX_LENGTH . ' Zeichen lang sein.';\nsrc\/UseCases\/Command\/UpdateCriticCommand.php:53: if (mb_strlen($this->name) > Constants::NAME_MAX_LENGTH) {\nsrc\/UseCases\/Command\/UpdateCriticCommand.php:54: $errors[] = 'Name darf maximal ' . Constants::NAME_MAX_LENGTH . ' Zeichen lang sein.';\nsrc\/UseCases\/Command\/CreateCriticCommand.php:47: if (mb_strlen($this->name) > Constants::NAME_MAX_LENGTH) {\nsrc\/UseCases\/Command\/CreateCriticCommand.php:48: $errors[] = 'Name darf maximal ' . Constants::NAME_MAX_LENGTH . ' Zeichen lang sein.';\nsrc\/UseCases\/Pipeline\/PipelineRunStatusUseCase.php:50: $progress = $total > 0 ? min(Constants::PERCENT_FULL, round(($processed \/ $total) * Constants::PERCENT_FULL)) : 0;\nsrc\/UseCases\/Pipeline\/PipelineRunStatusUseCase.php:58: $isStalled = (time() - $lastUpdate) > Constants::SECONDS_PER_MINUTE && $run['status'] === 'running';\nsrc\/UseCases\/Taxonomy\/AssignEntityTaxonomyUseCase.php:79: $mappings = $this->entityTaxonomyRepository->getUnvalidatedMappings(Constants::BATCH_LIMIT);\nsrc\/UseCases\/Taxonomy\/GetTaxonomyOverviewUseCase.php:53: public function getUnmappedChunks(int $limit = Constants::DEFAULT_LIMIT): array\nsrc\/UseCases\/Taxonomy\/GetTaxonomyOverviewUseCase.php:63: public function getUnvalidatedEntityMappings(int $limit = Constants::DEFAULT_LIMIT): array\nsrc\/UseCases\/Taxonomy\/GetTaxonomyOverviewUseCase.php:140: $percentage = $total > 0 ? round(($mappedChunks \/ $total) * Constants::PERCENT_FULL, 2) : 100.0;\nsrc\/UseCases\/Chat\/UpdateChatSessionUseCase.php:37: $title = mb_substr($title, 0, Constants::NAME_MAX_LENGTH);\nsrc\/UseCases\/Chat\/StreamingChatMessageUseCase.php:62: $durationMs = (int) round((microtime(true) - $this->stepStart) * Constants::MS_PER_SECOND);\nsrc\/UseCases\/Chat\/StreamingChatMessageUseCase.php:226: $llmDuration = (int) round((microtime(true) - $llmStart) * Constants::MS_PER_SECOND);\nsrc\/UseCases\/Chat\/StreamingChatMessageUseCase.php:284: $totalDuration = (int) round((microtime(true) - $totalStart) * Constants::MS_PER_SECOND);\nsrc\/UseCases\/Chat\/ManageChatSessionsUseCase.php:83: $title = mb_substr($title, 0, Constants::NAME_MAX_LENGTH);\nsrc\/UseCases\/Chat\/ExportChatSessionUseCase.php:61: $score = isset($sourceData['score']) ? round((float) $sourceData['score'] * Constants::PERCENT_FULL) . '%' : '';",
"numLines": 23
}
}