fix(status): simplify footer guidance
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
});
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user