mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-07 07:59:42 +02:00
feat(ultracode): Phase 4 — click an agent card to open its live transcript
Each workflow agent card with an agentId is now clickable and opens that agent's live transcript in a popup, reusing the existing GET /api/subagents/:agentId/ transcript route. The workflow agent's agentId is byte-identical to the agent-<id>.jsonl stem that subagent-watcher already tracks (via w16's watchWorkflowDirs), so this is a pure client-side join — ZERO subagent-watcher edits. Graceful degradation: 'start' (queued) agents have no agentId yet and stay non-clickable; an aged-out/untracked agent (subagent-watcher's 4h startup window, or tracking disabled) returns an empty transcript and shows a friendly note instead of an empty popup. Verified on a live isolated server: the subagent transcript route serves a workflow agent's transcript (150 entries) and the runId's agents[] carries the matching agentId; Playwright confirmed clicking a card opens the transcript popup with no console errors. frontend-syntax / public-assets / CSS-parse clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -8486,6 +8486,13 @@ kbd {
|
||||
padding: 0.4rem 0.5rem;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
.ultracode-agent-card--clickable {
|
||||
cursor: pointer;
|
||||
transition: background 0.15s;
|
||||
}
|
||||
.ultracode-agent-card--clickable:hover {
|
||||
background: var(--bg-card);
|
||||
}
|
||||
.ultracode-agent-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
Reference in New Issue
Block a user