a way to solve it, which i recently started doing, is ssh-ing into the machine, starting a tmux runnin claude-code with /cc from there.