Backup #801
| ID | 801 |
| Dateipfad | /var/www/dev.campus.systemische-tools.de/src/Domain/Repository/ChatSessionRepositoryInterface.php |
| Version | 1 |
| Typ |
modified |
| Größe | 1.4 KB |
| Hash | b0a899c9900f09817d08e64b39b29ed632c9b662de05fb2001bbd56a1d7fbdf4 |
| Datum | 2025-12-23 08:07:19 |
| Geändert von | claude-code-hook |
| Grund | Claude Code Pre-Hook Backup vor Edit-Operation |
| Datei existiert |
Ja
|
Dateiinhalt
<?php
namespace Domain\Repository;
/**
* Interface for Chat Session Repository operations.
*/
interface ChatSessionRepositoryInterface
{
/**
* Find session by UUID.
*
* @return array<string, mixed>|null
*/
public function findByUuid(string $uuid): ?array;
/**
* Get all sessions with statistics.
*
* @return array<int, array<string, mixed>>
*/
public function findAll(int $limit = 50): array;
/**
* Create a new session.
*/
public function create(string $uuid, string $model, string $collections, int $contextLimit): int;
/**
* Update session title.
*/
public function updateTitle(int $sessionId, string $title): void;
/**
* Update session settings.
*
* @param array<string> $collections
*/
public function updateSettings(
int $sessionId,
string $model,
array $collections,
int $contextLimit,
?int $authorProfileId,
float $temperature,
int $maxTokens
): void;
/**
* Update system prompt.
*/
public function updateSystemPrompt(int $sessionId, ?string $systemPrompt): void;
/**
* Delete session by ID.
*/
public function delete(int $sessionId): void;
/**
* Touch session (update last_activity timestamp).
*/
public function touch(int $sessionId): void;
/**
* Generate UUID v4.
*/
public function generateUuid(): string;
}
Vollständig herunterladen
Aktionen
Andere Versionen dieser Datei
| ID |
Version |
Typ |
Größe |
Datum |
| 2024 |
5 |
modified |
1.9 KB |
2025-12-28 23:21 |
| 1540 |
4 |
modified |
1.9 KB |
2025-12-26 20:05 |
| 1120 |
3 |
modified |
1.7 KB |
2025-12-25 09:36 |
| 1119 |
2 |
modified |
1.5 KB |
2025-12-25 09:36 |
| 801 |
1 |
modified |
1.4 KB |
2025-12-23 08:07 |
← Zurück zur Übersicht