FabricConfig class final

The host's announced identity metadata for the messaging fabric.

Constructors

FabricConfig({List<AgentCapability> capabilities = const [], bool hub = true})
const

Properties

capabilities List<AgentCapability>
Capabilities peers see in agent_directory.
final
hashCode int
The hash code for this object.
no setterinherited
hub bool
Kill switch for the hub-backed fabric layer (issue #304 E6, fabric.hub: false — mirrors images.registry: false): when off, the CLI wires NO hub primary into the messaging fabric even with the hub plugin enabled and DAP_MASTER_SECRET set — the fabric is the bare file layer and agent_directory reproduces the legacy listing byte-for-byte.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
toYaml() String
The fabric: yaml fragment; only emitted when something deviates from the defaults (capabilities exist or the hub layer is off) so default configs stay minimal.

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromYaml(Object? node) FabricConfig
Parses the fabric: section: