KI-Chatfunktion aus TaskMate entfernt
Die ungenutzte Chat- und Assistant-Funktion wurde vollständig ausgebaut. Backend-Route inklusive routes/assistant.js, Frontend-View, Navigationseintraege, Service-Worker-Cache und der PROXY_TOKEN-Verweis sind entfernt. Die Datenbank bleibt unveraendert, die Tabellen assistant_sessions und assistant_messages bleiben als Altdaten bestehen. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Dieser Commit ist enthalten in:
@@ -48,7 +48,6 @@ const giteaRoutes = require('./routes/gitea');
|
||||
const knowledgeRoutes = require('./routes/knowledge');
|
||||
const codingRoutes = require('./routes/coding');
|
||||
const reminderRoutes = require('./routes/reminders');
|
||||
const assistantRoutes = require('./routes/assistant');
|
||||
|
||||
// Express App erstellen
|
||||
const app = express();
|
||||
@@ -179,9 +178,6 @@ app.use('/api/reminders', authenticateToken, csrfProtection, reminderRoutes);
|
||||
// Contacts-Routes (Kontakte)
|
||||
app.use('/api/contacts', authenticateToken, csrfProtection, require('./routes/contacts'));
|
||||
|
||||
// Assistant-Routes (Claude-Assistent)
|
||||
app.use('/api/assistant', authenticateToken, csrfProtection, assistantRoutes);
|
||||
|
||||
// =============================================================================
|
||||
// SOCKET.IO
|
||||
// =============================================================================
|
||||
@@ -245,9 +241,6 @@ io.on('connection', (socket) => {
|
||||
}))
|
||||
});
|
||||
});
|
||||
|
||||
// Assistant Socket-Events registrieren
|
||||
assistantRoutes.registerSocketEvents(socket);
|
||||
});
|
||||
|
||||
// Socket.io Instance global verfügbar machen für Routes
|
||||
@@ -340,11 +333,6 @@ process.on('SIGTERM', () => {
|
||||
const reminderServiceInstance = reminderService.getInstance();
|
||||
reminderServiceInstance.stop();
|
||||
|
||||
// Aktive Assistant-Sessions beenden
|
||||
for (const [userId] of connectedClients) {
|
||||
assistantRoutes.stopSession(userId);
|
||||
}
|
||||
|
||||
server.close(() => {
|
||||
database.close();
|
||||
logger.info('Server beendet');
|
||||
@@ -359,11 +347,6 @@ process.on('SIGINT', () => {
|
||||
const reminderServiceInstance = reminderService.getInstance();
|
||||
reminderServiceInstance.stop();
|
||||
|
||||
// Aktive Assistant-Sessions beenden
|
||||
for (const [userId] of connectedClients) {
|
||||
assistantRoutes.stopSession(userId);
|
||||
}
|
||||
|
||||
server.close(() => {
|
||||
database.close();
|
||||
logger.info('Server beendet');
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren