docs(status): make status first-step
This commit is contained in:
@@ -154,6 +154,8 @@ 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("clawdbot status --all"))).toBe(true);
|
||||
});
|
||||
|
||||
it("shows gateway auth when reachable", async () => {
|
||||
|
||||
@@ -1028,7 +1028,18 @@ export async function statusCommand(
|
||||
runtime.log("");
|
||||
runtime.log("FAQ: https://docs.clawd.bot/faq");
|
||||
runtime.log("Troubleshooting: https://docs.clawd.bot/troubleshooting");
|
||||
runtime.log(
|
||||
"More: clawdbot status --all · clawdbot status --deep · clawdbot gateway status · clawdbot providers status --probe · clawdbot daemon status · clawdbot logs --follow",
|
||||
);
|
||||
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/…)",
|
||||
);
|
||||
} else {
|
||||
runtime.log(" clawdbot status --deep # gateway health + provider probes");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user