Meleki
5037c7d24e
feat: Auto-Commit Flag für Agents - neues Property AgentRecord.AutoCommit (bool) - DB-Migration: agents.auto_commit INTEGER NOT NULL DEFAULT 0 - Agent Create/Update um autoCommit erweitert - SystemPromptBuilder: bedingte Commit-Regel im Verhalten-Abschnitt - AutoCommit=true: Agent MUSS nach Änderungen committen - AutoCommit=false: Agent darf NIE eigenständig committen - Frontend: Checkbox 'Auto-Commit erlauben' in Agent-Settings
2026-03-01 01:46:04 +01:00
Meleki
19f32442b1
feat: Nachrichten als wichtig markieren (Stern-Button)
...
- MessageRecord: neues Property IsMarked
- DatabaseService: Migration is_marked, ToggleMessageMark(), GetMarkedMessages()
- HistoryEndpoint: PUT /api/messages/{id}/mark (Toggle)
- SystemPromptBuilder: markierte Nachrichten als Referenz im System-Prompt
- ChatEndpoint + SessionEndpoint: markierte Nachrichten laden und an Builder übergeben
- Frontend: Stern-Button (☆/★) auf jeder Nachricht, Toggle per API
- CSS: .marked-Klasse mit gelbem Seitenrand, Button-Styling
2026-03-01 01:30:21 +01:00
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
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
f74409dd89
Token-Optimierung: Prompt Caching + Tool-Result-Truncation in History
2026-02-28 16:21:08 +01:00
Meleki
b1c1e462cc
Dashboard: Session message counts, workspace path, Agent persona
2026-02-27 17:58:14 +01:00
Meleki
e662548d79
Avatar: Ctrl+V paste + serverseitige Skalierung auf max 256px; Tool-Boxes: Diff-View für edit/write_file, Foldout für alle Tools, stop_reason im Chat; ImageSharp 3.1.12
2026-02-27 16:46:07 +01:00
Meleki
73c6d38254
fix: custom command execution via systemd-run für prozessunabhängigkeit
2026-02-27 13:34:14 +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
0b2c9a08c6
DB: Message + Attachments in einer Transaktion speichern (1x fsync statt N+1)
2026-02-27 08:13:44 +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
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
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
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
9f2f3fee1f
Persistenz: SQLite + Dapper, chains/messages Tabellen, History-Endpoint, Frontend History-Load
2026-02-26 15:21:34 +01:00