UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 835 B
import { n as resolveInstalledPluginIndexStateDatabaseOptions } from "./installed-plugin-index-store-path-vGDuKHrq.mjs"; import { s as resolveControlPlaneRegistryParams } from "./plugin-registry-snapshot-TGiCkYrI.mjs"; import { i as withPluginLifecycleLease } from "./plugin-lifecycle-lease-DHQMWweY.mjs"; import { n as refreshPersistedInstalledPluginIndex } from "./installed-plugin-index-store-write-DmdXABHD.mjs"; //#region src/plugins/plugin-registry-refresh.ts /** Refreshes the persisted plugin registry for mutation and doctor flows. */ async function refreshPluginRegistry(params) { return await withPluginLifecycleLease(resolveInstalledPluginIndexStateDatabaseOptions(params), async () => refreshPersistedInstalledPluginIndex(resolveControlPlaneRegistryParams(params))); } //#endregion export { refreshPluginRegistry as t };