MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / supported_hooks

Method supported_hooks

atomic-agent/src/hooks/pi.rs:517–526  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

515 }
516
517 fn supported_hooks(&self) -> Vec<HookType> {
518 vec![
519 HookType::SessionStart,
520 HookType::SessionEnd,
521 HookType::TurnStart,
522 HookType::TurnEnd,
523 HookType::PreToolUse,
524 HookType::PostToolUse,
525 ]
526 }
527
528 fn detect_presence(&self, repo_root: &Path) -> bool {
529 // Pi is present if the .pi directory exists

Callers 2

test_supported_hooksFunction · 0.45
test_full_roundtripFunction · 0.45

Calls

no outgoing calls

Tested by 2

test_supported_hooksFunction · 0.36
test_full_roundtripFunction · 0.36