pub(crate) fn agent_deletes_own_sub_block(
mstore: &Store,
ctx: &RpcContext,
block_id: &str,
) -> Result<(), String>Expand description
Whether the connection ctx may delete the block block_id as a sub-block: always, unless it is registered as an agent
and the block is not a sub-block of the pane that agent runs. The pane itself is not a sub-block of anything, so an agent
never deletes its own pane this way.