feat(step): expand detail CAS refs by default in step list

Previously step list showed raw CAS refs for detail fields.
Now detail is recursively expanded (like output already was),
since every turn is individually hashed and walkable.

Refs #463
This commit is contained in:
2026-05-24 11:12:22 +00:00
parent c40007eeaf
commit 650313b1c2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
});
+1 -1
View File
@@ -92,7 +92,7 @@ export type StepEntry = {
hash: CasRef;
role: string;
output: unknown;
detail: CasRef;
detail: unknown;
agent: string;
timestamp: number;
};