Skip to main content

module

Function module 

Source
pub fn module() -> ModuleDescriptor
Expand description

The module the registry composes: three read-only capabilities over one derivation, each declared once here and projected to the command line, HTTP, MCP and OpenAPI.

use majordomus_cli::capability::builtin::skills;
let m = skills::module();
assert_eq!(m.id.as_str(), "skills");
assert!(m.capabilities.iter().all(|e| e.capability.id.as_str().starts_with("skills.")));