small gleam coding and (not yet) persistent agent daemon with a detachable cli

fix(cli): do not auto-switch to login view on auth errors master


+3 -40
2 changed files