pub fn module() -> ModuleDescriptorExpand description
The dashboard module: the Dashboard Suite’s pages, each a projection of the
capabilities that hold its facts. The Overview is the first.
use majordomus_cli::capability::builtin::dashboard::module;
let m = module();
assert_eq!(m.id.as_str(), "dashboard");
let tool = m.capabilities[0].capability.exposure.mcp.as_ref().and_then(|m| m.tool.clone());
assert_eq!(tool.as_deref(), Some("majordomus_dashboard_overview"));