login: default command is claude auth login

This commit is contained in:
müde 2026-05-15 13:32:51 +02:00
parent e777576528
commit d81a845dbe
6 changed files with 10 additions and 10 deletions

View file

@ -71,7 +71,7 @@ async fn main() -> Result<()> {
// stays bound) but don't drive the turn loop. Poll the
// claude dir periodically so a successful login (whether
// from the dashboard PTY path in step 4 or via
// `root-login` + `claude /login` in the meantime)
// `root-login` + `claude auth login` in the meantime)
// transitions us into the turn loop without a restart.
needs_login_loop(&cli.socket, &claude_dir, login_state, poll_ms).await
}