Add Usage Metrics

Nucleic-Session: B4F51091-BE3C-42D3-BCDD-8E89E83543D0
Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
2026-07-09 01:45:36 -07:00
co-authored by Nucleic
parent a83d635b6b
commit fbba0f5f60
@@ -263,7 +263,7 @@ final class IncrementalTranscriptProjection {
if seenToolItem.insert(c.toolCallID).inserted { creations[r] = .tool }
case .toolResult(let result):
spans[result.toolCallID]?.resultSeen = true
case .toolCallInputDelta, .fileChange, .approvalResolved:
case .toolCallInputDelta, .fileChange, .approvalResolved, .codexUsage:
break // refs (if any) tracked above; creates nothing
case .turnCompleted, .runFinished:
creations[r] = .separator