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

Method supported_hooks

atomic-agent/src/hooks/opencode.rs:603–612  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

601 }
602
603 fn supported_hooks(&self) -> Vec<HookType> {
604 vec![
605 HookType::SessionStart,
606 HookType::SessionEnd,
607 HookType::TurnStart,
608 HookType::TurnEnd,
609 HookType::PreToolUse,
610 HookType::PostToolUse,
611 ]
612 }
613
614 fn detect_presence(&self, repo_root: &Path) -> bool {
615 // OpenCode is present if the repo has a .opencode directory OR if

Callers 1

test_supported_hooksFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_supported_hooksFunction · 0.36