UNPKG

openclaw

Version:

Multi-channel AI gateway with extensible messaging integrations

12 lines (11 loc) • 2.49 kB
import { _ as resolveRequestClientIp } from "../net-DQvRbvSK.js"; import { l as createAuthRateLimiter } from "../auth-rate-limit-DCy1FKcB.js"; import { n as normalizePluginHttpPath } from "../http-route-overlap--iFT7z_9.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-Z3mhnRNk.js"; import { t as registerPluginHttpRoute } from "../http-registry-BJkk3P4N.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-Dm3cs_53.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-Btd-EgwJ.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-k9Oe4zzO.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 };