Skip to main content

module

Function module 

Source
pub fn module() -> ModuleDescriptor
Expand description

The module: two read-only capabilities over the typed session domain, declared once and projected to MCP and HTTP from that declaration alone.

use majordomus_cli::capability::builtin::session_domain::module;
assert_eq!(module().id.as_str(), "session_domain");
assert_eq!(module().capabilities.len(), 2);