diff --git a/packages/cli-workflow/src/commands/step.ts b/packages/cli-workflow/src/commands/step.ts index 03ee05b..45ee014 100644 --- a/packages/cli-workflow/src/commands/step.ts +++ b/packages/cli-workflow/src/commands/step.ts @@ -250,7 +250,7 @@ export async function cmdStepList( hash: item.hash, role: item.payload.role, output: expandOutput(uwf, item.payload.output), - detail: item.payload.detail, + detail: item.payload.detail ? expandDeep(uwf.store, item.payload.detail) : null, agent: item.payload.agent, timestamp: item.timestamp, }); diff --git a/packages/workflow-protocol/src/types.ts b/packages/workflow-protocol/src/types.ts index ddd7f32..38a03d7 100644 --- a/packages/workflow-protocol/src/types.ts +++ b/packages/workflow-protocol/src/types.ts @@ -92,7 +92,7 @@ export type StepEntry = { hash: CasRef; role: string; output: unknown; - detail: CasRef; + detail: unknown; agent: string; timestamp: number; };