async fn dispatch_all( state: &AppState, cmd: Command, ) -> Result<Vec<Event>, String>
Dispatch to the reducer, mirror to SQLite and publish: what agent.open does for a block.
agent.open