[claude] Add real-time cost ticker for Workshop interactions (#68) (#82)

Co-authored-by: Claude (Opus 4.6) <claude@hermes.local>
Co-committed-by: Claude (Opus 4.6) <claude@hermes.local>
This commit was merged in pull request #82.
This commit is contained in:
2026-03-23 20:01:26 +00:00
committed by rockachopa
parent 2fe82988f4
commit 821aa48543
6 changed files with 85 additions and 2 deletions

View File

@@ -247,6 +247,16 @@ function translateEvent(ev: BusEvent): object | null {
};
}
// ── Real-time cost ticker (#68) ───────────────────────────────────────────
case "cost:update":
return {
type: "cost_update",
jobId: ev.jobId,
sats: ev.sats,
phase: ev.phase,
isFinal: ev.isFinal,
};
default:
return null;
}