Claude Code keeps saying my login expired. How do I fix it?
What I'm trying to do
You're in the middle of a coding session with an AI assistant in your terminal, and suddenly every command fails with some version of "not logged in" or "session expired" — even though you were just using it minutes ago and didn't touch your…