Some cats keep their claws retracted the whole time while other cats extend their claws on the push motion and retract them on the pull-back motion.
my cat keeps his claws retracted the entire time so there's no pain involved but still...could you sleep during a kneading and purring session?