openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
21 lines (20 loc) • 2.75 kB
JavaScript
import { a as isGatewayTransportError } from "../transport-error-CsYJ5b9e.mjs";
import { o as redactSensitiveUrlLikeString } from "../redact-sensitive-url-BnHakqqk.mjs";
import { n as callGatewayFromCli, t as addGatewayClientOptions } from "../gateway-rpc-0aouJxQt.mjs";
import { t as ErrorCodes } from "../gateway-error-details-DIefe7Zy.mjs";
import { f as errorShape } from "../error-codes-Dh56LniQ.mjs";
import { s as isLoopbackHost } from "../net-C6WEu3pd.mjs";
import { l as isGatewayClientRequestError } from "../call-B7pNY6_o.mjs";
import { t as startGatewayClientWhenEventLoopReady } from "../readiness-kkd804Uc.mjs";
import { r as resolveGatewayAuth } from "../auth-resolve-BmUDP1m_.mjs";
import { t as GatewayClient } from "../client-Bd9s4LXT.mjs";
import { l as resolveNodeCommandAllowlist, o as isNodeCommandAllowed } from "../node-command-policy-DgjgVMrc.mjs";
import { n as resolveNodeFromNodeList } from "../node-resolve-CiEFPm1c.mjs";
import { t as createOperatorApprovalsGatewayClient } from "../operator-approvals-client-4A9BcTCG.mjs";
import { t as resolveHostedPluginSurfaceUrl } from "../hosted-plugin-surface-url-CO6g0fyz.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-BlHl5bub.mjs";
import { r as parseGatewayPayload, t as respondUnavailableOnNodeInvokeError } from "../nodes.helpers-BTGo-Hel.mjs";
import { t as ensureGatewayStartupAuth } from "../startup-auth-DiZkJlt3.mjs";
import { a as createConnectedChannelStatusPatch, i as channelStoppedPatch, n as channelReadyPatch, o as createTransportActivityStatusPatch, t as channelBlockedPatch } from "../channel-status-patches-ub8Zho4j.mjs";
import { t as resolveAdvertisedLanHost } from "../gateway-runtime-CAr3K4tf.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, resolveAdvertisedLanHost, resolveGatewayAuth, resolveHostedPluginSurfaceUrl, resolveNodeCommandAllowlist, resolveNodeFromNodeList, respondUnavailableOnNodeInvokeError, parseGatewayPayload as safeParseJson, startGatewayClientWhenEventLoopReady };