pub fn agent_mode_of_block(mstore: &Store, block_id: &str) -> StringExpand description
The agentMode of the agent on block_id, for the delivery paths that
know only the block (the SessionStart hook, globalmemory:sections).
"host" when the block or the key is missing — srv’s default for
agentMode everywhere else.