refactor(client) add CloudFunc