From 4563f1bb5e4d3764b58692ebac06a70ac3fabb3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=98=9F=E6=9C=88?= Date: Thu, 14 May 2026 16:24:30 +0800 Subject: [PATCH] fix(dashboard): start node lights up when thread-start exists Previously __start__ only lit when role records existed. Now it lights up as soon as a thread-start record is present (i.e. the trigger prompt). --- packages/workflow-dashboard/src/components/thread-detail.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/workflow-dashboard/src/components/thread-detail.tsx b/packages/workflow-dashboard/src/components/thread-detail.tsx index a10ea67..4a638d0 100644 --- a/packages/workflow-dashboard/src/components/thread-detail.tsx +++ b/packages/workflow-dashboard/src/components/thread-detail.tsx @@ -39,7 +39,8 @@ function computeNodeStates(records: readonly ThreadRecord[]): Map 0) { + const hasStart = records.some((r) => r.type === "thread-start"); + if (hasStart) { states.set("__start__", "completed"); } if (hasResult) {