Files
openclaw/extensions/codex/api.ts
T
Jason (Json) eb174bcaff fix(codex): candidate checks reject a mismatched app-server (#124137)
* 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
2026-08-16 09:27:12 -06:00

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 });
}