UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

19 lines (18 loc) • 908 B
import { a as resolveNodeExecEligibility, n as resolveExecConfigState, r as resolveExecDefaults } from "./exec-defaults-BaVI-sJD.mjs"; import { t as resolveSandboxRuntimeStatusLegacy } from "./runtime-status.legacy-CAGy1Wve.mjs"; //#region src/agents/exec-defaults.legacy.ts /** @deprecated Only for synchronous Plugin SDK compatibility; use resolveExecDefaultsAsync. */ function resolveExecDefaultsLegacy(e) { const { agentId: t } = resolveExecConfigState(e); return resolveExecDefaults(e, e.sessionKey ? resolveSandboxRuntimeStatusLegacy({ cfg: e.cfg, sessionKey: e.sessionKey, agentId: t }) : void 0); } /** @deprecated Only for synchronous skill-command discovery compatibility. */ function resolveNodeExecEligibilityLegacy(e) { return resolveNodeExecEligibility(e, resolveExecDefaultsLegacy(e)); } //#endregion export { resolveNodeExecEligibilityLegacy as n, resolveExecDefaultsLegacy as t };