For weeks, New York leaders have watched President Trump issue executive orders, slash federal funding and direct Elon Musk to shrink the government work force, while trying to determine how it all may affect the state.