Expand description
Compat shim — the Blueprint loader (expand_file_refs /
load_blueprint_from_path / pre_read_default_agent_kind /
LoadError) moved to the sibling mlua-swarm-compile crate’s
linker module so that the CLI (mse bp lint / mse bp build)
and the server register path share one linker binary instead of
two hand-copied bodies. This module re-exports the moved surface
for pre-migration call sites; new code should reach into
mlua_swarm_compile::linker directly (issue 4c4e3eb8 Phase 2).
Enums§
- Load
Error - Everything that can go wrong while loading and
$file/$agent_mdexpanding a Blueprint from disk.
Functions§
- expand_
file_ refs - Backward-compat adapter — resolves refs against a single-tier
cascade (only
base). New callers should useexpand_file_refs_with_configto opt into the full cascade. - load_
blueprint_ from_ path - Load a Blueprint from a file path. Detects JSON vs. YAML by
extension, recursively expands
$filerefs, and parses the result into a typedBlueprint. - pre_
read_ default_ agent_ kind - Pull
default_agent_kindout of the raw BP JSON top level. Falls back to the schema’sDefaultimpl (Operator) if the key is missing or its type does not match. This is the first stage of resolving the default kind used insideexpand_file_refswhen a$agent_mdhas no siblingkindoverride.