Create a registry pre-populated with all built-in agent adapters. Currently includes: - Claude Code (`claude-code`) - Cline (`cline`) - Codex (`codex`) - Copilot (`copilot`) - Cursor (`cursor`) - Devin Desktop (`devin`) - Gemini CLI (`gemini-cli`) - Hermes Agent (`hermes`) - Kiro (`kiro`) - OpenCode (`opencode`) - Pi (`pi`) - Sherpa (`sherpa`)
()
| 287 | /// - Pi (`pi`) |
| 288 | /// - Sherpa (`sherpa`) |
| 289 | pub fn with_defaults() -> Self { |
| 290 | let mut registry = Self::new(); |
| 291 | registry.register(Box::new(claude_code::ClaudeCodeHook::new())); |
| 292 | registry.register(Box::new(cline::ClineHook::new())); |
| 293 | registry.register(Box::new(codex::CodexHook::new())); |
| 294 | registry.register(Box::new(copilot::CopilotHook::new())); |
| 295 | registry.register(Box::new(cursor::CursorHook::new())); |
| 296 | registry.register(Box::new(devin::DevinHook::new())); |
| 297 | registry.register(Box::new(gemini_cli::GeminiCliHook::new())); |
| 298 | registry.register(Box::new(hermes::HermesHook::new())); |
| 299 | registry.register(Box::new(kiro::KiroHook::new())); |
| 300 | registry.register(Box::new(opencode::OpenCodeHook::new())); |
| 301 | registry.register(Box::new(pi::PiHook::new())); |
| 302 | registry.register(Box::new(sherpa::SherpaHook::new())); |
| 303 | registry |
| 304 | } |
| 305 | |
| 306 | /// Register a new agent adapter. |
| 307 | /// |