Skip to content

feat(cli): install Cursor and Antigravity hooks globally with --global - #367

Merged
AnnatarHe merged 2 commits into
mainfrom
claude/wizardly-cray-vmg7pu
Nov 30, 2026
Merged

AnnatarHe merged 2 commits into
mainfrom
claude/wizardly-cray-vmg7pu

fix(cli): only working global hooks stand in for a project's

cf00d5d
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Nov 30, 2026 in 0s

86.20% (target 80.00%)

View this Pull Request on Codecov

86.20% (target 80.00%)

Details

Codecov Report

❌ Patch coverage is 97.97980% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
commands/doctor_checks.go 96.47% 3 Missing ⚠️
commands/agent_hooks_install.go 97.05% 1 Missing ⚠️
Files with missing lines Coverage Δ
agenthook/event.go 100.00% <ø> (ø)
commands/agy.go 80.00% <100.00%> (ø)
commands/cursor.go 100.00% <100.00%> (ø)
commands/hook_ingest.go 94.28% <100.00%> (+0.30%) ⬆️
commands/init.go 50.00% <100.00%> (+0.79%) ⬆️
daemon/agent_hooks.go 96.48% <ø> (ø)
model/agent_hooks_common.go 90.81% <100.00%> (+1.79%) ⬆️
model/antigravity_hooks.go 95.65% <100.00%> (+1.08%) ⬆️
model/cursor_hooks.go 92.53% <100.00%> (+0.11%) ⬆️
commands/agent_hooks_install.go 92.70% <97.05%> (+3.09%) ⬆️
... and 1 more

... and 1 file with indirect coverage changes

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