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

Method with_defaults

atomic-agent/src/hooks/mod.rs:321–339  ·  view source on GitHub ↗

Create a registry pre-populated with all built-in agent adapters. Currently includes: - Antigravity CLI (`agy`) - Claude Code (`claude-code`) - Cline (`cline`) - Codex (`codex`) - Copilot (`copilot`) - Cursor (`cursor`) - Devin Desktop (`devin`) - Gemini CLI (`gemini-cli`) - Grok Build (`grok`) - Hermes Agent (`hermes`) - Kilo Code (`kilo`) - Kiro (`kiro`) - OpenCode (`opencode`) - Pi (`pi`) - Sh

()

Source from the content-addressed store, hash-verified

319 /// - Pi (`pi`)
320 /// - Sherpa (`sherpa`)
321 pub fn with_defaults() -> Self {
322 let mut registry = Self::new();
323 registry.register(Box::new(agy::AgyHook::new()));
324 registry.register(Box::new(claude_code::ClaudeCodeHook::new()));
325 registry.register(Box::new(cline::ClineHook::new()));
326 registry.register(Box::new(codex::CodexHook::new()));
327 registry.register(Box::new(copilot::CopilotHook::new()));
328 registry.register(Box::new(cursor::CursorHook::new()));
329 registry.register(Box::new(devin::DevinHook::new()));
330 registry.register(Box::new(gemini_cli::GeminiCliHook::new()));
331 registry.register(Box::new(grok::GrokHook::new()));
332 registry.register(Box::new(hermes::HermesHook::new()));
333 registry.register(Box::new(kilo::KiloHook::new()));
334 registry.register(Box::new(kiro::KiroHook::new()));
335 registry.register(Box::new(opencode::OpenCodeHook::new()));
336 registry.register(Box::new(pi::PiHook::new()));
337 registry.register(Box::new(sherpa::SherpaHook::new()));
338 registry
339 }
340
341 /// Register a new agent adapter.
342 ///

Callers

nothing calls this directly

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected