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

Function resolve

atomic-agent/src/integrations/registry.rs:50–52  ·  view source on GitHub ↗

Resolve an adapter name (e.g. `"opencode"`) to its integration package location, if this agent is externally packaged.

(agent: &str)

Source from the content-addressed store, hash-verified

48/// Resolve an adapter name (e.g. `"opencode"`) to its integration package
49/// location, if this agent is externally packaged.
50pub fn resolve(agent: &str) -> Option<IntegrationSpec> {
51 registry().agents.get(agent).cloned()
52}
53
54/// All adapter names that have an external integration package.
55pub fn agents() -> Vec<String> {

Callers 2

runMethod · 0.85

Calls 2

registryFunction · 0.85
getMethod · 0.65