import "./session-binding-service-SbiEZ68t.js";
import "./thread-bindings-policy-nq8lOO4R.js";
import "./conversation-binding-Dc8_3B0g.js";
import "./binding-registry-BHoXnkID.js";
import "./session-DcMFzd1X.js";
import "./pairing-store-DBMfBnJI.js";
import "./channel-access-compat-Ta3iou6u.js";
import "./binding-targets-hO_9E0mC.js";
import "./binding-routing-2pMAgfdi.js";
import "./pairing-labels-BZgQd3cd.js";
//#region src/channels/session-meta.ts
let inboundSessionRuntimePromise = null;
function loadInboundSessionRuntime() {
	inboundSessionRuntimePromise ??= import("./inbound.runtime-DXZOGLjv.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 };
