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
@@ -1003,6 +1003,92 @@
|
||||
border: var(--border-width) solid var(--f2-border);
|
||||
}
|
||||
|
||||
/* Workflow-Status Modal (Ultracode) */
|
||||
|
||||
.workflow-status-modal {
|
||||
max-width: 540px;
|
||||
}
|
||||
|
||||
.wf-status-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--badge-spacing);
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--box-spacing);
|
||||
}
|
||||
|
||||
.wf-status-head.wf-running { color: var(--info); }
|
||||
.wf-status-head.wf-done { color: var(--secondary); }
|
||||
.wf-status-head.wf-none { color: var(--text); opacity: var(--semi-transparent); }
|
||||
|
||||
.wf-empty {
|
||||
opacity: var(--semi-transparent);
|
||||
}
|
||||
|
||||
.wf-stat-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: var(--badge-spacing);
|
||||
}
|
||||
|
||||
.wf-stat {
|
||||
padding: var(--box-padding);
|
||||
background: var(--f3-bg);
|
||||
border-radius: var(--border-radius);
|
||||
border: var(--border-width) solid var(--f2-border);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wf-stat-val {
|
||||
font-family: var(--mono);
|
||||
font-size: 1.3em;
|
||||
color: var(--text-accent);
|
||||
}
|
||||
|
||||
.wf-stat-lbl {
|
||||
font-size: .85em;
|
||||
opacity: var(--semi-transparent);
|
||||
margin-top: .2em;
|
||||
}
|
||||
|
||||
.wf-section {
|
||||
margin-top: var(--box-spacing);
|
||||
}
|
||||
|
||||
.wf-section-lbl {
|
||||
font-weight: 600;
|
||||
margin-bottom: var(--badge-spacing);
|
||||
}
|
||||
|
||||
.wf-tool-list {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: var(--border-width);
|
||||
}
|
||||
|
||||
.wf-tool-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: .35em var(--badge-spacing);
|
||||
background: var(--f3-bg);
|
||||
border-radius: var(--border-radius);
|
||||
}
|
||||
|
||||
.wf-tool-name {
|
||||
font-family: var(--mono);
|
||||
}
|
||||
|
||||
.wf-tool-count {
|
||||
color: var(--primary);
|
||||
font-family: var(--mono);
|
||||
}
|
||||
|
||||
.wf-meta {
|
||||
margin-top: var(--box-spacing);
|
||||
font-size: .85em;
|
||||
opacity: var(--semi-transparent);
|
||||
}
|
||||
|
||||
/* Command Output Modal */
|
||||
|
||||
.cmd-output-modal {
|
||||
|
||||
Reference in new issue
Block a user