openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 817 B
JavaScript
import { r as getRuntimeConfig } from "./io.runtime-BsUXSsD4.mjs";
import "./io-BYWYXJXl.mjs";
import { r as getGatewayRecoveryRuntime } from "./server-recovery-runtime-context-MFCwGfF6.mjs";
//#region src/agents/main-session-recovery/main-session-recovery-owner-release.ts
/** Schedules exact-row recovery only after the caller releases its lifecycle admission. */
function scheduleMainSessionRecoveryPendingTarget(target) {
if (!target) return;
import("./main-session-restart-recovery-LuGh5TCq.mjs").then(({ scheduleRestartAbortedMainSessionRecoveryAfterOwnerRelease: schedule }) => schedule({
...target,
expectedSessionId: target.sessionId,
getConfig: getRuntimeConfig,
getGatewayRuntime: getGatewayRecoveryRuntime
}), () => {});
}
//#endregion
export { scheduleMainSessionRecoveryPendingTarget as t };