UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

21 lines (20 loc) • 1.01 kB
import { s as loadManifestMetadataSnapshot } from "./manifest-contract-eligibility-DoGGge-2.mjs"; import { t as createInstalledPluginIndexScopeLookup } from "./installed-plugin-index-scope-lookup-BDhPSNdH.mjs"; import { n as collectConfiguredRuntimeIds } from "./configured-runtime-plugin-installs-CXhNiewh.mjs"; //#region src/commands/doctor/shared/configured-runtime-plugin-owners.ts /** Resolve runtime selections to their manifest owners before checking plugin installation. */ function collectConfiguredRuntimePluginIds(e, t = {}) { const n = collectConfiguredRuntimeIds(e, t); if (n.length === 0) return []; const r = loadManifestMetadataSnapshot({ config: e, env: t.env }); const i = createInstalledPluginIndexScopeLookup(r.index); const a = /* @__PURE__ */ new Set(); for (const e of n) if (i.hasAgentHarnessOwners([e])) i.addAgentHarnessOwners(a, [e]); else a.add(e); return [...a].toSorted((e, t) => e.localeCompare(t)); } //#endregion export { collectConfiguredRuntimePluginIds as t };