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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user