Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

chore: files changed app/src/lib/assistantUiMock/mockScript.ts

Steven Enamakel80b25dfdf9a8
diff --git a/app/src/lib/assistantUiMock/mockScript.ts b/app/src/lib/assistantUiMock/mockScript.ts
index c7e235b704..03c3a030a1 100644
--- a/app/src/lib/assistantUiMock/mockScript.ts
+++ b/app/src/lib/assistantUiMock/mockScript.ts
@@ -207,6 +207,10 @@ export function buildSeedMessages() {
status: 'complete',
steps: step.steps,
report: step.report,
+ // What a live run of this same step would have taken, so the seeded
+ // turn and a replayed one read the same rather than one of them
+ // silently dropping the clock.
+ elapsedSeconds: Math.round(((step.steps.length + 1) * step.stepMs) / 100) / 10,
} satisfies MockSubagentResult,
};
}