openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
20 lines (19 loc) • 6.19 kB
JavaScript
import { t as resolveConversationLabel } from "../conversation-label-pgUV7Er9.js";
import { a as testing, i as registerSessionBindingAdapter, n as getSessionBindingService, o as unregisterSessionBindingAdapter, r as isSessionBindingError, t as SessionBindingError } from "../session-binding-service-Dz0wDjnb.js";
import { l as resolvePinnedMainDmOwnerFromAllowlist } from "../dm-policy-shared-D6yjVZDE.js";
import { t as resolveThreadBindingLifecycle } from "../thread-binding-lifecycle-DRD2ETVq.js";
import { a as resolveThreadBindingIdleTimeoutMs, c as resolveThreadBindingMaxAgeMsForChannel, d as resolveThreadBindingsEnabled, i as resolveThreadBindingEffectiveExpiresAt, n as formatThreadBindingSpawnDisabledError, o as resolveThreadBindingIdleTimeoutMsForChannel, s as resolveThreadBindingMaxAgeMs, t as formatThreadBindingDisabledError, u as resolveThreadBindingSpawnPolicy } from "../thread-bindings-policy-zb2mAAVM.js";
import { i as resolveThreadBindingThreadName, n as resolveThreadBindingFarewellText, r as resolveThreadBindingIntroText, t as formatThreadBindingDurationLabel } from "../thread-bindings-messages-DAW2rZA4.js";
import { _ as getConversationBindingCapabilities, a as buildPluginBindingUnavailableText, b as touchConversationBindingRecord, c as hasShownPluginBindingFallbackNotice, d as markPluginBindingFallbackNoticeShown, f as parsePluginBindingApprovalCustomId, g as createConversationBindingRecord, h as toPluginConversationBinding, i as buildPluginBindingResolvedText, l as isPluginOwnedBindingMetadata, m as resolvePluginConversationBindingApproval, n as buildPluginBindingDeclinedText, o as detachPluginConversationBinding, p as requestPluginConversationBinding, r as buildPluginBindingErrorText, s as getCurrentPluginConversationBinding, t as buildPluginBindingApprovalCustomId, u as isPluginOwnedSessionBindingRecord, v as listSessionBindingRecords, x as unbindConversationBindingRecord, y as resolveConversationBindingRecord } from "../conversation-binding-CPR7Zjnd.js";
import { a as resolveConfiguredBindingRecordForConversation, i as resolveConfiguredBindingRecordBySessionKey, n as resolveConfiguredBinding, r as resolveConfiguredBindingRecord, t as primeConfiguredBindingRegistry } from "../binding-registry-B8xIHILn.js";
import { n as createStaticReplyToModeResolver, r as createTopLevelChannelReplyToModeResolver, t as createScopedAccountReplyToModeResolver } from "../threading-helpers-CMXJIj4M.js";
import { t as recordInboundSession } from "../session-Dm5l-CcD.js";
import { t as buildPairingReply } from "../pairing-messages-D6wc4kVV.js";
import { a as readChannelAllowFromStore, c as readLegacyChannelAllowFromStoreSync, d as upsertChannelPairingRequest, i as listChannelPairingRequests, l as removeChannelAllowFromStoreEntry, n as approveChannelPairingCode, o as readChannelAllowFromStoreSync, r as clearPairingAllowFromReadCacheForTest, s as readLegacyChannelAllowFromStore, t as addChannelAllowFromStoreEntry, u as resolveChannelAllowFromPath } from "../pairing-store-Bgc-ubwP.js";
import { n as ensureConfiguredBindingTargetSession, r as resetConfiguredBindingTargetInPlace, t as ensureConfiguredBindingTargetReady } from "../binding-targets-BVJTxlyr.js";
import { n as resolveConfiguredBindingRoute, r as resolveRuntimeConversationBindingRoute, t as ensureConfiguredBindingRouteReady } from "../binding-routing-DlasBIGx.js";
import { t as recordInboundSessionMetaSafe } from "../conversation-runtime-DyYrGZ1v.js";
import { t as resolveThreadBindingConversationIdFromBindingId } from "../thread-binding-id-BrCEIIq-.js";
import { t as issuePairingChallenge } from "../pairing-challenge-FjnvYjp8.js";
import { t as resolvePairingIdLabel } from "../pairing-labels-CCGQfyzb.js";
export { SessionBindingError, testing as __testing, testing, addChannelAllowFromStoreEntry, approveChannelPairingCode, buildPairingReply, buildPluginBindingApprovalCustomId, buildPluginBindingDeclinedText, buildPluginBindingErrorText, buildPluginBindingResolvedText, buildPluginBindingUnavailableText, clearPairingAllowFromReadCacheForTest, createConversationBindingRecord, createScopedAccountReplyToModeResolver, createStaticReplyToModeResolver, createTopLevelChannelReplyToModeResolver, detachPluginConversationBinding, ensureConfiguredBindingRouteReady, ensureConfiguredBindingTargetReady, ensureConfiguredBindingTargetSession, formatThreadBindingDisabledError, formatThreadBindingDurationLabel, formatThreadBindingSpawnDisabledError, getConversationBindingCapabilities, getCurrentPluginConversationBinding, getSessionBindingService, hasShownPluginBindingFallbackNotice, isPluginOwnedBindingMetadata, isPluginOwnedSessionBindingRecord, isSessionBindingError, issuePairingChallenge, listChannelPairingRequests, listSessionBindingRecords, markPluginBindingFallbackNoticeShown, parsePluginBindingApprovalCustomId, primeConfiguredBindingRegistry, readChannelAllowFromStore, readChannelAllowFromStoreSync, readLegacyChannelAllowFromStore, readLegacyChannelAllowFromStoreSync, recordInboundSession, recordInboundSessionMetaSafe, registerSessionBindingAdapter, removeChannelAllowFromStoreEntry, requestPluginConversationBinding, resetConfiguredBindingTargetInPlace, resolveChannelAllowFromPath, resolveConfiguredBinding, resolveConfiguredBindingRecord, resolveConfiguredBindingRecordBySessionKey, resolveConfiguredBindingRecordForConversation, resolveConfiguredBindingRoute, resolveConversationBindingRecord, resolveConversationLabel, resolvePairingIdLabel, resolvePinnedMainDmOwnerFromAllowlist, resolvePluginConversationBindingApproval, resolveRuntimeConversationBindingRoute, resolveThreadBindingConversationIdFromBindingId, resolveThreadBindingEffectiveExpiresAt, resolveThreadBindingFarewellText, resolveThreadBindingIdleTimeoutMs, resolveThreadBindingIdleTimeoutMsForChannel, resolveThreadBindingIntroText, resolveThreadBindingLifecycle, resolveThreadBindingMaxAgeMs, resolveThreadBindingMaxAgeMsForChannel, resolveThreadBindingSpawnPolicy, resolveThreadBindingThreadName, resolveThreadBindingsEnabled, toPluginConversationBinding, touchConversationBindingRecord, unbindConversationBindingRecord, unregisterSessionBindingAdapter, upsertChannelPairingRequest };