From 480bf916e28cb8ebfb67b0b8a187567870bbfc7c Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Sun, 11 Jan 2026 03:44:22 +0100 Subject: [PATCH] fix(status): simplify footer guidance --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/commands/status.test.ts | 2 +- src/commands/status.ts | 17 ++++++----------- 4 files changed, 13 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d8a7eec7..3feffb058 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,11 @@ - CLI/Status: make the “More” footer shorter and easier to scan (newlines + context-aware suggestions). - Docs/FAQ: make `clawdbot status` the first diagnostic step (and point to `status --all` for pasteable reports). +## 2026.1.11-7 + +### Fixes +- CLI/Status: replace the footer with a 3-line “Next steps” recommendation (share/debug/probe), and gate probes behind gateway reachability. + ## 2026.1.11-5 ### New Features and Changes diff --git a/package.json b/package.json index 48d6439cb..615554bb0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "clawdbot", - "version": "2026.1.11-6", + "version": "2026.1.11-7", "description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent", "type": "module", "main": "dist/index.js", diff --git a/src/commands/status.test.ts b/src/commands/status.test.ts index 3b4b71407..a2b19271b 100644 --- a/src/commands/status.test.ts +++ b/src/commands/status.test.ts @@ -154,7 +154,7 @@ describe("statusCommand", () => { expect(logs.some((l) => l.includes("LaunchAgent"))).toBe(true); expect(logs.some((l) => l.includes("FAQ:"))).toBe(true); expect(logs.some((l) => l.includes("Troubleshooting:"))).toBe(true); - expect(logs.some((l) => l.includes("More:"))).toBe(true); + expect(logs.some((l) => l.includes("Next steps:"))).toBe(true); expect(logs.some((l) => l.includes("clawdbot status --all"))).toBe(true); }); diff --git a/src/commands/status.ts b/src/commands/status.ts index 2a2b605c5..1c37bbe63 100644 --- a/src/commands/status.ts +++ b/src/commands/status.ts @@ -1029,17 +1029,12 @@ export async function statusCommand( runtime.log("FAQ: https://docs.clawd.bot/faq"); runtime.log("Troubleshooting: https://docs.clawd.bot/troubleshooting"); runtime.log(""); - runtime.log("More:"); - runtime.log(" clawdbot status --all # pasteable report (redacts tokens)"); - runtime.log(" clawdbot logs --follow # live logs"); - if (!gatewayReachable) { - runtime.log( - " clawdbot gateway status # check which gateway you’re targeting", - ); - runtime.log( - " clawdbot daemon status # supervisor state (launchd/systemd/…)", - ); + runtime.log("Next steps:"); + runtime.log(" Need to share? clawdbot status --all"); + runtime.log(" Need to debug live? clawdbot logs --follow"); + if (gatewayReachable) { + runtime.log(" Need to test providers? clawdbot status --deep"); } else { - runtime.log(" clawdbot status --deep # gateway health + provider probes"); + runtime.log(" Fix reachability first: clawdbot gateway status"); } }