/** * Session routing * * Session key helpers, binding rules, and route resolution. */ export { buildSessionKey, parseSessionKey, sanitizeSegment, isValidSegment, isSubagentSessionKey, isCronSessionKey, getSubagentDepth, buildSubagentSessionKey, getParentSessionKey, normalizeSessionKey, buildAgentMainSessionKey, buildAgentPeerSessionKey, defaultMainSessionKey, parseAgentSessionKey, resolveAgentIdFromSessionKey, toAgentStoreSessionKey, assertAgentSessionKey, normalizeAgentId, normalizeMainKey, DEFAULT_AGENT_ID, DEFAULT_MAIN_KEY, type BuildSessionKeyParams, type ParsedSessionKey, } from './session-key.js'; export { normalizeAccountId, normalizeOptionalAccountId, isValidAccountId, sanitizeAccountId, DEFAULT_ACCOUNT_ID, } from './account-id.js'; export { globMatch, matchesBinding, parseBindingRules, parseBindingRule, resolveRoute as resolveBindingRoute, type BindingMatch, type BindingRule, type RouteInput, type RouteResult, } from './bindings.js'; export { applyIdentityLinks, getDefaultAgentId, agentExists, pickFirstExistingAgentId, buildRouteSessionKey, deriveLastRoutePolicy, resolveRoute, resolveRouteFromSessionKey, type IdentityLinks, type SessionConfig, type AgentConfig, type RoutingConfig, type ResolveRouteInput, type ResolveRouteResult, type RouteContext, } from './resolve-route.js';