diff options
| author | Christophe Besson <cbesson@gmail.com> | 2026-10-05 09:35:44 +0200 |
|---|---|---|
| committer | Christophe Besson <cbesson@gmail.com> | 2026-10-05 09:35:44 +0200 |
| commit | 9c354dcf9aeccbae7b29e312abfd3761a1dcc077 (patch) | |
| tree | 61d175c1b60458e71e791120d7536ad6420b4fcf /packages | |
| parent | 146cee08ec9c4313bec5f69bb7ed7fbf73770aac (diff) | |
| download | meshbay-9c354dcf9aeccbae7b29e312abfd3761a1dcc077.tar.gz | |
fix(node): print "running" once in meshbay-node status
The daemon line repeated the state the daemon reports ("running — running").
The state is now appended only when it says something more than "running",
such as waiting_for_hub. The QUICKSTART example is updated to match.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Diffstat (limited to 'packages')
| -rw-r--r-- | packages/meshbay-node/src/meshbay_node/cli/status.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/meshbay-node/src/meshbay_node/cli/status.py b/packages/meshbay-node/src/meshbay_node/cli/status.py index 162bd46..ebc6c77 100644 --- a/packages/meshbay-node/src/meshbay_node/cli/status.py +++ b/packages/meshbay-node/src/meshbay_node/cli/status.py @@ -34,7 +34,8 @@ def status(args) -> None: live = None if live: - print(f"daemon running — {live.get('status')}") + state = live.get("status") + print("daemon running" + (f" — {state}" if state and state != "running" else "")) print(f"node_id {live.get('endpoint_hint') or '—'}") print(f"groups {live.get('group_count', 0)}" f" files {live.get('total_files', 0)}" |