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

Co-authored-by: 小橘 <xiaoju@shazhou.work>
Co-committed-by: 小橘 <xiaoju@shazhou.work>
This commit is contained in:
2026-05-28 01:58:23 +00:00
committed by xiaoju
parent abc9dcfc5a
commit 0b20e88317
3 changed files with 477 additions and 1 deletions
+2
View File
@@ -97,6 +97,8 @@ export type StepOutput = {
thread: ThreadId;
head: CasRef;
status: ThreadStatus;
/** The current or next role. Null when completed, cancelled, or next is $END. */
currentRole: string | null;
done: boolean;
background: boolean | null;
};