Commit Graph
12 Commits
Author SHA1 Message Date
Meleki d434c3ff2a Datenbank sichern: Backup als .tar.gz mit Server-Ablage und Client-Download
- Neuer POST /api/backup Endpoint (BackupEndpoint.cs)
- Packt gott.db in data/backup/gott-{timestamp}.tar.gz
- Gibt Archiv gleichzeitig als Download an Client zurück
- Button 'Datenbank sichern' im Header-Dropdown-Menü
- Content-Disposition Header-Parsing mit filename* UTF-8 Support
2026-02-28 18:18:51 +01:00
Meleki f74409dd89 Token-Optimierung: Prompt Caching + Tool-Result-Truncation in History 2026-02-28 16:21:08 +01:00
Meleki 76341dc42b Fix: Chat scrollt nach Font-Loading nochmal nach unten
scrollDown() wartet jetzt auf document.fonts.ready und scrollt erneut.
chat-page.js wartet nach loadHistory() zusätzlich per requestAnimationFrame
auf den Repaint nach Font-Swap.
2026-02-28 15:54:47 +01:00
Meleki 73c6d38254 fix: custom command execution via systemd-run für prozessunabhängigkeit 2026-02-27 13:34:14 +01:00
Meleki 002ef293f0 System prompt: build from agent persona/instructions, store in chain, remove UI textarea 2026-02-26 21:42:32 +01:00
Meleki a90b9427a5 Sessions: edit form, soft-delete, lazy creation, chat as separate page
- Session click opens edit form (name, description, image, agent) instead of chat
- Chat is now a separate route (#chat/{id}), opened via button
- Sessions created on save, not on click
- Soft-delete for sessions (is_deleted flag)
- Delete button in session form
- Removed title double-click editing from chat
- Card images now square (aspect-ratio: 1)
- New Session as placeholder card
2026-02-26 21:25:35 +01:00
Meleki 449c872296 Agents: CRUD, DB table, session binding, replace model picker
- agents table with name, avatar, description, model, persona, instructions, soft-delete
- AgentEndpoint (GET/POST/PUT/DELETE /api/agents)
- sessions + chains now reference agent_id
- ChatEndpoint resolves agent from session (no agent = no chat)
- system prompt built from agent persona + instructions
- frontend: agent editor with avatar upload, agent cards on dashboard
- session: agent dropdown replaces model picker, choice persisted
2026-02-26 20:59:19 +01:00
Meleki 80537c49ed SPA: Router, Dashboard, Session/Agent/Settings Pages, Sidebar entfernt 2026-02-26 19:50:00 +01:00
Meleki 25f07caf83 Sessions: Sidebar, Session-Wechsel, Archivieren-Button, alles session-bezogen 2026-02-26 18:37:24 +01:00
Meleki 843c210209 Archiv-System: Clear archiviert, Button lädt ältere Archive chronologisch, kein Limit 2026-02-26 16:52:58 +01:00
Meleki fb2c3a0720 History Polling: Message-ID-basiert, neuer /api/history/poll Endpoint 2026-02-26 15:54:01 +01:00
Meleki 19f926da05 Frontend Refactoring: HTML/CSS/JS getrennt, modulare Struktur 2026-02-26 15:43:10 +01:00