(&self)
| 515 | } |
| 516 | |
| 517 | fn supported_hooks(&self) -> Vec<HookType> { |
| 518 | vec![ |
| 519 | HookType::SessionStart, |
| 520 | HookType::SessionEnd, |
| 521 | HookType::TurnStart, |
| 522 | HookType::TurnEnd, |
| 523 | HookType::PreToolUse, |
| 524 | HookType::PostToolUse, |
| 525 | ] |
| 526 | } |
| 527 | |
| 528 | fn detect_presence(&self, repo_root: &Path) -> bool { |
| 529 | // Pi is present if the .pi directory exists |
no outgoing calls