refactor(feishu): split monitor state seam

This commit is contained in:
Vincent Koc
2026-04-03 21:41:38 +09:00
parent 2a54a7f7cd
commit 2fff6be4c3
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
export type { RuntimeEnv } from "openclaw/plugin-sdk/runtime";
export {
createFixedWindowRateLimiter,
createWebhookAnomalyTracker,
WEBHOOK_ANOMALY_COUNTER_DEFAULTS,
WEBHOOK_RATE_LIMIT_DEFAULTS,
} from "openclaw/plugin-sdk/webhook-ingress";

View File

@@ -6,7 +6,7 @@ import {
type RuntimeEnv,
WEBHOOK_ANOMALY_COUNTER_DEFAULTS as WEBHOOK_ANOMALY_COUNTER_DEFAULTS_FROM_SDK,
WEBHOOK_RATE_LIMIT_DEFAULTS as WEBHOOK_RATE_LIMIT_DEFAULTS_FROM_SDK,
} from "../runtime-api.js";
} from "./monitor-state-runtime-api.js";
export const wsClients = new Map<string, Lark.WSClient>();
export const httpServers = new Map<string, http.Server>();