UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 1.05 kB
import { i as isNativeSessionCatalogOptOutOnly } from "./native-session-catalog-config-CCzXMHUi.mjs"; //#region src/commands/doctor/shared/codex-plugin-activation-warning.ts /** Historical auto-enable writes cannot be distinguished from explicit plugin selection. */ function collectCodexPluginActivationWarnings(e) { const t = e.plugins?.entries?.codex; const n = e.plugins?.allow; if (t?.enabled !== true || Object.keys(t).length !== 2 || !isNativeSessionCatalogOptOutOnly("codex", { config: t.config }) || n && n.length > 0 && !n.includes("codex")) return []; return ["plugins.entries.codex contains only enabled=true and the session catalog privacy opt-out. This may be left over from machine auto-enablement in OpenClaw 2026.9.3/2026.9.4; Doctor cannot determine whether you enabled it intentionally. If you did not enable Codex, set plugins.entries.codex.enabled=false and remove \"codex\" from plugins.allow if present. No automatic repair was applied to this selection."]; } //#endregion export { collectCodexPluginActivationWarnings };