UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

15 lines (14 loc) • 615 B
import { i as asOptionalObjectRecord } from "./record-coerce-CVPuDqcc.mjs"; import "./string-coerce-runtime-BwAZZDf5.mjs"; //#region extensions/memory-core/src/doctor-agent-config.ts /** Blocked include migrations can leave Doctor candidates in the raw roster shape. */ function readDoctorAgentEntries(e) { const t = asOptionalObjectRecord(asOptionalObjectRecord(e)?.agents); const n = Object.prototype.propertyIsEnumerable.call(t ?? {}, "list") && Array.isArray(t?.list) ? t.list : []; return { keyed: asOptionalObjectRecord(t?.entries), listed: n }; } //#endregion export { readDoctorAgentEntries as t };