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

Method supported_hooks

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

Source from the content-addressed store, hash-verified

596 }
597
598 fn supported_hooks(&self) -> Vec<HookType> {
599 vec![
600 HookType::SessionStart,
601 HookType::SessionEnd,
602 HookType::TurnStart,
603 HookType::TurnEnd,
604 HookType::PreToolUse,
605 HookType::PostToolUse,
606 ]
607 }
608
609 fn detect_presence(&self, repo_root: &Path) -> bool {
610 // 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