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).
|
- 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).
|
- 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
|
## 2026.1.11-5
|
||||||
|
|
||||||
### New Features and Changes
|
### New Features and Changes
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "clawdbot",
|
"name": "clawdbot",
|
||||||
"version": "2026.1.11-6",
|
"version": "2026.1.11-7",
|
||||||
"description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
|
"description": "WhatsApp gateway CLI (Baileys web) with Pi RPC agent",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"main": "dist/index.js",
|
"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("LaunchAgent"))).toBe(true);
|
||||||
expect(logs.some((l) => l.includes("FAQ:"))).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("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);
|
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("FAQ: https://docs.clawd.bot/faq");
|
||||||
runtime.log("Troubleshooting: https://docs.clawd.bot/troubleshooting");
|
runtime.log("Troubleshooting: https://docs.clawd.bot/troubleshooting");
|
||||||
runtime.log("");
|
runtime.log("");
|
||||||
runtime.log("More:");
|
runtime.log("Next steps:");
|
||||||
runtime.log(" clawdbot status --all # pasteable report (redacts tokens)");
|
runtime.log(" Need to share? clawdbot status --all");
|
||||||
runtime.log(" clawdbot logs --follow # live logs");
|
runtime.log(" Need to debug live? clawdbot logs --follow");
|
||||||
if (!gatewayReachable) {
|
if (gatewayReachable) {
|
||||||
runtime.log(
|
runtime.log(" Need to test providers? clawdbot status --deep");
|
||||||
" clawdbot gateway status # check which gateway you’re targeting",
|
|
||||||
);
|
|
||||||
runtime.log(
|
|
||||||
" clawdbot daemon status # supervisor state (launchd/systemd/…)",
|
|
||||||
);
|
|
||||||
} else {
|
} 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