mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-14 02:31:24 +00:00
22 lines
510 B
TypeScript
22 lines
510 B
TypeScript
import { type RuntimeEnv } from "../runtime.js";
|
|
import { runStatusJsonCommand } from "./status-json-command.ts";
|
|
import { scanStatusJsonFast } from "./status.scan.fast-json.js";
|
|
|
|
export async function statusJsonCommand(
|
|
opts: {
|
|
deep?: boolean;
|
|
usage?: boolean;
|
|
timeoutMs?: number;
|
|
all?: boolean;
|
|
},
|
|
runtime: RuntimeEnv,
|
|
) {
|
|
await runStatusJsonCommand({
|
|
opts,
|
|
runtime,
|
|
scanStatusJsonFast,
|
|
includeSecurityAudit: opts.all === true,
|
|
suppressHealthErrors: true,
|
|
});
|
|
}
|