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
+9
-2
@@ -52,6 +52,12 @@ builder.Services.AddSingleton(authService);
|
||||
builder.Services.AddSingleton(dbService);
|
||||
builder.Services.AddSingleton(new ImageService());
|
||||
builder.Services.AddSingleton(new StreamingTracker());
|
||||
|
||||
// Workflow-Status-Tracker (Live-Telemetrie dynamischer ultracode-Workflows). Lokale Instanz,
|
||||
// weil ClaudeCliService (befüllt) und AnthropicService (persistiert beim Finalize) DIESELBE
|
||||
// Instanz brauchen; zusätzlich als Singleton für den Status-Endpoint registriert.
|
||||
var workflowTracker = new WorkflowProgressTracker();
|
||||
builder.Services.AddSingleton(workflowTracker);
|
||||
var steeringQueue = new SteeringQueue();
|
||||
builder.Services.AddSingleton(steeringQueue);
|
||||
builder.Services.AddSingleton(new RemoteConnectionManager());
|
||||
@@ -91,7 +97,8 @@ builder.Services.AddSingleton<AnthropicService>(sp =>
|
||||
serverSettings,
|
||||
vectorSearch: vectorSearchService,
|
||||
embeddingBg: embeddingBgService,
|
||||
steeringQueue: steeringQueue);
|
||||
steeringQueue: steeringQueue,
|
||||
workflowTracker: workflowTracker);
|
||||
svc.SetChatService(chatService);
|
||||
return svc;
|
||||
});
|
||||
@@ -127,7 +134,7 @@ builder.Services.AddHostedService<GitHubEventScannerService>(sp => sp.GetRequire
|
||||
|
||||
// Claude CLI Service (für OAuth-basierte Chats via CLI; serverSettings für z.ai/GLM-Env)
|
||||
builder.Services.AddSingleton<ClaudeCliService>(sp =>
|
||||
new ClaudeCliService(sp.GetRequiredService<Microsoft.Extensions.Logging.ILogger<ClaudeCliService>>(), serverSettings));
|
||||
new ClaudeCliService(sp.GetRequiredService<Microsoft.Extensions.Logging.ILogger<ClaudeCliService>>(), serverSettings, workflowTracker));
|
||||
|
||||
var app = builder.Build();
|
||||
|
||||
|
||||
Reference in new issue
Block a user