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>
This commit is contained in:
1 parent
5b1802efee
commit
b6e546f618
22 files changed
+591
-99
No files matched your search
+6
-11
@@ -156,21 +156,15 @@
|
||||
<div class="agent-select-empty"><i class="fa fa-flag-checkered"></i> Kein Finalizer-Agent</div>
|
||||
</div>
|
||||
<input type="hidden" id="finalizerAgentSelect" value="">
|
||||
<label>Multi-Modell-Panel <small>(Fusion / MoA)</small></label>
|
||||
<select id="multiModelMode">
|
||||
<option value="off">Aus</option>
|
||||
<option value="fusion">Fusion – Panel antwortet parallel, Session-Agent synthetisiert</option>
|
||||
<option value="moa">MoA – mehrere Proposer-Runden, dann Synthese</option>
|
||||
</select>
|
||||
<div id="panelAgentsRow" hidden>
|
||||
<label>Panel-Agenten <small>(antworten parallel zur Anfrage)</small></label>
|
||||
<div id="panelAgentsRow">
|
||||
<label>Panel-Agenten <small>(für Fusion / MoA – im Chat pro Anfrage aktivierbar)</small></label>
|
||||
<div id="panelAgentsCard" class="agent-select-card">
|
||||
<div class="agent-select-empty"><i class="fa fa-users"></i> Keine Panel-Agenten</div>
|
||||
</div>
|
||||
<input type="hidden" id="panelAgentIds" value="">
|
||||
<small class="muted">Jeder Panel-Agent kostet zusätzlich Tokens/Zeit – alle laufen pro Nachricht. Member arbeiten read-only.</small>
|
||||
<small class="muted">Jeder Panel-Agent kostet zusätzlich Tokens/Zeit – alle laufen pro Nachricht. Member arbeiten read-only. Fusion/MoA werden im Chat-Eingabefeld pro Anfrage gewählt.</small>
|
||||
</div>
|
||||
<div id="moaLayersRow" hidden>
|
||||
<div id="moaLayersRow">
|
||||
<label>MoA-Runden <small>(Proposer-Runden vor der Synthese)</small></label>
|
||||
<input type="number" id="moaLayers" min="1" max="5" step="1" value="2">
|
||||
<small class="muted">Mehr Runden = mehr Verfeinerung, aber Kosten/Zeit ≈ Runden × Agenten. Empfohlen: 2–3.</small>
|
||||
@@ -443,6 +437,7 @@
|
||||
<button class="header-menu-item" id="remoteBtn"><i class="fa fa-desktop"></i> Remote-Verbindungen</button>
|
||||
<button class="header-menu-item" id="systemPromptBtn">System-Prompt anzeigen</button>
|
||||
<button class="header-menu-item" id="payloadPreviewBtn">Payload anzeigen</button>
|
||||
<button class="header-menu-item" id="workflowStatusBtn">Workflow-Status</button>
|
||||
<button class="header-menu-item" id="archiveBtn">Archivieren</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -458,7 +453,7 @@
|
||||
<input type="file" id="fileInput" accept="image/jpeg,image/png,image/gif,image/webp,application/pdf" multiple hidden>
|
||||
<button id="fileBtn" class="icon-btn" title="Datei anhängen"><i class="fa fa-paperclip"></i></button>
|
||||
<button id="explorerBtn" class="icon-btn" title="Workspace durchsuchen"><i class="fa fa-folder"></i></button>
|
||||
<button id="planModeBtn" class="icon-btn" title="Modus wählen"><i class="fa fa-ban"></i></button>
|
||||
<button id="planModeBtn" class="icon-btn" title="Modus wählen"><i class="fa fa-user"></i></button>
|
||||
<textarea id="input" placeholder="Nachricht..." rows="1"></textarea>
|
||||
<button id="emojiBtn" class="icon-btn" title="Emoji einfügen"><i class="fa fa-smile-o"></i></button>
|
||||
<button id="send" class="icon-btn"><i class="fa fa-paper-plane"></i></button>
|
||||
|
||||
Reference in new issue
Block a user