fix(plugins): widen masked secret prompt to plugin setup wizards

Extend PR #31716 to plugin setup paths that were also using bare
getpass.getpass(): hindsight (4 sites), honcho, simplex, line. Same
mechanical swap onto hermes_cli.secret_prompt.masked_secret_prompt.
This commit is contained in:
Teknium 2026-05-24 23:05:41 -07:00
parent ec4d6f1823
commit 9c77a0c3ce
4 changed files with 11 additions and 11 deletions

View file

@ -685,8 +685,8 @@ def interactive_setup() -> None:
suffix = " [keep current]" if existing else ""
try:
if secret:
import getpass
value = getpass.getpass(f"{prompt}{suffix}: ")
from hermes_cli.secret_prompt import masked_secret_prompt
value = masked_secret_prompt(f"{prompt}{suffix}: ")
else:
value = input(f"{prompt}{suffix}: ").strip()
except (EOFError, KeyboardInterrupt):