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

Method supported_hooks

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

Source from the content-addressed store, hash-verified

569 }
570
571 fn supported_hooks(&self) -> Vec<HookType> {
572 vec![
573 HookType::SessionStart,
574 HookType::SessionEnd,
575 HookType::TurnStart,
576 HookType::TurnEnd,
577 HookType::PreToolUse,
578 HookType::PostToolUse,
579 ]
580 }
581
582 fn detect_presence(&self, repo_root: &Path) -> bool {
583 // OpenCode is present if the .opencode directory exists

Callers 1

test_supported_hooksFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_supported_hooksFunction · 0.36