openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
17 lines (16 loc) • 788 B
JavaScript
import { t as movePathToTrash } from "../../trash-D-UnLJ8d.mjs";
import { n as closeTrackedBrowserTabsForSessions$1 } from "../../session-tab-registry-CaPXI6ju.mjs";
//#region extensions/browser/browser-maintenance.ts
const supportsSessionEntryCurrent = true;
/** Route lifecycle cleanup through the currently running Browser runtime when available. */
async function closeTrackedBrowserTabsForSessions(params) {
return await closeTrackedBrowserTabsForSessions$1({
...params,
getResolvedBrowserConfig: async () => {
const { getBrowserControlState } = await import("../../browser-control-state-Bl8vdCAc.mjs");
return getBrowserControlState()?.resolved ?? null;
}
});
}
//#endregion
export { closeTrackedBrowserTabsForSessions, movePathToTrash, supportsSessionEntryCurrent };