fix(status): simplify footer guidance

This commit is contained in:
Peter Steinberger
2026-01-11 03:44:22 +01:00
parent 9a4021a277
commit 480bf916e2
4 changed files with 13 additions and 13 deletions

View File

@@ -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

View File

@@ -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",

View File

@@ -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);
});

View File

@@ -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 youre 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");
}
}