UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

21 lines (20 loc) • 2.69 kB
import { a as isGatewayTransportError } from "../transport-error-CsYJ5b9e.mjs"; import { o as redactSensitiveUrlLikeString } from "../redact-sensitive-url-C4n2JwGL.mjs"; import { n as callGatewayFromCli, t as addGatewayClientOptions } from "../gateway-rpc-9mVMq9dg.mjs"; import { t as ErrorCodes } from "../gateway-error-details-gTekQWj2.mjs"; import { d as errorShape } from "../error-codes-D0WRV4Bq.mjs"; import { s as isLoopbackHost } from "../net-CpjDDLK3.mjs"; import { l as isGatewayClientRequestError } from "../call-D6fWfxgB.mjs"; import { t as startGatewayClientWhenEventLoopReady } from "../readiness-DrXYSriY.mjs"; import { r as resolveGatewayAuth } from "../auth-resolve-DqE2nzxd.mjs"; import { t as GatewayClient } from "../client-DZgDBpiJ.mjs"; import { l as resolveNodeCommandAllowlist, o as isNodeCommandAllowed } from "../node-command-policy-I3ly1VaT.mjs"; import { n as resolveNodeFromNodeList } from "../node-resolve-BMcLxFpz.mjs"; import { t as createOperatorApprovalsGatewayClient } from "../operator-approvals-client-BCJUzLk2.mjs"; import { t as resolveHostedPluginSurfaceUrl } from "../hosted-plugin-surface-url-BhuQvKu2.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-xdPNxiHJ.mjs"; import { r as parseGatewayPayload, t as respondUnavailableOnNodeInvokeError } from "../nodes.helpers-UXSISi6G.mjs"; import { t as ensureGatewayStartupAuth } from "../startup-auth-BBQ6c55w.mjs"; import { a as createConnectedChannelStatusPatch, i as channelStoppedPatch, n as channelReadyPatch, o as createTransportActivityStatusPatch, t as channelBlockedPatch } from "../channel-status-patches-C0yu8Q19.mjs"; import "../gateway-runtime-hhusjSIO.mjs"; export { DEFAULT_PLUGIN_NODE_CAPABILITY_TTL_MS, ErrorCodes, GatewayClient, PLUGIN_NODE_CAPABILITY_PATH_PREFIX, addGatewayClientOptions, buildPluginNodeCapabilityScopedHostUrl, callGatewayFromCli, channelBlockedPatch, channelReadyPatch, channelStoppedPatch, createConnectedChannelStatusPatch, createOperatorApprovalsGatewayClient, createTransportActivityStatusPatch, ensureGatewayStartupAuth, errorShape, isGatewayClientRequestError, isGatewayTransportError, isLoopbackHost, isNodeCommandAllowed, mintPluginNodeCapabilityToken, normalizePluginNodeCapabilityScopedUrl, redactSensitiveUrlLikeString, resolveGatewayAuth, resolveHostedPluginSurfaceUrl, resolveNodeCommandAllowlist, resolveNodeFromNodeList, respondUnavailableOnNodeInvokeError, parseGatewayPayload as safeParseJson, startGatewayClientWhenEventLoopReady };