Commit Graph
19 Commits
Author SHA1 Message Date
MelekiandClaude Opus 4.8 b6e546f618 Add workflow-status telemetry view and make panel modes on-demand
Workflow-status: a new WorkflowProgressTracker singleton taps the
suppressed dynamic-workflow subagent events (those carrying
parent_tool_use_id) into per-session telemetry without altering the
existing guard; the snapshot is serialized into the new chains.workflow_info
column on FinalizeChain (ChainId-matched so a panel member of the same
session cannot clear it) and exposed via GET /api/sessions/{id}/workflow-status
(live -> persisted -> none). The header menu gains a 'Workflow-Status' entry
with a modal that live-polls every 2s while running and self-stops on close.

Panel on-demand: Fusion/MoA is now a transient per-request multiModelMode
flag (like plan/ultracode) instead of a persisted session column. Session
settings keep only the panel members + moa_layers; the mode <select> was
removed and the composer dropdown drives the mode per request.

Docs: ARCHITECTURE.md, ARCHITECTURE_QUICK.md and README.md updated for both
features plus the already-shipped z.ai/GLM provider, GLM 5.2+ effort
passthrough, web-search-prime MCP and the ultracode toggle.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-20 17:27:46 +02:00
MelekiandClaude Opus 4.8 6e301b7498 Document panel subagent filtering, token badges, and CLI fallback reach
Bring the docs in line with the recently shipped features:

- Multi-model panel: all MoA rounds are now persisted (F5-safe) with a
  per-member JSON transcript (layer/totalLayers/segments); member tokens
  are folded into the worker usage via seedUsage (live badge + DB).
- CLI parser filters subagent internals centrally via the
  parent_tool_use_id guard → no nameless tool boxes in stream or history.
- Per-member token badges: panel_member_done and the persisted JSON carry
  the token fields, rendered by the shared buildPanelMemberMeta helper.
- Composer toggle: _modePersist serializes mode PATCHes and sendMessage
  awaits them, preventing the MoA single-round race.
- CLI fallback now also covers cronjobs and Telegram; keyless providers
  (nvidia/gemini/minimax/pollinations) resolve server keys instead of
  hard-failing on a missing user key.
- Krea: one request per image (batchSize no longer sent to the API).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-19 19:24:08 +02:00
MelekiandClaude Opus 4.7 b47ca33259 docs: Doku-Diskrepanzen bereinigt (MaxHistory 220, Opus 4.7, Review-Iterationen)
- README: MaxHistory Default 120 → 220 (entspricht Code)
- ARCHITECTURE.md: Modell-Liste um opus-4-7, opus-4-7[1m], opus-4-6[1m], sonnet-4-6[1m] ergänzt
- ARCHITECTURE.md + QUICK: Review-Tool-Loop von 25 → 20 Iterationen korrigiert (laut MaxIterations in AnthropicService.Agents.cs)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 17:06:10 +02:00
MelekiandClaude Opus 4.7 ac1c730f07 docs: Architektur-Doku auf aktuellen Stand bringen
Aktualisiert ARCHITECTURE.md, ARCHITECTURE_QUICK.md und README.md
für die letzten Feature-Commits:

- Auto-Context: SSE-Event, DB-Persistierung (auto_context-Message),
  History-Filter, Implementierung in Streaming + CLI
- Model-Auflösung: Opus 4.7 + [1m]-Varianten (1M Context)
- Krea: 5 neue Bildmodelle + MINIMAL_MODELS-Hinweis
- Remote: remote.sh (Linux/macOS, embedded Python),
  OS-aware Tool-Description (PowerShell vs. Bash),
  Hinweis dass Cronjobs/Telegram remoteOs aktuell nicht durchreichen
- CLI-Integration: Sub-Agent-Fallback (Preparer/Review/Finalizer),
  Python-Detection (python3 -> python -> py)
- Workspace: native Pfade (Windows \\, Linux /), Drives-Übersicht
- Frontend: addAutoContextBubble() in stream-ui.js
- MaxHistory Default 220 (statt 120)
- 🪟 -> 🗂️ in QUICK (Unicode-Kompatibilität)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-25 17:02:58 +02:00
MelekiandClaude Opus 4.6 486a1be6b5 docs: Dokumentation an aktuellen Code-Stand anpassen
Neue Features dokumentiert: Claude CLI Integration, DB Explorer, MCP-Server (Internal API),
Key-Scanner-System (KeyPatterns, KeyCheckDispatcher, GitHubEventScannerService),
Multi-Provider Key-Checker (OpenAI, Google, Stripe), AnthropicService partial-class Aufteilung,
2 neue Tools (github_code_search, serper_web_search → 19 Tools), OpenAI als Provider,
typing-phrases.js, AppPaths, payload-preview Endpoint.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-19 10:03:30 +01:00
Meleki 8e94975e61 docs: Dokumentation aktualisieren (ReviewContext→SubAgentContext, Provider-Weiche, agent_api_keys, Scanner, Dashboard-Sortierung, Plan-Modus-Hint)
ARCHITECTURE.md:
- ReviewContext → SubAgentContext (Code-Block + alle Referenzen)
- ChatContext.cs Kommentar aktualisiert
- Provider-Weiche für Telegram, Cronjobs, Sub-Agents dokumentiert
- OpenAiService: ChatNonStreaming() ergänzt
- Chat-Pipeline: API-Key-Auflösung als Schritt 3c
- Multi-Provider-Tabelle: AnthropicToken → agent_api_keys
- api_keys Tabelle: Zuweisung pro Agent statt global
- Neue Tabellen: agent_api_keys, scanner_logs, server_settings
- Dashboard-Sortierung nach letzter Chat-Nachricht
- Plan-Modus: Hint-Mechanismus dokumentiert
- Key-Scanner: 4 Quellen (GitHub Code, Issues/PRs, HuggingFace, Serper)
- API-Key pro Agent: Endpoints + Kein-Key-Option
- ServerSettingsService in Service-Tabelle
- session.js: currentAgentId dokumentiert
- Streaming vs Non-Streaming: Sub-Agents ergänzt

ARCHITECTURE_QUICK.md:
- Multi-Agent Backend: SubAgentContext + Provider-Weiche
- OpenAiService: Non-Streaming erwähnt
- Chat-Pipeline: Key-Auflösung ergänzt
- api_keys: Zuweisung pro Agent
- Dashboard-Route: Sortierungs-Hinweis

README.md:
- Key-Scanner: 4 Quellen statt nur GitHub
2026-03-15 09:20:46 +01:00
Meleki 122000487c Refactor: Server-Settings von appsettings.json in DB-Tabelle (server_settings)
- Neuer ServerSettingsService: zentrale Settings in SQLite mit In-Memory-Cache
- Auto-Migration: bestehende appsettings.Production.json wird einmalig in DB übernommen
- Alle Services umgestellt: IConfiguration → ServerSettingsService (dynamisch, kein Neustart)
- Port bleibt als einziges Setting in appsettings.Production.json (erfordert Neustart)
- ServerSettingsEndpoint: liest/schreibt DB statt JSON-Datei, Port als Sonder-Setting
- IConfiguration komplett entfernt aus allen Services (ChatService, ToolService, AnthropicService,
  OpenAiService, KreaService, TelegramService, KeyScannerService, GitHubEventScannerService)
- AuthMiddleware: KreaApiKey dynamisch aus DB
- appsettings.json bereinigt: nur noch Port und Logging
- Dokumentation aktualisiert (ARCHITECTURE.md, ARCHITECTURE_QUICK.md, README.md)
2026-03-14 13:06:44 +01:00
Meleki 730c14aa23 docs: Dokumentation aktualisiert – API-Key-Scanner, passive Usage, Chat-Badge, Key-Check
ARCHITECTURE.md:
- Neue Services: KeyScannerService, AnthropicKeyChecker
- scanned_keys Tabelle, api_keys erweitert (status, plan, usage, source_url)
- API-Key-Verwaltung komplett überarbeitet: Key-Check mit korrekten Headers,
  passive Usage-Aktualisierung, GitHub-Scanner, Chat Usage-Badge
- Scanner-Endpunkte dokumentiert (scan, scanned, adopt, recheck)
- Tool-Anzahl 16 → 17

ARCHITECTURE_QUICK.md:
- Gleiche Struktur-Updates (Services, Tabellen, Endpunkte, Tool-Anzahl)
- Chat-Page: Usage-Badge-Overlay + Key-Switch-Modal
- Passive Usage-Aktualisierung nach jedem API-Request

README.md:
- Tool-Anzahl 16 → 17
- API-Key-Verwaltung mit Scanner, passive Usage, Chat-Badge
2026-03-12 22:37:33 +01:00
Meleki db1a7c7f64 Refactoring + Dokumentation: api.js komprimiert (745→267 Zeilen), SseHelper extrahiert, DatabaseService in Partial Classes aufgeteilt, unbenutztes CSS entfernt, ARCHITECTURE.md/ARCHITECTURE_QUICK.md/README.md aktualisiert (neue Features: Embedding, Remote, API-Keys, 16 Tools) 2026-03-12 13:29:19 +01:00
Meleki 982aa60376 docs: Dokumentation aktualisieren – Multi-Provider-System, Gemini, Modell-Caching 2026-03-12 09:06:55 +01:00
Meleki b40a872c29 refactor: Build-Output in Build/{OS}/-Ordnerstruktur
Plattformspezifische bin/obj/publish-Ordner unter Build/Linux/
und Build/Windows/ statt bin-linux/, obj-linux/, publish/ etc.

- Directory.Build.props: OS-Erkennung setzt BaseOutputPath,
  BaseIntermediateOutputPath und MSBuildProjectExtensionsPath
  auf Build/{Linux|Windows|macOS}/
- gott.csproj: Vereinfacht auf ein einziges Build/** Exclude
- deploy.sh: publish-Output nach Build/Linux/publish
- OpenClawEndpoint.cs: DB-Pfad relativ zu AppContext.BaseDirectory
- Doku (README, ARCHITECTURE, ARCHITECTURE_QUICK) aktualisiert
2026-03-09 15:50:11 +01:00
Meleki 677b227200 docs: Dokumentation aktualisieren (Telegram Bots, OpenClaw Import, Public-Flags)
ARCHITECTURE.md:
- Telegram-Integration komplett umgeschrieben (Bots als eigenständige Entität)
- Neuer Abschnitt: OpenClaw Import (Funktionsweise, sort_key, Frontend)
- Entity-Relationship: TelegramBot hinzugefügt
- Tabellen: telegram_links → telegram_bots, Sessions/Agents/Messages aktualisiert
- Frontend-Routing: telegram-bot-page hinzugefügt
- Projektstruktur: neue Dateien (TelegramBotRecord, OpenClawEndpoint, telegram-bot-page)
- Agent-System: IsPublic Property dokumentiert
- Card-Builder: buildTelegramBotCard dokumentiert
- API-Endpunkte: Telegram + OpenClaw aktualisiert

ARCHITECTURE_QUICK.md:
- Datenmodell: TelegramBot-Relation, telegram_bots statt telegram_links
- Sessions/Agents/Messages Felder aktualisiert
- API-Tabelle: Telegram + OpenClaw Endpoints
- Frontend-Routing: telegram-bot Page
- Auth: Webhook-Pfad auf botId aktualisiert

README.md:
- Telegram-Feature-Beschreibung aktualisiert
- OpenClaw Import als Feature hinzugefügt
2026-03-08 23:06:40 +01:00
Meleki b4c844b7c2 docs: Dokumentation aktualisieren (JS-Refactoring, Dashboard-Optimierung, WebP/Thumbnails)
ARCHITECTURE.md:
- JS-Projektstruktur: ui.js → 13 modulare Dateien dokumentiert
- Kern-Module: Vollständige Liste aller neuen Module mit Beschreibungen
- Card-Builder: Referenzen von ui.js auf cards.js aktualisiert
- History-Rendering: Referenz von ui.js auf bubbles.js aktualisiert
- Markdown-Rendering: Referenz von ui.js auf markdown.js aktualisiert
- Avatar-System: PNG/JPEG → WebP, neue Felder avatar_small/image_small
- ImageService: Beschreibung aktualisiert (512px + 256px Thumbnail, WebP)
- Neue Records: SessionWithStats, GitStatusSummary dokumentiert
- Endpoints: Sessions-Liste inkl. inline Git-Status, Agents inkl. inline Skills
- Tabellen: avatar_small, image_small Felder ergänzt
- Datenbank-Migrationen: Bild-Migration (WebP + Thumbnails) dokumentiert

ARCHITECTURE_QUICK.md:
- JS-Verzeichnisstruktur: Alle 13 neuen Module aufgelistet
- Tabellen: avatar_small, image_small ergänzt
- ImageService: WebP + Thumbnail-Beschreibung

README.md:
- JS-Verzeichnisbeschreibung: 'UI-Module (modular aufgeteilt)'
2026-03-07 20:29:12 +01:00
Meleki f4dc5fd812 docs: Dokumentation aktualisiert – Preparer, ask_user_choice, Plan-Modus, TaskInstruction, Message-Tag
ARCHITECTURE.md:
- Multi-Agent System: 'Review + Finalizer' → 'Preparer + Review + Finalizer'
- Neue Sektion: Vorbereiter-Agent (Preparer) mit Flow, SSE-Events, History-Logik
- Neue Sektion: Interaktive Rückfragen (ask_user_choice) mit Tool-Definition, Backend/Frontend-Flow
- Neue Sektion: Plan-Modus mit Tool-Filterung, System-Prompt-Anpassungen
- System-Prompt-Aufbau: 12 → 14+ Blöcke (Anweisungen, Rückfragen, Plan-Modus, Preparer)
- Tool-System: ask_user_choice + Plan-Modus Read-only Filter dokumentiert
- Agent-System: AllowUserChoice + TaskInstruction Felder
- Datenmodell: preparer_agent_id, plan_mode, Tag, neue StopReasons
- DB-Persistierung: Tag-Markierung für Sub-Agent-Messages

ARCHITECTURE_QUICK.md:
- Sessions/Chains/Messages Tabellen aktualisiert
- Chat-Pipeline: Preparer-Phase + ask_user_choice ergänzt
- Tool-System: 12 → 13 Tools
- System-Prompt: 12 → 14+ Blöcke
- Multi-Agent: Preparer + Tag-System

README.md:
- Features: Vorbereiter-Agent, Interaktive Rückfragen, Plan-Modus
- 12 → 13 Tools
2026-03-07 18:46:29 +01:00
Meleki 72347ed2f5 docs: Finalizer-Agent, Web-Search Sources und Multi-Agent System dokumentiert
ARCHITECTURE.md:
- Kapitel 18 umbenannt: Multi-Agent Review-System → Multi-Agent System (Review + Finalizer)
- Finalizer-Agent komplett dokumentiert (Konfiguration, Backend-Flow, SSE-Events, Frontend)
- RunAgentChat() als generische Methode für Review/Finalizer dokumentiert
- Neues Kapitel Web-Search (Backend, Streaming pauseStreamBubble, History, Shared-Page)
- Sessions-Tabelle: finalizer_agent_id, Message-Typ: web_search_result
- Entity-Relationship: Finalizer-Agent Beziehung
- Chat-Pipeline: Phase 4c (Finalizer)

ARCHITECTURE_QUICK.md:
- Multi-Agent System Sektion erweitert (Finalizer-Flow, SSE-Events, Frontend-Rendering)
- Web-Search Sources Sektion (DB, History, Shared-Page, Streaming)
- Tabellen + Message-Typen aktualisiert

README.md:
- Finalizer-Agent und Web-Search als Features
2026-03-07 10:53:03 +01:00
Meleki a3f2aa38c1 Update README.md 2026-03-06 23:09:08 +01:00
Meleki 28fd685136 docs: vollständige README mit Features, Installation, Konfiguration, Deployment + Screenshot 2026-03-06 23:02:32 +01:00
Meleki 23c2bde8d4 docs: ServerSettings-UI, Avatar-Offset, konfigurierbarer Port, appsettings.Production.json Verwaltung 2026-03-06 22:53:25 +01:00
Meleki f33aa3f9b4 Fix chat button style, add Readme 2026-02-27 13:44:31 +01:00