UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

18 lines • 1.02 kB
import "./config-contracts-DqOiJKQx.js"; import "./types-D3g9JHH2.js"; import "./fs-safe-BPOkJ4aN.js"; import "./config-CqQp4yQQ.js"; import "./utils-DhaCU8ER.js"; import "./memory-search-CY_juIIF.js"; import "./fs-utils-8PiYFN32.js"; //#region src/infra/agent-run-activity.d.ts /** Observe execution ownership, including queued turns, without reading storage. */ declare function observeAgentRunActivity(agentId: string, listener: (busy: boolean) => void): () => void; //#endregion //#region src/shared/global-singleton.d.ts type GlobalSingletonLifecycle = "close-and-restart" | "close-only" | "plugin-registry" | "shared-state"; type GlobalSingletonReset<T> = (value: T) => void | Promise<void>; /** Resolves a process-local singleton for caches and registries that tolerate helper lookup. */ declare function resolveGlobalSingleton<T>(key: symbol, create: () => T, reset?: GlobalSingletonReset<T>, lifecycle?: GlobalSingletonLifecycle): T; //#endregion export { observeAgentRunActivity as n, resolveGlobalSingleton as t };