import "./session-binding-service-XF56z3mS.js";
import "./pairing-store-CiWAAyO0.js";
import "./thread-bindings-policy-BAlqIsJF.js";
import "./conversation-binding-t2EYLAhZ.js";
import "./binding-registry-CUDV_ezp.js";
import "./session-B4ek1PvA.js";
import "./channel-access-compat-Qy7UdUPP.js";
import "./binding-targets-dECEo7dJ.js";
import "./binding-routing-DwE0d7so.js";
import "./pairing-labels-Bco5N3Lw.js";
//#region src/channels/session-meta.ts
let inboundSessionRuntimePromise = null;
function loadInboundSessionRuntime() {
	inboundSessionRuntimePromise ??= import("./inbound.runtime-BQuLES4R.js");
	return inboundSessionRuntimePromise;
}
async function recordInboundSessionMetaSafe(params) {
	const runtime = await loadInboundSessionRuntime();
	const storePath = runtime.resolveStorePath(params.cfg.session?.store, { agentId: params.agentId });
	try {
		await runtime.recordSessionMetaFromInbound({
			storePath,
			sessionKey: params.sessionKey,
			ctx: params.ctx
		});
	} catch (err) {
		params.onError?.(err);
	}
}
//#endregion
export { recordInboundSessionMetaSafe as t };
