UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 860 B
import { t as resolveInstalledPluginIndexStateDatabaseOptions } from "./installed-plugin-index-store-path-jarznWL7.mjs"; import { s as resolveControlPlaneRegistryParams } from "./plugin-registry-snapshot-DKGai6T0.mjs"; import { i as withPluginLifecycleLease } from "./plugin-lifecycle-lease-DBN8cRG-.mjs"; import { n as refreshPersistedInstalledPluginIndex } from "./installed-plugin-index-store-write-DXYeJ12P.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(params.config ? resolveControlPlaneRegistryParams(params) : params)); } //#endregion export { refreshPluginRegistry as t };