UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

23 lines (22 loc) • 3.23 kB
import { o as redactSensitiveUrlLikeString } from "../redact-sensitive-url-D-E7DGoc.mjs"; import { s as isLoopbackHost } from "../net-BgRayX-P.mjs"; import { t as ErrorCodes } from "../gateway-error-details-B69XiHdh.mjs"; import { p as errorShape } from "../error-codes-BzF7aRQ0.mjs"; import { r as resolveGatewayAuth } from "../auth-resolve-C6_i-P4T.mjs"; import { c as normalizePluginNodeCapabilityScopedUrl, n as PLUGIN_NODE_CAPABILITY_PATH_PREFIX, r as buildPluginNodeCapabilityScopedHostUrl, s as mintPluginNodeCapabilityToken, t as DEFAULT_PLUGIN_NODE_CAPABILITY_TTL_MS } from "../plugin-node-capability-DIz0zxpb.mjs"; import { n as resolveNodeFromNodeList } from "../node-resolve-CkGq9hyv.mjs"; import { s as isGatewayTransportError } from "../transport-error-BL_kuysc.mjs"; import { t as ensureGatewayStartupAuth } from "../startup-auth-DFTzEVf2.mjs"; import { a as isImplicitLocalGatewayTargetFromCli, n as callGatewayFromCli, t as addGatewayClientOptions } from "../gateway-rpc-CxUN2f1a.mjs"; import { t as GatewayClient } from "../client-cXg8kULv.mjs"; import { t as startGatewayClientWhenEventLoopReady } from "../readiness-tJvtmnC1.mjs"; import { l as isGatewayClientRequestError } from "../call-DVCK1deJ.mjs"; import { t as createOperatorApprovalsGatewayClient } from "../operator-approvals-client-CqzKpK3v.mjs"; import { l as resolveNodeCommandAllowlist, o as isNodeCommandAllowed } from "../node-command-policy-DkH-pkTr.mjs"; import { t as resolveHostedPluginSurfaceUrl } from "../hosted-plugin-surface-url-DzC6brNt.mjs"; import { r as parseGatewayPayload, t as respondUnavailableOnNodeInvokeError } from "../nodes.helpers-CItZ-oW7.mjs"; import { r as runWithLocalStateMutationOwner, t as captureLocalStateMutationGuard } from "../local-state-owner-CnxUSfeW.mjs"; import { a as createConnectedChannelStatusPatch, i as channelStoppedPatch, n as channelReadyPatch, o as createTransportActivityStatusPatch, t as channelBlockedPatch } from "../channel-status-patches-Dd7V0RTf.mjs"; import { n as parseTimeoutMsWithFallback } from "../parse-timeout-qqSdJSy9.mjs"; import { n as preparePersonalGitHubSessionActionV2, t as prepareGitHubPublicationRequesterV2 } from "../gateway-runtime-Du0olVch.mjs"; export { DEFAULT_PLUGIN_NODE_CAPABILITY_TTL_MS, ErrorCodes, GatewayClient, PLUGIN_NODE_CAPABILITY_PATH_PREFIX, addGatewayClientOptions, buildPluginNodeCapabilityScopedHostUrl, callGatewayFromCli, captureLocalStateMutationGuard, channelBlockedPatch, channelReadyPatch, channelStoppedPatch, createConnectedChannelStatusPatch, createOperatorApprovalsGatewayClient, createTransportActivityStatusPatch, ensureGatewayStartupAuth, errorShape, isGatewayClientRequestError, isGatewayTransportError, isImplicitLocalGatewayTargetFromCli, isLoopbackHost, isNodeCommandAllowed, mintPluginNodeCapabilityToken, normalizePluginNodeCapabilityScopedUrl, parseTimeoutMsWithFallback, prepareGitHubPublicationRequesterV2, preparePersonalGitHubSessionActionV2, redactSensitiveUrlLikeString, resolveGatewayAuth, resolveHostedPluginSurfaceUrl, resolveNodeCommandAllowlist, resolveNodeFromNodeList, respondUnavailableOnNodeInvokeError, runWithLocalStateMutationOwner, parseGatewayPayload as safeParseJson, startGatewayClientWhenEventLoopReady };