generated from ali/HarmonyTemplate
persistPassword writes the DB directly; ConnectionsPage keeps a long-lived in-memory host list, so reconnects used a stale passwordEnc=null copy and prompted again despite 'remember password'. connectHost now re-reads the host profile before building ConnectSpec. Verified E2E: tick remember -> connect -> READY -> close -> reconnect goes straight to READY (no prompt), command execution verified (PW-FREE-OK).