Include step-start and step-finish for cost tracking (#2810)

This commit is contained in:
Arjun Singh 2025-09-27 00:45:36 -07:00 committed by GitHub
parent 8bea479df9
commit 8a28d34fe9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -186,6 +186,14 @@ export const RunCommand = cmd({
}
}
if (part.type === "step-start") {
if (outputJsonEvent("step_start", { part })) return
}
if (part.type === "step-finish") {
if (outputJsonEvent("step_finish", { part })) return
}
if (part.type === "text") {
text = part.text