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

Method with_defaults

atomic-agent/src/hooks/mod.rs:344–362  ·  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

342 /// - Pi (`pi`)
343 /// - Sherpa (`sherpa`)
344 pub fn with_defaults() -> Self {
345 let mut registry = Self::new();
346 registry.register(Box::new(agy::AgyHook::new()));
347 registry.register(Box::new(claude_code::ClaudeCodeHook::new()));
348 registry.register(Box::new(cline::ClineHook::new()));
349 registry.register(Box::new(codex::CodexHook::new()));
350 registry.register(Box::new(copilot::CopilotHook::new()));
351 registry.register(Box::new(cursor::CursorHook::new()));
352 registry.register(Box::new(devin::DevinHook::new()));
353 registry.register(Box::new(gemini_cli::GeminiCliHook::new()));
354 registry.register(Box::new(grok::GrokHook::new()));
355 registry.register(Box::new(hermes::HermesHook::new()));
356 registry.register(Box::new(kilo::KiloHook::new()));
357 registry.register(Box::new(kiro::KiroHook::new()));
358 registry.register(Box::new(opencode::OpenCodeHook::new()));
359 registry.register(Box::new(pi::PiHook::new()));
360 registry.register(Box::new(sherpa::SherpaHook::new()));
361 registry
362 }
363
364 /// Register a new agent adapter.
365 ///

Callers

nothing calls this directly

Calls 1

registerMethod · 0.45

Tested by

no test coverage detected