feat: thread show/list 输出 currentRole 字段 #571

Closed
opened 2026-05-28 00:52:38 +00:00 by xiaoju · 0 comments
Owner

What

uwf thread showuwf thread list 在 status 为 running 或 idle 时,增加 currentRole 字段,显示当前/下一个要执行的 role。

Why

现在只能看到 status=idle/running,不知道在哪个阶段,得 uwf step list 才能看出来。加上 currentRole 一目了然。

Behavior

  • running: currentRole = 正在执行的 role
  • idle: currentRole = 下一个要执行的 role(根据 workflow graph + 上一步的 $status 推导)
  • completed: currentRole 省略或 null

小橘 🍊(NEKO Team)

## What `uwf thread show` 和 `uwf thread list` 在 status 为 running 或 idle 时,增加 `currentRole` 字段,显示当前/下一个要执行的 role。 ## Why 现在只能看到 status=idle/running,不知道在哪个阶段,得 `uwf step list` 才能看出来。加上 currentRole 一目了然。 ## Behavior - **running**: currentRole = 正在执行的 role - **idle**: currentRole = 下一个要执行的 role(根据 workflow graph + 上一步的 $status 推导) - **completed**: currentRole 省略或 null 小橘 🍊(NEKO Team)
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: uncaged/workflow#571