const e=Symbol.for(`openclaw.pluginRegistryState`);function t(e){return e?.channels?.length??0}function n(){let n=globalThis[e],r=n?.channel?.registry??null;if(t(r)>0)return r;let i=n?.activeRegistry??null;return t(i)>0?i:r??i}function r(){let t=globalThis[e];return t?.channel?.registry?t.channel.version??0:t?.activeVersion??0}export{r as n,n as t};