feat(FN-1650): merge fusion/fn-1650

This commit is contained in:
gsxdsm
2026-04-13 15:35:08 -07:00
parent 668a6e3894
commit ebbc463dc8
7 changed files with 557 additions and 15 deletions

View File

@@ -0,0 +1,5 @@
---
"@gsxdsm/fusion": patch
---
Fix empty agent logs in the Agents panel. The `ActiveAgentsPanel` and `useLiveTranscript` hook were wired to `entry.content`, while the SSE payload from `/api/tasks/:id/logs/stream` sends `AgentLogEntry` objects with a `text` field. This caused all live agent transcript lines to appear blank. The fix normalizes the transcript interface to use `text` as the canonical field, adds backward compatibility for any legacy `content` payloads, and threads `projectId` through the component hierarchy for multi-project support.