mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-22 10:25:20 -06:00
aeff737da9
* fix(agents): reject unrepresentable agent ids * refactor(system-agent): split model selection setup * chore: shrink assertion safety baseline * docs: record strict agent id validation proof * style: format strict agent id report * chore: drop stray unrelated report artifact * chore: restore REPORT.md to main state
42 lines
1.3 KiB
TypeScript
42 lines
1.3 KiB
TypeScript
/**
|
|
* Public SDK subpath for session keys, account bindings, and message-channel routing.
|
|
*/
|
|
export {
|
|
buildAgentSessionKey,
|
|
deriveLastRoutePolicy,
|
|
resolveAgentRoute,
|
|
resolveInboundLastRouteSessionKey,
|
|
type ResolvedAgentRoute,
|
|
type RoutePeer,
|
|
type RoutePeerKind,
|
|
} from "../routing/resolve-route.js";
|
|
export {
|
|
buildAgentMainSessionKey,
|
|
DEFAULT_ACCOUNT_ID,
|
|
DEFAULT_MAIN_KEY,
|
|
buildGroupHistoryKey,
|
|
isCronSessionKey,
|
|
isAcpSessionKey,
|
|
isIncognitoSessionKey,
|
|
isSubagentSessionKey,
|
|
normalizeAccountId,
|
|
normalizeAgentId,
|
|
normalizeAgentIdStrict,
|
|
normalizeMainKey,
|
|
normalizeOptionalAccountId,
|
|
parseAgentSessionKey,
|
|
parseThreadSessionSuffix,
|
|
resolveAgentIdFromSessionKey,
|
|
resolveThreadSessionKeys,
|
|
sanitizeAgentId,
|
|
} from "../routing/session-key.js";
|
|
export { resolveAccountEntry } from "../routing/account-lookup.js";
|
|
export { listBoundAccountIds, resolveDefaultAgentBoundAccountId } from "../routing/bindings.js";
|
|
export {
|
|
formatSetExplicitDefaultInstruction,
|
|
formatSetExplicitDefaultToConfiguredInstruction,
|
|
} from "../routing/default-account-warnings.js";
|
|
export { buildOutboundBaseSessionKey } from "../infra/outbound/base-session-key.js";
|
|
export { normalizeOutboundThreadId } from "../infra/outbound/thread-id.js";
|
|
export { normalizeMessageChannel, resolveGatewayMessageChannel } from "../utils/message-channel.js";
|