()
| 40 | static REGISTRY: OnceLock<RegistryFile> = OnceLock::new(); |
| 41 | |
| 42 | fn registry() -> &'static RegistryFile { |
| 43 | REGISTRY.get_or_init(|| { |
| 44 | toml::from_str(REGISTRY_TOML).expect("embedded integrations registry.toml must parse") |
| 45 | }) |
| 46 | } |
| 47 | |
| 48 | /// Resolve an adapter name (e.g. `"opencode"`) to its integration package |
| 49 | /// location, if this agent is externally packaged. |