docs(status): make status first-step

This commit is contained in:
Peter Steinberger
2026-01-11 03:34:28 +01:00
parent cffec07329
commit 494f41d575
4 changed files with 42 additions and 16 deletions

View File

@@ -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 () => {

View File

@@ -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 youre targeting",
);
runtime.log(
" clawdbot daemon status # supervisor state (launchd/systemd/…)",
);
} else {
runtime.log(" clawdbot status --deep # gateway health + provider probes");
}
}