UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

14 lines • 939 B
import "./config-contracts--zSNHFlu.js"; import "./types.openclaw-A0y1x1SF.js"; import "./paths-BdAZQ7MR.js"; import "./fs-safe-DlrPy6P_.js"; import "./utils-B6YNl4JK.js"; import "./fs-utils-8PiYFN32.js"; import "./memory-search-CkCGH7NH.js"; /** Observe execution ownership, including queued turns, without reading storage. */ declare function observeAgentRunActivity(agentId: string, listener: (busy: boolean) => void): () => void; type GlobalSingletonLifecycle = "close-and-restart" | "close-only" | "plugin-registry" | "shared-state" | "native-workers"; 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; export { observeAgentRunActivity as n, resolveGlobalSingleton as t };