refactor(inspect-ui): rename Step.action to Step.next_action

Aligns the SPA type and consumers with the trace schema rename. The
StepSummary.action_kind/action_label labels stay unchanged since they
are derived labels, not the raw next-action.
This commit is contained in:
pj committed 2026-05-31 15:41:25 +05:30
1 parent f237eb2c4d
commit e9c6066ba4
3 files changed
+5 -4

No files matched your search

+2 -1
View File
@@ -125,7 +125,8 @@ export interface Step {
timestamp: string;
screen?: string;
snapshots?: Record<string, unknown>;
action?: Action;
// next_action is the action chosen for the next iteration based on observing this step.
next_action?: Action;
exceptions?: Exception[];
violations?: string[];
hierarchy?: Hierarchy;