UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

1 lines • 2.42 kB
import{n as normalizePluginHttpPath}from"../http-path-CgdSGEPv.mjs";import{r as registerPluginHttpRoute}from"../http-registry-DZEFGoNA.mjs";import{i as isRequestBodyLimitError,o as readRequestBodyWithLimit,s as requestBodyErrorToText,t as DEFAULT_WEBHOOK_MAX_BODY_BYTES}from"../http-body-CsPV_uT5.mjs";import{t as getWebhookLegacyListener}from"../http-legacy-listener-CRLxpD4b.mjs";import{a as WEBHOOK_RATE_LIMIT_DEFAULTS,c as createWebhookAnomalyTracker,i as WEBHOOK_ANOMALY_STATUS_CODES,n as resolveRequestClientIp,o as createBoundedCounter,r as WEBHOOK_ANOMALY_COUNTER_DEFAULTS,s as createFixedWindowRateLimiter,t as createAuthRateLimiter}from"../webhook-ingress-HlX1K-r7.mjs";import{a as createWebhookInFlightLimiter,c as readWebhookBodyOrReject,i as beginWebhookRequestPipelineOrReject,n as WEBHOOK_IN_FLIGHT_DEFAULTS,o as isJsonContentType,r as applyBasicWebhookRequestGuards,s as readJsonWebhookBodyOrReject,t as WEBHOOK_BODY_READ_DEFAULTS}from"../webhook-request-guards-DdSp767W.mjs";import{c as resolveWebhookPath,d as resolveWebhookTargets,f as withResolvedWebhookRequestPipeline,i as registerWebhookTargetWithPluginRoute,l as resolveWebhookTargetWithAuthOrReject,n as normalizeWebhookPath,o as resolveSingleWebhookTarget,r as registerWebhookTarget,s as resolveSingleWebhookTargetAsync,t as canonicalizeWebhookRouteKey,u as resolveWebhookTargetWithAuthOrRejectSync}from"../webhook-targets-BUvrPlb8.mjs";import{n as rawDataToString}from"../ws-CHvNWtUZ.mjs";export{DEFAULT_WEBHOOK_MAX_BODY_BYTES,WEBHOOK_ANOMALY_COUNTER_DEFAULTS,WEBHOOK_ANOMALY_STATUS_CODES,WEBHOOK_BODY_READ_DEFAULTS,WEBHOOK_IN_FLIGHT_DEFAULTS,WEBHOOK_RATE_LIMIT_DEFAULTS,applyBasicWebhookRequestGuards,beginWebhookRequestPipelineOrReject,canonicalizeWebhookRouteKey,createAuthRateLimiter,createBoundedCounter,createFixedWindowRateLimiter,createWebhookAnomalyTracker,createWebhookInFlightLimiter,getWebhookLegacyListener,isJsonContentType,isRequestBodyLimitError,normalizePluginHttpPath,normalizeWebhookPath,rawDataToString,readJsonWebhookBodyOrReject,readRequestBodyWithLimit,readWebhookBodyOrReject,registerPluginHttpRoute,registerWebhookTarget,registerWebhookTargetWithPluginRoute,requestBodyErrorToText,resolveRequestClientIp,resolveSingleWebhookTarget,resolveSingleWebhookTargetAsync,resolveWebhookPath,resolveWebhookTargetWithAuthOrReject,resolveWebhookTargetWithAuthOrRejectSync,resolveWebhookTargets,withResolvedWebhookRequestPipeline};