pub fn dw_agents_sidecar_bytes(
agents: &BTreeMap<String, Value>,
) -> Result<Option<Vec<u8>>>Expand description
Serialize the agents: map to the dw-agents.json sidecar bytes
(bare { "<agent_id>": <AgentConfig> } JSON). Returns None when the map is
empty so non-agent packs produce byte-identical archives.