Skip to content

feat(gateway): add hermes gateway list to show all profiles' status (salvage #19129) - #21225

Merged
teknium1 merged 1 commit into
mainfrom
salvage/pr-19129
May 7, 2026
Merged

feat(gateway): add hermes gateway list to show all profiles' status (salvage #19129)#21225
teknium1 merged 1 commit into
mainfrom
salvage/pr-19129

Conversation

@teknium1

@teknium1 teknium1 commented May 7, 2026

Copy link
Copy Markdown
Contributor

Closes #19129 via salvage. Closes #19127. Related: #19113.

Summary

hermes gateway list shows gateway status across all profiles in one view:

Gateways:
  ✓ default (current)        — PID 207910
  ✗ builder                  — not running

Uses existing list_profiles() and find_profile_gateway_processes() — no new deps.

Note: The _print_other_profiles_gateway_status() helper referenced by the original PR is already on main (landed separately); this salvage just adds the new list subcommand on top.

Validation

Live-tested: python -c 'from hermes_cli.gateway import _gateway_list; _gateway_list()' prints gateway table correctly on this box.
scripts/run_tests.sh tests/hermes_cli/ -k gateway → 317 passed (1 flaky failure in test_setup_openclaw_migration unrelated — passes in isolation).

Original author: @cixuuz.

…y status

Add a new `hermes gateway list` subcommand that shows the running
status of gateways across all profiles in a single view:

    Gateways:
      ✓ default (current)        — PID 155469
      ✓ wx1                      — PID 166893
      ✗ dev                      — not running

Also includes `_print_other_profiles_gateway_status()` which appends
an "Other profiles" section to `hermes gateway status` output when
other profile gateways are running.

Both use existing `list_profiles()` and `find_profile_gateway_processes()`
— no new dependencies.

Closes #19127
Related: #19113, #4402, #4587
@teknium1
teknium1 merged commit 3c439ec into main May 7, 2026
10 of 11 checks passed
@teknium1
teknium1 deleted the salvage/pr-19129 branch May 7, 2026 12:35
@github-actions

github-actions Bot commented May 7, 2026

Copy link
Copy Markdown
Contributor

🔎 Lint report: salvage/pr-19129 vs origin/main

ruff

Total: 0 on HEAD, 0 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 0 pre-existing issues carried over.

ty (type checker)

Total: 7498 on HEAD, 7498 on base (➖ 0)

🆕 New issues: none

✅ Fixed issues: none

Unchanged: 3938 pre-existing issues carried over.

Diagnostics are surfaced as warnings — this check never fails the build.

@alt-glitch alt-glitch added type/feature New feature or request P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery labels May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard comp/gateway Gateway runner, session dispatch, delivery P3 Low — cosmetic, nice to have type/feature New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: hermes gateway list — show all profiles and their gateway status

3 participants