openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 817 B
JavaScript
import { r as getRuntimeConfig } from "./io.runtime-FunTy0y1.mjs";
import "./io-DQAKeHvj.mjs";
import { r as getGatewayRecoveryRuntime } from "./server-recovery-runtime-context-DjDoE_dq.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-B9SP2RIh.mjs").then(({ scheduleRestartAbortedMainSessionRecoveryAfterOwnerRelease: schedule }) => schedule({
...target,
expectedSessionId: target.sessionId,
getConfig: getRuntimeConfig,
getGatewayRuntime: getGatewayRecoveryRuntime
}), () => {});
}
//#endregion
export { scheduleMainSessionRecoveryPendingTarget as t };