pub fn diff_register_agent(
state: &impl McpStateView,
sender: AccountId,
intent: &McpIntent,
timestamp: u64,
) -> Result<StateDiff, String>Expand description
Compute the StateDiff for RegisterAgent. Binds agent_id -> (policy_cell_id, owner_id) in the AgentRegistry.