Expand description
Compat shim — the agent.md frontmatter loader (parse /
load_file / load_dir / compute_body_hash / LoadError) moved
to the sibling mlua-swarm-compile crate’s agent_md module (issue
4c4e3eb8 Phase 2). New code should reach into
mlua_swarm_compile::agent_md directly; this module re-exports the
same surface so pre-migration call sites keep compiling.
Enums§
- Load
Error - Errors specific to the agent.md loader.
Functions§
- compute_
body_ hash - Compute the content hash of an agent body (its
system_prompt). - load_
dir - Load every
*.mdunderdir. Sorted ascending by file name. - load_
file - Turn a single
agent.mdfile into anAgentDef. - parse
- Turn the text of an agent.md into an
AgentDef.pubso unit tests can reach it.kindmust be provided by the caller — same contract asload_file.