Use @inquirer/prompts for interactive login input

Replaces the hand-rolled readline/raw-mode password prompt with
@inquirer/prompts (input + password). The manual approach broke in
bun-compiled binaries because bun doesn't properly re-open stdin
after closing a readline instance. inquirer handles TTY, raw mode,
and password masking correctly across both node and bun runtimes.
This commit is contained in:
2026-06-10 10:54:17 -07:00
parent 3d6742945b
commit 3d76bd092f
3 changed files with 199 additions and 53 deletions

View File

@@ -38,6 +38,7 @@
"vitest": "2.1.9"
},
"dependencies": {
"@inquirer/prompts": "8.5.2",
"commander": "14.0.3",
"env-paths": "4.0.0",
"exif-reader": "2.0.3",