UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

3 lines • 885 B
import"./redact-BT59pdZ_.mjs";import{r as getBoundLegacyPluginSdkResourceHost}from"./legacy-sdk-resource-host-9HMZFK01.mjs";import"./logger-bB_ZfEX5.mjs";import"./subsystem-DLCDFvCH.mjs";import{t as GatewayScheduler}from"./gateway-scheduler-C24cnvAu.mjs";import"./logger-BHIcoxTH.mjs";import{d as startGatewayDiagnosticHeartbeat,f as stopGatewayDiagnosticHeartbeat}from"./diagnostic-B89xdArk.mjs"; //!src/plugin-sdk/logging-core.ts let standaloneDiagnosticScheduler;function startDiagnosticHeartbeat(e,t){const n=getBoundLegacyPluginSdkResourceHost();const r=n?n.scheduler:standaloneDiagnosticScheduler??=new GatewayScheduler;startGatewayDiagnosticHeartbeat(r,e,t)}function stopDiagnosticHeartbeat(){stopGatewayDiagnosticHeartbeat();const e=standaloneDiagnosticScheduler;standaloneDiagnosticScheduler=void 0;e?.stop()}export{stopDiagnosticHeartbeat as n,startDiagnosticHeartbeat as t};