hermes-agent/hermes_cli/subcommands
liuhao1024 831d443b03 fix(gateway): honor --start-now/--start-on-login flags and support non-TTY headless installs
When running `hermes gateway install` on Linux/systemd, the command
unconditionally prompts with two `prompt_yes_no` questions, breaking
headless installs (SSH, CI, provisioning scripts) and ignoring the
existing --start-now / --start-on-login CLI flags that the Windows
branch already respects.

The fix mirrors the Windows path: read CLI flags first, prompt only
when flags are not provided AND stdin is a TTY, and fall back to True
defaults for non-TTY contexts. The argparse help strings are promoted
from SUPPRESS to visible so users can discover the flags.

Fixes #42065
2026-06-28 04:09:54 -07:00
..
__init__.py
_shared.py
acp.py
auth.py
backup.py
claw.py
config.py
cron.py
dashboard.py
debug.py
doctor.py
dump.py
gateway.py fix(gateway): honor --start-now/--start-on-login flags and support non-TTY headless installs 2026-06-28 04:09:54 -07:00
gui.py
hooks.py
import_cmd.py
insights.py
login.py
logout.py
logs.py
mcp.py
memory.py
model.py
pairing.py
plugins.py
postinstall.py
profile.py
prompt_size.py
security.py
setup.py
skills.py
slack.py
status.py
tools.py
uninstall.py
update.py
version.py
webhook.py
whatsapp.py