(&self)
| 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 |
no outgoing calls