CLI is running on a remote computer, not localhost. Why not to copy-paste a key after authentication as in Claude Code?