pub fn module() -> ModuleDescriptorExpand description
The module the registry composes: six read-only capabilities over one derivation and one that proposes a new intent, each declared once here and projected to the command line, HTTP, MCP and OpenAPI from that declaration.
use majordomus_cli::capability::builtin::intents;
let m = intents::module();
assert_eq!(m.id.as_str(), "intents");
// every capability of this module is declared under its own name
assert!(m
.capabilities
.iter()
.all(|e| e.capability.id.as_str().starts_with("intents.")));