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

Method supported_hooks

atomic-agent/src/hooks/codex.rs:339–348  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

337 }
338
339 fn supported_hooks(&self) -> Vec<HookType> {
340 vec![
341 HookType::SessionStart,
342 HookType::SessionEnd,
343 HookType::TurnStart,
344 HookType::TurnEnd,
345 HookType::PreToolUse,
346 HookType::PostToolUse,
347 ]
348 }
349
350 fn detect_presence(&self, repo_root: &Path) -> bool {
351 repo_root.join(CODEX_DIR).is_dir()

Callers 1

test_supported_hooksFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_supported_hooksFunction · 0.36