fix(gateway): expose runtime version in gateway status

Closes #56222
This commit is contained in:
Galin Iliev
2026-05-19 22:09:14 -07:00
committed by GitHub
parent 29f8715f05
commit ddf9fbed34
9 changed files with 159 additions and 4 deletions

View File

@@ -299,6 +299,7 @@ openclaw gateway status --require-rpc
- `gateway status` resolves configured auth SecretRefs for probe auth when possible.
- If a required auth SecretRef is unresolved in this command path, `gateway status --json` reports `rpc.authWarning` when probe connectivity/auth fails; pass `--token`/`--password` explicitly or resolve the secret source first.
- If the probe succeeds, unresolved auth-ref warnings are suppressed to avoid false positives.
- When probing is enabled, JSON output includes `gateway.version` when the running Gateway reports it; `--require-rpc` can fall back to the `status.runtimeVersion` RPC payload if the follow-up handshake probe cannot provide version metadata.
- Use `--require-rpc` in scripts and automation when a listening service is not enough and you need read-scope RPC calls to be healthy too.
- `--deep` adds a best-effort scan for extra launchd/systemd/schtasks installs. When multiple gateway-like services are detected, human output prints cleanup hints and warns that most setups should run one gateway per machine.
- `--deep` also reports a recent Gateway supervisor restart handoff when the service process exited cleanly for an external supervisor restart.