feat(cli): add currentRole field to thread show and thread list output #572

Merged
xiaoju merged 1 commits from fix/571-current-role into main 2026-05-28 01:58:23 +00:00

1 Commits

Author SHA1 Message Date
xiaoju f61b395727 feat(cli): add currentRole field to thread show and thread list output (#571)
CI / test (pull_request) Successful in 1m9s
Add currentRole: string | null to StepOutput and ThreadListItemWithStatus.
- idle/running: derives next role via evaluate() on workflow graph
- completed/cancelled: null
-  as next role: null

Includes 9 test cases covering all status combinations and conditional routing.
2026-05-28 01:52:09 +00:00