fix(types,cli): resolve host-declared packages through the import condition, and read the cluster registry instead of assuming it - #14042
Merged
import condition, and read the cluster registry instead of assuming it - #14042