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