Add autoconfig for yarn client