UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) 2.49 kB
import { _ as resolveRequestClientIp } from "../net-DTe7AQiu.js"; import { s as createAuthRateLimiter } from "../auth-rate-limit-Bwr29t2Y.js"; import { n as normalizePluginHttpPath } from "../http-route-overlap-D5FGt6xV.js"; import { t as rawDataToString } from "../ws-C3qhmaFC.js"; import { a as isRequestBodyLimitError, c as requestBodyErrorToText, n as DEFAULT_WEBHOOK_MAX_BODY_BYTES, s as readRequestBodyWithLimit } from "../http-body-DASeqdKJ.js"; import { t as registerPluginHttpRoute } from "../http-registry-C6KnnU9A.js"; 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-gS2khsvD.js"; import { a as createFixedWindowRateLimiter, i as createBoundedCounter, n as WEBHOOK_ANOMALY_STATUS_CODES, o as createWebhookAnomalyTracker, r as WEBHOOK_RATE_LIMIT_DEFAULTS, t as WEBHOOK_ANOMALY_COUNTER_DEFAULTS } from "../webhook-ingress-Dgd3Jtks.js"; import { n as resolveWebhookPath, t as normalizeWebhookPath } from "../webhook-path-CaYfbDPb.js"; import { a as resolveSingleWebhookTargetAsync, c as resolveWebhookTargets, i as resolveSingleWebhookTarget, l as withResolvedWebhookRequestPipeline, n as registerWebhookTargetWithPluginRoute, o as resolveWebhookTargetWithAuthOrReject, s as resolveWebhookTargetWithAuthOrRejectSync, t as registerWebhookTarget } from "../webhook-targets-Beqkt_FW.js"; 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, createAuthRateLimiter, createBoundedCounter, createFixedWindowRateLimiter, createWebhookAnomalyTracker, createWebhookInFlightLimiter, isJsonContentType, isRequestBodyLimitError, normalizePluginHttpPath, normalizeWebhookPath, rawDataToString, readJsonWebhookBodyOrReject, readRequestBodyWithLimit, readWebhookBodyOrReject, registerPluginHttpRoute, registerWebhookTarget, registerWebhookTargetWithPluginRoute, requestBodyErrorToText, resolveRequestClientIp, resolveSingleWebhookTarget, resolveSingleWebhookTargetAsync, resolveWebhookPath, resolveWebhookTargetWithAuthOrReject, resolveWebhookTargetWithAuthOrRejectSync, resolveWebhookTargets, withResolvedWebhookRequestPipeline };