UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

22 lines (21 loc) • 1.04 kB
import { r as defaultRuntime } from "./runtime-DlO3PTAd.mjs"; import { i as resolveUpdateRehearsalRoot } from "./update-rehearsal-paths-DTVdt0cq.mjs"; //#region src/commands/doctor-lint.ts /** Delegate rehearsal lint before loading the worker's health-check graph. */ async function runDoctorLintCli(runtime, opts) { if (runtime === defaultRuntime && opts.json && resolveUpdateRehearsalRoot(process.env)) { const { hasCliProcessScope } = await import("./runtime-cleanup-scope-D8uIBs7h.mjs"); if (hasCliProcessScope()) { const { runUpdateDoctorLintProcess } = await import("./doctor-lint-process-Cm7NJi8h.mjs"); const { resolveDoctorUpdateBudget } = await import("./doctor-update-budget-DmaOACnb.mjs"); return runUpdateDoctorLintProcess(opts, (await resolveDoctorUpdateBudget({ cfg: {}, env: process.env }))?.disposalDeadlineMs); } } const { runDoctorLintCliInProcess } = await import("./doctor-lint-runner-B0nfn4uG.mjs"); return runDoctorLintCliInProcess(runtime, opts); } //#endregion export { runDoctorLintCli };