Commit Graph
140 Commits
Author SHA1 Message Date
Meleki e79a69a364 Custom Commands für Agents: gleiche Befehls-UI wie Sessions, im Chat werden Agent- und Session-Commands zusammengeführt
Backend:
- AgentRecord um CustomCommands-Feld erweitert
- DB-Migration: custom_commands Spalte für agents Tabelle
- Agent-CRUD (Create/Update) verarbeitet customCommands

Frontend:
- commands-ui.js: Shared Utility (createCommandRow, getCommandsFromUI, loadCommandsIntoUI) für Agent- und Session-Page
- Agent-Page: Benutzerdefinierte Befehle Sektion mit Typ-Dropdown
- Chat-Page: Lädt Agent-Commands + Session-Commands, zeigt beide mit Labels wenn beide vorhanden
- Session-Page: Refactored auf shared commands-ui.js Funktionen
- CSS: cmd-bar-label Styling für Agent:/Session: Trennung in der Command-Bar
2026-02-28 21:35:34 +01:00
Meleki ab234fde69 Custom Commands: Typen (Hintergrund/Vordergrund/Nachricht) mit Output-Modal 2026-02-28 21:30:15 +01:00
Meleki d83a6f60ef Settings: Seitenbreite mit localStorage-Persistierung und Reset
- Settings-Page mit Range-Slider für Seitenbreite (600-1800px)
- JSON-basierter localStorage-Key 'settings' (zukunftssicher)
- applySettings() beim App-Start für sofortige Wiederherstellung
- Reset-Button mit Confirm-Dialog setzt alle Settings auf Defaults
- Sanfte Breitenübergänge via --transition-duration
2026-02-28 21:15:44 +01:00
Meleki 24cbce40c4 Globale .icon-btn Klasse für alle Icon-only Buttons, Hover-Filter, Theme-Anpassungen 2026-02-28 20:09:12 +01:00
Meleki ff67542ba6 Tool-Nutzung: tool_choice pro Agent konfigurierbar (default: any), wiederholte Instruktionen im System-Prompt, MaxIterations in appsettings 2026-02-28 19:33:41 +01:00
Meleki 8c9f54da79 Alle Unicode-Icons durch Font Awesome 4.7 Icons ersetzt
- chat.js: Attachment-Labels, Streaming-Spinner, File/Ref-Previews, Warning/Error-Bubbles
- chat-page.js: Meta-Bar Status (Erfolg/Fehler), Backup-Meldungen
- dashboard.js: Nachrichten/Ordner/Persona-Icons
- session-page.js: Remove-Buttons
- history.js: Archiv-Badge, Attachment-Indicator
- ui.js: Archiv-Button, Warning/Error-Bubble Icons
- file-explorer.js: Verzeichnis/Datei-Icons, Back/Close-Buttons, getFileIcon()
- index.html: Header-Menü, Send-Button, Settings-Button
2026-02-28 19:10:24 +01:00
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 5b2e8f4a11 File-Explorer: EasyMDE Edit-Mode, Font Awesome, Markdown-Preview-Styles 2026-02-28 17:49:07 +01:00
Meleki f74409dd89 Token-Optimierung: Prompt Caching + Tool-Result-Truncation in History 2026-02-28 16:21:08 +01:00
Meleki bba82aad7e File Explorer: CodeMirror + EasyMDE statt Preview 2026-02-28 11:30:26 +01:00
Meleki da5959f5a0 Add Inter and JetBrains Mono fonts 2026-02-28 00:13:00 +01:00
Meleki b07e776b7a Massive style changes 2026-02-27 23:39:06 +01:00
Meleki bd34d119b5 chat.css und index.html angepasst 2026-02-27 18:10:45 +01:00
Meleki b1c1e462cc Dashboard: Session message counts, workspace path, Agent persona 2026-02-27 17:58:14 +01:00
Meleki 286a91204f Layout/Style adjustments 2026-02-27 17:09:44 +01:00
Meleki 18b2feef4a Parse assistant messages as Markdown (marked.js) 2026-02-27 14:47:33 +01:00
Meleki 6556d62f17 Add /api/info endpoint for build time, title.js, UI tweaks 2026-02-27 14:29:43 +01:00
Meleki 73c6d38254 fix: custom command execution via systemd-run für prozessunabhängigkeit 2026-02-27 13:34:14 +01:00
Meleki a927d6da33 Chat-Page: Archivieren-Button durch 3-Dot-Menü ersetzt 2026-02-27 10:45:35 +01:00
Meleki aa2d9f1200 Folder-Browser für Workspace-Auswahl, Layout/Style Anpassungen 2026-02-27 09:43:58 +01:00
Meleki f4ad949db4 Layout/Style adjustments 2026-02-27 09:16:05 +01:00
Meleki 4e3d92ff9f File-Refs als Preview-Tags statt inline Text, fullText-Kollision fix, hidden-Override fix 2026-02-27 09:05:30 +01:00
Meleki 491d3b916e File Explorer Modal: Workspace-Browser mit Textvorschau, Zeilennummern, Selektion als File-Picker im Chat 2026-02-27 08:57:35 +01:00
Meleki 663f2c2a9a Multi-File Upload, Dateinamen in History, kein Auto-Scroll bei Attachment-Klick 2026-02-27 08:28:59 +01:00
Meleki 1271c9c651 File-Upload: Attachments-Tabelle, Base64-Speicherung, Frontend mit Drag&Drop/Paste/Preview, Error-Handling Fix 2026-02-27 08:11:46 +01:00
Meleki 680f1d6fe2 Frontend style refactoring 2026-02-27 07:18:12 +01:00
Meleki 48be82905e Session-Kontext: Textarea für System-Prompt pro Session 2026-02-27 06:52:47 +01:00
Meleki b752c99a64 Per-session workspace, tools only when workspace set
- Session has workspace field (absolute path, optional)
- ToolService stateless, receives workspace per call
- No workspace = no tools sent to API
- Removed hardcoded workspace from Program.cs
- Workspace field in session edit form
2026-02-26 22:26:53 +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 4bffcf2ee1 theme.css: CSS-Variablen für Farben und Größen, alle Files umgestellt 2026-02-26 20:09:33 +01:00
Meleki c0db8322f3 CSS aufgeteilt (base/main/prototype), prototype.html eigenes Init-Script 2026-02-26 19:56:23 +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 8ddee38032 Kleine Anpassungen 2026-02-26 17:05:25 +01:00
Meleki 19f926da05 Frontend Refactoring: HTML/CSS/JS getrennt, modulare Struktur 2026-02-26 15:43:10 +01:00
Meleki 9f2f3fee1f Persistenz: SQLite + Dapper, chains/messages Tabellen, History-Endpoint, Frontend History-Load 2026-02-26 15:21:34 +01:00
Meleki 6ccd8cdb06 SSE Streaming, Tool-Loop Refactor, Hilfsfunktionen extrahiert 2026-02-26 14:22:55 +01:00
Meleki 4531a19b39 Initial: Debug Console mit Tool Use Loop
- Anthropic Messages API mit OAuth Token Auth
- Chat Interface mit Message History
- Tools: read_file, write_file, edit_file, list_files
- Multi-Turn Tool Loop (max 25 Iterationen)
- Steps-basiertes Response Format (Text + Tool interleaved)
- Sandboxed Workspace für Dateioperationen
2026-02-26 14:13:25 +01:00