pub(crate) fn find_agent_block_by_uid(
mstore: &Store,
agent_uid: &str,
) -> Result<Option<AgentBlock>, String>Expand description
The block of the agent with this UID, in any tab or parked. None when it has none.
Only a block that is in a tab or marked parked counts: an unmarked block in no tab is an
orphan boot drops (persist.rs), which AttachBlock could not attach. An agent should have
one block; agent_blocks_by_uid ranks them when old layouts left several, and this is its first.