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

Method supported_hooks

atomic-agent/src/hooks/cline.rs:435–444  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

433 }
434
435 fn supported_hooks(&self) -> Vec<HookType> {
436 vec![
437 HookType::SessionStart,
438 HookType::SessionEnd,
439 HookType::TurnStart,
440 HookType::TurnEnd,
441 HookType::PreToolUse,
442 HookType::PostToolUse,
443 ]
444 }
445
446 fn detect_presence(&self, repo_root: &Path) -> bool {
447 repo_root.join(CLINERULES_DIR).is_dir()

Callers 1

test_supported_hooksFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_supported_hooksFunction · 0.36