Capabilities
Typed capability vocabulary built on the runtime.* effect
algebra. The underlying datatypes (CapabilitySchema,
CapabilityCategory, CapabilitySet) live in
mb.descriptions; this ornament adds three things consumers
actually reach for:
Smart constructors as terse aliases:
capabilities.capability { name; description?; params?; returns?; }capabilities.category { name; description?; capabilities?; }capabilities.set { categories?; custom?; }Built-in categories as typed values addressable as
capabilities.builtins.{lifecycle,crud,streaming}. Each is a fully-typedCapabilityCategory. Consumer extension goes throughH.ornamenton the closed kernel sum, not through string-keyed attrset merge.Schema eliminator
schema : CapabilitySchema → AttrSetproduces a JSON-Schema-shaped attrset suitable for MCP/API tooling.setSchemas : CapabilitySet → AttrSetflattens an entire set, attaching acategorytag to each entry.