mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-18 08:31:49 -06:00
eb174bcaff
* fix(codex): validate managed app-server candidates * docs(codex): document managed binary preflight * test(codex): review managed preflight execution * docs(codex): document managed app-server check * fix(pr): support macOS system Bash operation locks * fix(codex): scope managed preflight to Codex agents
18 lines
581 B
TypeScript
18 lines
581 B
TypeScript
import path from "node:path";
|
|
import { fileURLToPath } from "node:url";
|
|
import type { HealthCheck } from "openclaw/plugin-sdk/health";
|
|
import {
|
|
CODEX_MANAGED_APP_SERVER_CHECK_ID,
|
|
registerCodexManagedAppServerDoctorChecks as registerChecks,
|
|
} from "./src/doctor.js";
|
|
|
|
const CODEX_PLUGIN_ROOT = path.dirname(fileURLToPath(import.meta.url));
|
|
|
|
export { CODEX_MANAGED_APP_SERVER_CHECK_ID };
|
|
|
|
export function registerCodexManagedAppServerDoctorChecks(host: {
|
|
registerHealthCheck(check: HealthCheck): void;
|
|
}): void {
|
|
registerChecks({ ...host, pluginRoot: CODEX_PLUGIN_ROOT });
|
|
}
|