Skip to content

feat(aicode): add Cursor and Antigravity usage backfill and daemon sync - #364

Merged
AnnatarHe merged 5 commits into
mainfrom
feat/cursor-agy-usage
Nov 28, 2026
Merged

AnnatarHe merged 5 commits into
mainfrom
feat/cursor-agy-usage

fix(daemon): drain pending sessions after client exit and merge unkey…

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

85.94% (target 80.00%)

View this Pull Request on Codecov

85.94% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 68.60987% with 490 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
model/aicode_backfill_antigravity.go 76.85% 134 Missing ⚠️
model/aicode_backfill_cursor.go 69.02% 117 Missing and 1 partial ⚠️
daemon/cursor_usage_sync.go 66.82% 69 Missing ⚠️
daemon/cursor_ratelimit.go 40.00% 54 Missing ⚠️
model/cursor_auth.go 66.43% 48 Missing ⚠️
daemon/antigravity_usage_sync.go 65.30% 34 Missing ⚠️
model/config.go 11.11% 16 Missing ⚠️
model/types.go 0.00% 8 Missing ⚠️
model/config_log.go 20.00% 4 Missing ⚠️
daemon/usage_sync.go 70.00% 3 Missing ⚠️
... and 1 more
Files with missing lines Coverage Δ
commands/agy.go 80.00% <ø> (ø)
commands/cursor.go 100.00% <ø> (ø)
model/aicode_backfill_common.go 92.61% <ø> (ø)
commands/aicode_backfill.go 92.11% <90.47%> (+1.04%) ⬆️
daemon/usage_sync.go 86.20% <70.00%> (-8.53%) ⬇️
model/config_log.go 73.33% <20.00%> (-4.85%) ⬇️
model/types.go 20.00% <0.00%> (-80.00%) ⬇️
model/config.go 88.04% <11.11%> (-8.35%) ⬇️
daemon/antigravity_usage_sync.go 65.30% <65.30%> (ø)
model/cursor_auth.go 66.43% <66.43%> (ø)
... and 4 more

... and 3 files with indirect coverage changes

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