The text for Leomund's tiny hut says in part:
Creatures and objects within the dome when you cast this spell can
move through it freely.
but also
The spell ends if you leave its area.
I read that as saying that everyone can exit and enter at will, except the caster, who must remain inside the hut for the entire time. Is that correct?
Best Answer
Yes you are correct
This paragraph solely focuses on what happens when the spell is cast including when it ends. The dome ends after 8 hours or when you leave it.
This paragraph (and the omitted part) references what happens to the things and creatures inside the dome.