JSON-RPC 2.0 method dispatcher for the A2A 1.0 JSON-RPC binding.
-spec dispatch(gen_server:server_ref(), map(), term(), binary(), map()) -> {ok, map()} | {error, map()}.
-spec method_type(binary()) -> unary | stream | unsupported_push | unsupported | unknown.
-spec rpc_error(term(), term()) -> map().
-spec task_state(map()) -> binary() | undefined.