mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-06-03 07:21:54 +00:00
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:
parent
ec4d6f1823
commit
9c77a0c3ce
4 changed files with 11 additions and 11 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue