Skip to content

feat(agenthook): capture token usage from Cursor and Antigravity hooks - #363

Merged
AnnatarHe merged 4 commits into
mainfrom
feat/agenthook-tokens
Nov 28, 2026
Merged

AnnatarHe merged 4 commits into
mainfrom
feat/agenthook-tokens

fix(agenthook): survive single out-of-order lower model row and omitt…

1944cb6
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 28, 2026 in 0s

88.02% (target 80.00%)

View this Pull Request on Codecov

88.02% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 87.82609% with 28 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
agenthook/antigravity_transcript.go 86.39% 23 Missing ⚠️
agenthook/normalize.go 87.87% 4 Missing ⚠️
agenthook/cursor.go 96.15% 1 Missing ⚠️
Files with missing lines Coverage Δ
agenthook/antigravity.go 100.00% <100.00%> (ø)
agenthook/event.go 100.00% <ø> (ø)
agenthook/cursor.go 96.59% <96.15%> (-0.19%) ⬇️
agenthook/normalize.go 91.05% <87.87%> (-0.50%) ⬇️
agenthook/antigravity_transcript.go 86.39% <86.39%> (ø)

... and 2 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.